Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spark-distcp sourcefile destfile fails #15

Open
gquintana opened this issue Feb 4, 2022 · 0 comments
Open

spark-distcp sourcefile destfile fails #15

gquintana opened this issue Feb 4, 2022 · 0 comments

Comments

@gquintana
Copy link
Contributor

gquintana commented Feb 4, 2022

When source and destination are files not directories, Spark DistCP fails:

2022-02-04 15:58:43,344 [main] INFO  org.apache.spark.scheduler.DAGScheduler - Job 1 finished: isEmpty at FileListUtils.scala:256, took 0.040579 s
Exception in thread "main" java.lang.RuntimeException: Collisions found where multiple source files lead to the same destination location; check executor logs for specific collision detail.
        at com.coxautodata.utils.FileListUtils$.handleSourceCollisions(FileListUtils.scala:258)
        at com.coxautodata.utils.FileListUtils$.getSourceFiles(FileListUtils.scala:212)
        at com.coxautodata.SparkDistCP$.run(SparkDistCP.scala:98)
        at com.coxautodata.SparkDistCP$.main(SparkDistCP.scala:52)
        at com.coxautodata.SparkDistCP.main(SparkDistCP.scala)

It fails in v0.2.5, it used to work in 0.2.2

I don't have any logs starting with The following files will collide on destination file before

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant