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 "Lohit Vijayarenu (JIRA)" <ji...@apache.org> on 2008/09/04 20:53:44 UTC

[jira] Updated: (HADOOP-4069) TestKosmosFileSystem can fail when run through ant test on systems shared by users

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

Lohit Vijayarenu updated HADOOP-4069:
-------------------------------------

    Attachment: HADOOP-4069.patch

Like other test cases, it would be good to create baseDir derived from test.build.data. Attached is simple fix to the test case. I no longer see /tmp/test after running this test.

> TestKosmosFileSystem can fail when run through ant test on systems shared by users
> ----------------------------------------------------------------------------------
>
>                 Key: HADOOP-4069
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4069
>             Project: Hadoop Core
>          Issue Type: Test
>          Components: fs
>            Reporter: Hemanth Yamijala
>            Priority: Minor
>         Attachments: HADOOP-4069.patch
>
>
> TestKosmosFileSystem has some test cases that try to verify paths under /tmp/test/. If a user is running ant test on a system that is shared, this could result in test failures if these paths are created by another user who has used the system. The test cases can be modified to either use one of the standard data directories set up for tests by Hadoop, or they can atleast append the user name when referring to these directories, like /tmp/test-<username>/. 

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