Details
Description
It does not seem necessary in the doFetchFile method to first download the file into a local directory then move it (it may cause a copy instead of a rename).
tempFile (where the file is downloaded) should be created in the same directory than targetFile, so that the move from tempFile to targetFile is always atomic
Attachments
Issue Links
- is related to
-
SPARK-3967 Spark applications fail in yarn-cluster mode when the directories configured in yarn.nodemanager.local-dirs are located on different disks/partitions
- Resolved
- links to