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

Tony Stevenson updated SPARK-1798:
----------------------------------
    Assignee: Sean Owen  (was: Sean Owen)

> Tests should clean up temp files
> --------------------------------
>
>                 Key: SPARK-1798
>                 URL: https://issues.apache.org/jira/browse/SPARK-1798
>             Project: Spark
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 0.9.1
>            Reporter: Sean Owen
>            Assignee: Sean Owen
>            Priority: Minor
>             Fix For: 1.0.0
>
>
> Three issues related to temp files that tests generate -- these should be 
> touched up for hygiene but are not urgent.
> Modules have a log4j.properties which directs the unit-test.log output file 
> to a directory like [module]/target/unit-test.log. But this ends up creating 
> [module]/[module]/target/unit-test.log instead of former.
> The work/ directory is not deleted by "mvn clean", in the parent and in 
> modules. Neither is the checkpoint/ directory created under the various 
> external modules.
> Many tests create a temp directory, which is not usually deleted. This can be 
> largely resolved by calling deleteOnExit() at creation and trying to call 
> Utils.deleteRecursively consistently to clean up, sometimes in an "@After" 
> method.
> (If anyone seconds the motion, I can create a more significant change that 
> introduces a new test trait along the lines of LocalSparkContext, which 
> provides management of temp directories for subclasses to take advantage of.)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to