[ 
https://issues.apache.org/jira/browse/SPARK-1511?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ye Xianjin closed SPARK-1511.
-----------------------------

       Resolution: Fixed
    Fix Version/s: 1.0.0

> Update TestUtils.createCompiledClass() API to work with creating class file 
> on different filesystem
> ---------------------------------------------------------------------------------------------------
>
>                 Key: SPARK-1511
>                 URL: https://issues.apache.org/jira/browse/SPARK-1511
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 0.8.1, 0.9.0, 1.0.0
>         Environment: Mac OS X, two disks. 
>            Reporter: Ye Xianjin
>            Priority: Minor
>              Labels: starter
>             Fix For: 1.0.0
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to