spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ye Xianjin (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SPARK-1511) Update TestUtils.createCompiledClass() API to work with creating class file on different filesystem
Date Wed, 16 Apr 2014 13:52:14 GMT

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

Ye Xianjin updated SPARK-1511:
------------------------------

    Affects Version/s: 0.8.1
                       0.9.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
>   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)

Mime
View raw message