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 "Hemanth Yamijala (JIRA)" <ji...@apache.org> on 2008/09/04 18:23:44 UTC

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

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


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.


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

Posted by "Lohit Vijayarenu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-4069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Status: Patch Available  (was: Open)

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


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

Posted by "Owen O'Malley (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-4069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Owen O'Malley updated HADOOP-4069:
----------------------------------

       Resolution: Fixed
    Fix Version/s: 0.19.0
         Assignee: Lohit Vijayarenu
     Hadoop Flags: [Reviewed]
           Status: Resolved  (was: Patch Available)

I just committed this. Thanks, Lohit!

> 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
>            Assignee: Lohit Vijayarenu
>            Priority: Minor
>             Fix For: 0.19.0
>
>         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.


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

Posted by "Lohit Vijayarenu (JIRA)" <ji...@apache.org>.
     [ 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.


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

Posted by "Owen O'Malley (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-4069?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12628489#action_12628489 ] 

Owen O'Malley commented on HADOOP-4069:
---------------------------------------

+1 for keeping all of the temporary files under test.build.data.

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


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

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-4069?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12628869#action_12628869 ] 

Hudson commented on HADOOP-4069:
--------------------------------

Integrated in Hadoop-trunk #595 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/595/])

> 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
>            Assignee: Lohit Vijayarenu
>            Priority: Minor
>             Fix For: 0.19.0
>
>         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.