hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Cutting (JIRA)" <j...@apache.org>
Subject [jira] Updated: (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.
Date Fri, 09 Feb 2007 21:44:06 GMT

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

Doug Cutting updated HADOOP-761:
--------------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

I just committed this.  Thanks, Nigel!

> 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
>    Affects Versions: 0.11.0
>            Reporter: Sanjay Dahiya
>         Assigned To: Nigel Daley
>            Priority: Minor
>             Fix For: 0.12.0
>
>         Attachments: HADOOP-761.patch
>
>
> 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.


Mime
View raw message