You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Nigel Daley (JIRA)" <ji...@apache.org> on 2007/02/09 02:20:05 UTC

[jira] Commented: (HADOOP-761) Unit tests should cleanup created files in /tmp. It causes tests to fail if more than one users run tests on same machine.

    [ https://issues.apache.org/jira/browse/HADOOP-761?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12471549 ] 

Nigel Daley commented on HADOOP-761:
------------------------------------

Streaming tests and libhdfs tests also use /tmp.

> Unit tests should cleanup created files in /tmp. It causes tests to fail if more than one users run tests on same machine.
> --------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-761
>                 URL: https://issues.apache.org/jira/browse/HADOOP-761
>             Project: Hadoop
>          Issue Type: Bug
>          Components: test
>            Reporter: Sanjay Dahiya
>         Assigned To: Nigel Daley
>            Priority: Minor
>
> TestMiniMRLocalFS  test cases creates /tmp/wc/input/, which is not cleaned up, any other user running test on same machine simultaneously or later will see test failures. 
> It should either use a temp directory in the build/test or use java's File.createTempFile method for temporary data and then clean it up. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.