apache/spark — pull request #2855 by preaudc (2014-10-20 10:14:30+00:00)
Title: [SPARK-3967] Ensure that files are fetched atomically

tempFile is created in the same directory than targetFile, so that the
move from tempFile to targetFile is always atomic