hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lohit Vijayarenu (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-4069) TestKosmosFileSystem can fail when run through ant test on systems shared by users
Date Thu, 04 Sep 2008 18:53:44 GMT

     [ 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.


Mime
View raw message