Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
0.8.1, 0.9.0, 1.0.0
-
Mac OS X, two disks.
Description
The createCompliedClass method uses java File.renameTo method to rename source file to destination file, which will fail if source and destination files are on different disks (or partitions).
see http://apache-spark-developers-list.1001551.n3.nabble.com/Tests-failed-after-assembling-the-latest-code-from-github-td6315.html for more details.
Use com.google.common.io.Files.move instead of renameTo will solve this issue.