You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Ravi Prakash (Created) (JIRA)" <ji...@apache.org> on 2012/03/01 21:41:59 UTC

[jira] [Created] (HADOOP-8129) ViewFileSystemTestSetup setupForViewFileSystem is erring when the user's home directory is somewhere other than /home (eg. /User) etc.

ViewFileSystemTestSetup setupForViewFileSystem is erring when the user's home directory is somewhere other than /home (eg. /User) etc.
--------------------------------------------------------------------------------------------------------------------------------------

                 Key: HADOOP-8129
                 URL: https://issues.apache.org/jira/browse/HADOOP-8129
             Project: Hadoop Common
          Issue Type: Bug
          Components: fs, test
    Affects Versions: 0.23.0
            Reporter: Ravi Prakash
            Assignee: Ravi Prakash


All TestFSMainOperationsLocalFileSystem tests (99 in all) fail saying:
{noformat}
java.io.FileNotFoundException: /home
	at org.apache.hadoop.fs.viewfs.InodeTree.resolve(InodeTree.java:403)
	at org.apache.hadoop.fs.viewfs.ViewFileSystem.mkdirs(ViewFileSystem.java:373)
	at org.apache.hadoop.fs.FileSystem.mkdirs(FileSystem.java:1684)
	at org.apache.hadoop.fs.FSMainOperationsBaseTest.setUp(FSMainOperationsBaseTest.java:90)
	at org.apache.hadoop.fs.viewfs.TestFSMainOperationsLocalFileSystem.setUp(TestFSMainOperationsLocalFileSystem.java:42)
{noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HADOOP-8129) ViewFileSystemTestSetup setupForViewFileSystem is erring when the user's home directory is somewhere other than /home (eg. /User) etc.

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

Ahmed Radwan commented on HADOOP-8129:
--------------------------------------

Yes, I brought back some of the changes that HADOOP-8036 deleted. Basically to be able to run the tests outside the home directory, we need to add back the link to the test root directory and not just the home directory. So HADOOP-8036 needed to add an additional link and not to replace the one I brought back.

Regarding Daryn's comment on  HADOOP-8110, this is part of the logic in the test that should fail and the test is confirming that it'll fail.
                
> ViewFileSystemTestSetup setupForViewFileSystem is erring when the user's home directory is somewhere other than /home (eg. /User) etc.
> --------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-8129
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8129
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs, test
>    Affects Versions: 0.23.0
>            Reporter: Ravi Prakash
>            Assignee: Ahmed Radwan
>              Labels: test
>         Attachments: HADOOP-8129.patch, HADOOP-8129.patch
>
>
> All TestFSMainOperationsLocalFileSystem tests (99 in all) fail saying:
> {noformat}
> java.io.FileNotFoundException: /home
> 	at org.apache.hadoop.fs.viewfs.InodeTree.resolve(InodeTree.java:403)
> 	at org.apache.hadoop.fs.viewfs.ViewFileSystem.mkdirs(ViewFileSystem.java:373)
> 	at org.apache.hadoop.fs.FileSystem.mkdirs(FileSystem.java:1684)
> 	at org.apache.hadoop.fs.FSMainOperationsBaseTest.setUp(FSMainOperationsBaseTest.java:90)
> 	at org.apache.hadoop.fs.viewfs.TestFSMainOperationsLocalFileSystem.setUp(TestFSMainOperationsLocalFileSystem.java:42)
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HADOOP-8129) ViewFileSystemTestSetup setupForViewFileSystem is erring when the user's home directory is somewhere other than /home (eg. /User) etc.

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

Ahmed Radwan updated HADOOP-8129:
---------------------------------

    Attachment: HADOOP-8129.patch

The issue can be reproduced by trying to run TestFSMainOperationsLocalFileSystem or TestViewFSTrash from any location not under the system home directory. 

Here is a patch. I have confirmed that both tests successfully run from locations outside or under the system home directory.
                
> ViewFileSystemTestSetup setupForViewFileSystem is erring when the user's home directory is somewhere other than /home (eg. /User) etc.
> --------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-8129
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8129
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs, test
>    Affects Versions: 0.23.0
>            Reporter: Ravi Prakash
>              Labels: test
>         Attachments: HADOOP-8129.patch, HADOOP-8129.patch
>
>
> All TestFSMainOperationsLocalFileSystem tests (99 in all) fail saying:
> {noformat}
> java.io.FileNotFoundException: /home
> 	at org.apache.hadoop.fs.viewfs.InodeTree.resolve(InodeTree.java:403)
> 	at org.apache.hadoop.fs.viewfs.ViewFileSystem.mkdirs(ViewFileSystem.java:373)
> 	at org.apache.hadoop.fs.FileSystem.mkdirs(FileSystem.java:1684)
> 	at org.apache.hadoop.fs.FSMainOperationsBaseTest.setUp(FSMainOperationsBaseTest.java:90)
> 	at org.apache.hadoop.fs.viewfs.TestFSMainOperationsLocalFileSystem.setUp(TestFSMainOperationsLocalFileSystem.java:42)
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HADOOP-8129) ViewFileSystemTestSetup setupForViewFileSystem is erring when the user's home directory is somewhere other than /home (eg. /User) etc.

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

Hudson commented on HADOOP-8129:
--------------------------------

Integrated in Hadoop-Common-trunk-Commit #2389 (See [https://builds.apache.org/job/Hadoop-Common-trunk-Commit/2389/])
    HADOOP-8129. ViewFileSystemTestSetup setupForViewFileSystem is erring (Ahmed Radwan and Ravi Prakash via bobby) (Revision 1354093)

     Result = SUCCESS
bobby : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1354093
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/viewfs/ViewFileSystemTestSetup.java

                
> ViewFileSystemTestSetup setupForViewFileSystem is erring when the user's home directory is somewhere other than /home (eg. /User) etc.
> --------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-8129
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8129
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs, test
>    Affects Versions: 0.23.0
>            Reporter: Ravi Prakash
>            Assignee: Ahmed Radwan
>              Labels: test
>             Fix For: 0.23.3, 2.0.1-alpha, 3.0.0
>
>         Attachments: HADOOP-8129.patch, HADOOP-8129.patch
>
>
> All TestFSMainOperationsLocalFileSystem tests (99 in all) fail saying:
> {noformat}
> java.io.FileNotFoundException: /home
> 	at org.apache.hadoop.fs.viewfs.InodeTree.resolve(InodeTree.java:403)
> 	at org.apache.hadoop.fs.viewfs.ViewFileSystem.mkdirs(ViewFileSystem.java:373)
> 	at org.apache.hadoop.fs.FileSystem.mkdirs(FileSystem.java:1684)
> 	at org.apache.hadoop.fs.FSMainOperationsBaseTest.setUp(FSMainOperationsBaseTest.java:90)
> 	at org.apache.hadoop.fs.viewfs.TestFSMainOperationsLocalFileSystem.setUp(TestFSMainOperationsLocalFileSystem.java:42)
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HADOOP-8129) ViewFileSystemTestSetup setupForViewFileSystem is erring when the user's home directory is somewhere other than /home (eg. /User) etc.

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

Hudson commented on HADOOP-8129:
--------------------------------

Integrated in Hadoop-Mapreduce-trunk #1122 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1122/])
    HADOOP-8129. ViewFileSystemTestSetup setupForViewFileSystem is erring (Ahmed Radwan and Ravi Prakash via bobby) (Revision 1354093)

     Result = FAILURE
bobby : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1354093
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/viewfs/ViewFileSystemTestSetup.java

                
> ViewFileSystemTestSetup setupForViewFileSystem is erring when the user's home directory is somewhere other than /home (eg. /User) etc.
> --------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-8129
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8129
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs, test
>    Affects Versions: 0.23.0
>            Reporter: Ravi Prakash
>            Assignee: Ahmed Radwan
>              Labels: test
>             Fix For: 0.23.3, 2.0.1-alpha, 3.0.0
>
>         Attachments: HADOOP-8129.patch, HADOOP-8129.patch
>
>
> All TestFSMainOperationsLocalFileSystem tests (99 in all) fail saying:
> {noformat}
> java.io.FileNotFoundException: /home
> 	at org.apache.hadoop.fs.viewfs.InodeTree.resolve(InodeTree.java:403)
> 	at org.apache.hadoop.fs.viewfs.ViewFileSystem.mkdirs(ViewFileSystem.java:373)
> 	at org.apache.hadoop.fs.FileSystem.mkdirs(FileSystem.java:1684)
> 	at org.apache.hadoop.fs.FSMainOperationsBaseTest.setUp(FSMainOperationsBaseTest.java:90)
> 	at org.apache.hadoop.fs.viewfs.TestFSMainOperationsLocalFileSystem.setUp(TestFSMainOperationsLocalFileSystem.java:42)
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HADOOP-8129) ViewFileSystemTestSetup setupForViewFileSystem is erring when the user's home directory is somewhere other than /home (eg. /User) etc.

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

Tom White commented on HADOOP-8129:
-----------------------------------

It looks like this patch is basically reverting some of the changes HADOOP-8036 made, e.g. to [ViewFileSystemTestSetup|http://svn.apache.org/viewvc/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/viewfs/ViewFileSystemTestSetup.java?p2=%2Fhadoop%2Fcommon%2Ftrunk%2Fhadoop-common-project%2Fhadoop-common%2Fsrc%2Ftest%2Fjava%2Forg%2Fapache%2Fhadoop%2Ffs%2Fviewfs%2FViewFileSystemTestSetup.java&p1=%2Fhadoop%2Fcommon%2Ftrunk%2Fhadoop-common-project%2Fhadoop-common%2Fsrc%2Ftest%2Fjava%2Forg%2Fapache%2Fhadoop%2Ffs%2Fviewfs%2FViewFileSystemTestSetup.java&r1=1245751&r2=1245750&view=diff&pathrev=1245751]. Is that right? Perhaps Colin and Eli could comment.

Also, see HADOOP-8110, particularly Daryn's comment about how TestViewFsTrash tries to delete the user's home directory. It would be good if this patch fixed that too.


                
> ViewFileSystemTestSetup setupForViewFileSystem is erring when the user's home directory is somewhere other than /home (eg. /User) etc.
> --------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-8129
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8129
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs, test
>    Affects Versions: 0.23.0
>            Reporter: Ravi Prakash
>            Assignee: Ahmed Radwan
>              Labels: test
>         Attachments: HADOOP-8129.patch, HADOOP-8129.patch
>
>
> All TestFSMainOperationsLocalFileSystem tests (99 in all) fail saying:
> {noformat}
> java.io.FileNotFoundException: /home
> 	at org.apache.hadoop.fs.viewfs.InodeTree.resolve(InodeTree.java:403)
> 	at org.apache.hadoop.fs.viewfs.ViewFileSystem.mkdirs(ViewFileSystem.java:373)
> 	at org.apache.hadoop.fs.FileSystem.mkdirs(FileSystem.java:1684)
> 	at org.apache.hadoop.fs.FSMainOperationsBaseTest.setUp(FSMainOperationsBaseTest.java:90)
> 	at org.apache.hadoop.fs.viewfs.TestFSMainOperationsLocalFileSystem.setUp(TestFSMainOperationsLocalFileSystem.java:42)
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HADOOP-8129) ViewFileSystemTestSetup setupForViewFileSystem is erring when the user's home directory is somewhere other than /home (eg. /User) etc.

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

Hudson commented on HADOOP-8129:
--------------------------------

Integrated in Hadoop-Hdfs-trunk #1089 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/1089/])
    HADOOP-8129. ViewFileSystemTestSetup setupForViewFileSystem is erring (Ahmed Radwan and Ravi Prakash via bobby) (Revision 1354093)

     Result = FAILURE
bobby : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1354093
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/viewfs/ViewFileSystemTestSetup.java

                
> ViewFileSystemTestSetup setupForViewFileSystem is erring when the user's home directory is somewhere other than /home (eg. /User) etc.
> --------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-8129
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8129
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs, test
>    Affects Versions: 0.23.0
>            Reporter: Ravi Prakash
>            Assignee: Ahmed Radwan
>              Labels: test
>             Fix For: 0.23.3, 2.0.1-alpha, 3.0.0
>
>         Attachments: HADOOP-8129.patch, HADOOP-8129.patch
>
>
> All TestFSMainOperationsLocalFileSystem tests (99 in all) fail saying:
> {noformat}
> java.io.FileNotFoundException: /home
> 	at org.apache.hadoop.fs.viewfs.InodeTree.resolve(InodeTree.java:403)
> 	at org.apache.hadoop.fs.viewfs.ViewFileSystem.mkdirs(ViewFileSystem.java:373)
> 	at org.apache.hadoop.fs.FileSystem.mkdirs(FileSystem.java:1684)
> 	at org.apache.hadoop.fs.FSMainOperationsBaseTest.setUp(FSMainOperationsBaseTest.java:90)
> 	at org.apache.hadoop.fs.viewfs.TestFSMainOperationsLocalFileSystem.setUp(TestFSMainOperationsLocalFileSystem.java:42)
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HADOOP-8129) ViewFileSystemTestSetup setupForViewFileSystem is erring when the user's home directory is somewhere other than /home (eg. /User) etc.

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

Tom White commented on HADOOP-8129:
-----------------------------------

Thanks for the explanation, Ahmed. I tried running TestFSMainOperationsLocalFileSystem and TestViewFsTrash from outside my home directory and they failed without the patch, and passed with it. Both still passed when run from within my home directory.

+1
                
> ViewFileSystemTestSetup setupForViewFileSystem is erring when the user's home directory is somewhere other than /home (eg. /User) etc.
> --------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-8129
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8129
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs, test
>    Affects Versions: 0.23.0
>            Reporter: Ravi Prakash
>            Assignee: Ahmed Radwan
>              Labels: test
>         Attachments: HADOOP-8129.patch, HADOOP-8129.patch
>
>
> All TestFSMainOperationsLocalFileSystem tests (99 in all) fail saying:
> {noformat}
> java.io.FileNotFoundException: /home
> 	at org.apache.hadoop.fs.viewfs.InodeTree.resolve(InodeTree.java:403)
> 	at org.apache.hadoop.fs.viewfs.ViewFileSystem.mkdirs(ViewFileSystem.java:373)
> 	at org.apache.hadoop.fs.FileSystem.mkdirs(FileSystem.java:1684)
> 	at org.apache.hadoop.fs.FSMainOperationsBaseTest.setUp(FSMainOperationsBaseTest.java:90)
> 	at org.apache.hadoop.fs.viewfs.TestFSMainOperationsLocalFileSystem.setUp(TestFSMainOperationsLocalFileSystem.java:42)
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Closed] (HADOOP-8129) ViewFileSystemTestSetup setupForViewFileSystem is erring when the user's home directory is somewhere other than /home (eg. /User) etc.

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

Arun C Murthy closed HADOOP-8129.
---------------------------------

    
> ViewFileSystemTestSetup setupForViewFileSystem is erring when the user's home directory is somewhere other than /home (eg. /User) etc.
> --------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-8129
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8129
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs, test
>    Affects Versions: 0.23.0
>            Reporter: Ravi Prakash
>            Assignee: Ahmed Radwan
>              Labels: test
>             Fix For: 0.23.3, 2.0.2-alpha
>
>         Attachments: HADOOP-8129.patch, HADOOP-8129.patch
>
>
> All TestFSMainOperationsLocalFileSystem tests (99 in all) fail saying:
> {noformat}
> java.io.FileNotFoundException: /home
> 	at org.apache.hadoop.fs.viewfs.InodeTree.resolve(InodeTree.java:403)
> 	at org.apache.hadoop.fs.viewfs.ViewFileSystem.mkdirs(ViewFileSystem.java:373)
> 	at org.apache.hadoop.fs.FileSystem.mkdirs(FileSystem.java:1684)
> 	at org.apache.hadoop.fs.FSMainOperationsBaseTest.setUp(FSMainOperationsBaseTest.java:90)
> 	at org.apache.hadoop.fs.viewfs.TestFSMainOperationsLocalFileSystem.setUp(TestFSMainOperationsLocalFileSystem.java:42)
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (HADOOP-8129) ViewFileSystemTestSetup setupForViewFileSystem is erring when the user's home directory is somewhere other than /home (eg. /User) etc.

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

Hudson commented on HADOOP-8129:
--------------------------------

Integrated in Hadoop-Hdfs-0.23-Build #299 (See [https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/299/])
    svn merge -c 1354093. FIXES: HADOOP-8129. ViewFileSystemTestSetup setupForViewFileSystem is erring (Ahmed Radwan and Ravi Prakash via bobby) (Revision 1354099)

     Result = UNSTABLE
bobby : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1354099
Files : 
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/viewfs/ViewFileSystemTestSetup.java

                
> ViewFileSystemTestSetup setupForViewFileSystem is erring when the user's home directory is somewhere other than /home (eg. /User) etc.
> --------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-8129
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8129
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs, test
>    Affects Versions: 0.23.0
>            Reporter: Ravi Prakash
>            Assignee: Ahmed Radwan
>              Labels: test
>             Fix For: 0.23.3, 2.0.1-alpha, 3.0.0
>
>         Attachments: HADOOP-8129.patch, HADOOP-8129.patch
>
>
> All TestFSMainOperationsLocalFileSystem tests (99 in all) fail saying:
> {noformat}
> java.io.FileNotFoundException: /home
> 	at org.apache.hadoop.fs.viewfs.InodeTree.resolve(InodeTree.java:403)
> 	at org.apache.hadoop.fs.viewfs.ViewFileSystem.mkdirs(ViewFileSystem.java:373)
> 	at org.apache.hadoop.fs.FileSystem.mkdirs(FileSystem.java:1684)
> 	at org.apache.hadoop.fs.FSMainOperationsBaseTest.setUp(FSMainOperationsBaseTest.java:90)
> 	at org.apache.hadoop.fs.viewfs.TestFSMainOperationsLocalFileSystem.setUp(TestFSMainOperationsLocalFileSystem.java:42)
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HADOOP-8129) ViewFileSystemTestSetup setupForViewFileSystem is erring when the user's home directory is somewhere other than /home (eg. /User) etc.

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

Robert Joseph Evans updated HADOOP-8129:
----------------------------------------

    Target Version/s: 0.23.3, 2.0.0, 3.0.0  (was: 0.23.2)
    
> ViewFileSystemTestSetup setupForViewFileSystem is erring when the user's home directory is somewhere other than /home (eg. /User) etc.
> --------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-8129
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8129
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs, test
>    Affects Versions: 0.23.0
>            Reporter: Ravi Prakash
>              Labels: test
>         Attachments: HADOOP-8129.patch
>
>
> All TestFSMainOperationsLocalFileSystem tests (99 in all) fail saying:
> {noformat}
> java.io.FileNotFoundException: /home
> 	at org.apache.hadoop.fs.viewfs.InodeTree.resolve(InodeTree.java:403)
> 	at org.apache.hadoop.fs.viewfs.ViewFileSystem.mkdirs(ViewFileSystem.java:373)
> 	at org.apache.hadoop.fs.FileSystem.mkdirs(FileSystem.java:1684)
> 	at org.apache.hadoop.fs.FSMainOperationsBaseTest.setUp(FSMainOperationsBaseTest.java:90)
> 	at org.apache.hadoop.fs.viewfs.TestFSMainOperationsLocalFileSystem.setUp(TestFSMainOperationsLocalFileSystem.java:42)
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HADOOP-8129) ViewFileSystemTestSetup setupForViewFileSystem is erring when the user's home directory is somewhere other than /home (eg. /User) etc.

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

Ahmed Radwan commented on HADOOP-8129:
--------------------------------------

Any updates on this issue?
I guess we can just automatically ignore this test when detecting that it is running from outside /home.
                
> ViewFileSystemTestSetup setupForViewFileSystem is erring when the user's home directory is somewhere other than /home (eg. /User) etc.
> --------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-8129
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8129
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs, test
>    Affects Versions: 0.23.0
>            Reporter: Ravi Prakash
>            Assignee: Ravi Prakash
>              Labels: test
>         Attachments: HADOOP-8129.patch
>
>
> All TestFSMainOperationsLocalFileSystem tests (99 in all) fail saying:
> {noformat}
> java.io.FileNotFoundException: /home
> 	at org.apache.hadoop.fs.viewfs.InodeTree.resolve(InodeTree.java:403)
> 	at org.apache.hadoop.fs.viewfs.ViewFileSystem.mkdirs(ViewFileSystem.java:373)
> 	at org.apache.hadoop.fs.FileSystem.mkdirs(FileSystem.java:1684)
> 	at org.apache.hadoop.fs.FSMainOperationsBaseTest.setUp(FSMainOperationsBaseTest.java:90)
> 	at org.apache.hadoop.fs.viewfs.TestFSMainOperationsLocalFileSystem.setUp(TestFSMainOperationsLocalFileSystem.java:42)
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HADOOP-8129) ViewFileSystemTestSetup setupForViewFileSystem is erring when the user's home directory is somewhere other than /home (eg. /User) etc.

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

Eli Collins commented on HADOOP-8129:
-------------------------------------

+1 Looks good to me, I think HADOOP-8036 erroneously removed this code (establishing a link to the first component of the test dir).
                
> ViewFileSystemTestSetup setupForViewFileSystem is erring when the user's home directory is somewhere other than /home (eg. /User) etc.
> --------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-8129
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8129
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs, test
>    Affects Versions: 0.23.0
>            Reporter: Ravi Prakash
>            Assignee: Ahmed Radwan
>              Labels: test
>         Attachments: HADOOP-8129.patch, HADOOP-8129.patch
>
>
> All TestFSMainOperationsLocalFileSystem tests (99 in all) fail saying:
> {noformat}
> java.io.FileNotFoundException: /home
> 	at org.apache.hadoop.fs.viewfs.InodeTree.resolve(InodeTree.java:403)
> 	at org.apache.hadoop.fs.viewfs.ViewFileSystem.mkdirs(ViewFileSystem.java:373)
> 	at org.apache.hadoop.fs.FileSystem.mkdirs(FileSystem.java:1684)
> 	at org.apache.hadoop.fs.FSMainOperationsBaseTest.setUp(FSMainOperationsBaseTest.java:90)
> 	at org.apache.hadoop.fs.viewfs.TestFSMainOperationsLocalFileSystem.setUp(TestFSMainOperationsLocalFileSystem.java:42)
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HADOOP-8129) ViewFileSystemTestSetup setupForViewFileSystem is erring when the user's home directory is somewhere other than /home (eg. /User) etc.

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

Ravi Prakash updated HADOOP-8129:
---------------------------------

    Status: Patch Available  (was: Open)
    
> ViewFileSystemTestSetup setupForViewFileSystem is erring when the user's home directory is somewhere other than /home (eg. /User) etc.
> --------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-8129
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8129
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs, test
>    Affects Versions: 0.23.0
>            Reporter: Ravi Prakash
>            Assignee: Ravi Prakash
>              Labels: test
>         Attachments: HADOOP-8129.patch
>
>
> All TestFSMainOperationsLocalFileSystem tests (99 in all) fail saying:
> {noformat}
> java.io.FileNotFoundException: /home
> 	at org.apache.hadoop.fs.viewfs.InodeTree.resolve(InodeTree.java:403)
> 	at org.apache.hadoop.fs.viewfs.ViewFileSystem.mkdirs(ViewFileSystem.java:373)
> 	at org.apache.hadoop.fs.FileSystem.mkdirs(FileSystem.java:1684)
> 	at org.apache.hadoop.fs.FSMainOperationsBaseTest.setUp(FSMainOperationsBaseTest.java:90)
> 	at org.apache.hadoop.fs.viewfs.TestFSMainOperationsLocalFileSystem.setUp(TestFSMainOperationsLocalFileSystem.java:42)
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HADOOP-8129) ViewFileSystemTestSetup setupForViewFileSystem is erring when the user's home directory is somewhere other than /home (eg. /User) etc.

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

Hudson commented on HADOOP-8129:
--------------------------------

Integrated in Hadoop-Mapreduce-trunk-Commit #2408 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/2408/])
    HADOOP-8129. ViewFileSystemTestSetup setupForViewFileSystem is erring (Ahmed Radwan and Ravi Prakash via bobby) (Revision 1354093)

     Result = FAILURE
bobby : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1354093
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/viewfs/ViewFileSystemTestSetup.java

                
> ViewFileSystemTestSetup setupForViewFileSystem is erring when the user's home directory is somewhere other than /home (eg. /User) etc.
> --------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-8129
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8129
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs, test
>    Affects Versions: 0.23.0
>            Reporter: Ravi Prakash
>            Assignee: Ahmed Radwan
>              Labels: test
>             Fix For: 0.23.3, 2.0.1-alpha, 3.0.0
>
>         Attachments: HADOOP-8129.patch, HADOOP-8129.patch
>
>
> All TestFSMainOperationsLocalFileSystem tests (99 in all) fail saying:
> {noformat}
> java.io.FileNotFoundException: /home
> 	at org.apache.hadoop.fs.viewfs.InodeTree.resolve(InodeTree.java:403)
> 	at org.apache.hadoop.fs.viewfs.ViewFileSystem.mkdirs(ViewFileSystem.java:373)
> 	at org.apache.hadoop.fs.FileSystem.mkdirs(FileSystem.java:1684)
> 	at org.apache.hadoop.fs.FSMainOperationsBaseTest.setUp(FSMainOperationsBaseTest.java:90)
> 	at org.apache.hadoop.fs.viewfs.TestFSMainOperationsLocalFileSystem.setUp(TestFSMainOperationsLocalFileSystem.java:42)
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HADOOP-8129) ViewFileSystemTestSetup setupForViewFileSystem is erring when the user's home directory is somewhere other than /home (eg. /User) etc.

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

Ravi Prakash updated HADOOP-8129:
---------------------------------

    Attachment: HADOOP-8129.patch

Simple and small patch. Can someone please review and commit
                
> ViewFileSystemTestSetup setupForViewFileSystem is erring when the user's home directory is somewhere other than /home (eg. /User) etc.
> --------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-8129
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8129
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs, test
>    Affects Versions: 0.23.0
>            Reporter: Ravi Prakash
>            Assignee: Ravi Prakash
>              Labels: test
>         Attachments: HADOOP-8129.patch
>
>
> All TestFSMainOperationsLocalFileSystem tests (99 in all) fail saying:
> {noformat}
> java.io.FileNotFoundException: /home
> 	at org.apache.hadoop.fs.viewfs.InodeTree.resolve(InodeTree.java:403)
> 	at org.apache.hadoop.fs.viewfs.ViewFileSystem.mkdirs(ViewFileSystem.java:373)
> 	at org.apache.hadoop.fs.FileSystem.mkdirs(FileSystem.java:1684)
> 	at org.apache.hadoop.fs.FSMainOperationsBaseTest.setUp(FSMainOperationsBaseTest.java:90)
> 	at org.apache.hadoop.fs.viewfs.TestFSMainOperationsLocalFileSystem.setUp(TestFSMainOperationsLocalFileSystem.java:42)
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HADOOP-8129) ViewFileSystemTestSetup setupForViewFileSystem is erring when the user's home directory is somewhere other than /home (eg. /User) etc.

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

Arun C Murthy updated HADOOP-8129:
----------------------------------

    Status: Open  (was: Patch Available)

Cancelling patch while we brainstorm the fix to the tests.
                
> ViewFileSystemTestSetup setupForViewFileSystem is erring when the user's home directory is somewhere other than /home (eg. /User) etc.
> --------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-8129
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8129
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs, test
>    Affects Versions: 0.23.0
>            Reporter: Ravi Prakash
>            Assignee: Ravi Prakash
>              Labels: test
>         Attachments: HADOOP-8129.patch
>
>
> All TestFSMainOperationsLocalFileSystem tests (99 in all) fail saying:
> {noformat}
> java.io.FileNotFoundException: /home
> 	at org.apache.hadoop.fs.viewfs.InodeTree.resolve(InodeTree.java:403)
> 	at org.apache.hadoop.fs.viewfs.ViewFileSystem.mkdirs(ViewFileSystem.java:373)
> 	at org.apache.hadoop.fs.FileSystem.mkdirs(FileSystem.java:1684)
> 	at org.apache.hadoop.fs.FSMainOperationsBaseTest.setUp(FSMainOperationsBaseTest.java:90)
> 	at org.apache.hadoop.fs.viewfs.TestFSMainOperationsLocalFileSystem.setUp(TestFSMainOperationsLocalFileSystem.java:42)
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HADOOP-8129) ViewFileSystemTestSetup setupForViewFileSystem is erring when the user's home directory is somewhere other than /home (eg. /User) etc.

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

Hadoop QA commented on HADOOP-8129:
-----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12533177/HADOOP-8129.patch
  against trunk revision .

    +1 @author.  The patch does not contain any @author tags.

    +1 tests included.  The patch appears to include 1 new or modified test files.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    -1 javadoc.  The javadoc tool appears to have generated 13 warning messages.

    +1 eclipse:eclipse.  The patch built with eclipse:eclipse.

    +1 findbugs.  The patch does not introduce any new Findbugs (version 1.3.9) warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    +1 core tests.  The patch passed unit tests in hadoop-common-project/hadoop-common.

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/1137//testReport/
Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/1137//console

This message is automatically generated.
                
> ViewFileSystemTestSetup setupForViewFileSystem is erring when the user's home directory is somewhere other than /home (eg. /User) etc.
> --------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-8129
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8129
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs, test
>    Affects Versions: 0.23.0
>            Reporter: Ravi Prakash
>            Assignee: Ahmed Radwan
>              Labels: test
>         Attachments: HADOOP-8129.patch, HADOOP-8129.patch
>
>
> All TestFSMainOperationsLocalFileSystem tests (99 in all) fail saying:
> {noformat}
> java.io.FileNotFoundException: /home
> 	at org.apache.hadoop.fs.viewfs.InodeTree.resolve(InodeTree.java:403)
> 	at org.apache.hadoop.fs.viewfs.ViewFileSystem.mkdirs(ViewFileSystem.java:373)
> 	at org.apache.hadoop.fs.FileSystem.mkdirs(FileSystem.java:1684)
> 	at org.apache.hadoop.fs.FSMainOperationsBaseTest.setUp(FSMainOperationsBaseTest.java:90)
> 	at org.apache.hadoop.fs.viewfs.TestFSMainOperationsLocalFileSystem.setUp(TestFSMainOperationsLocalFileSystem.java:42)
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HADOOP-8129) ViewFileSystemTestSetup setupForViewFileSystem is erring when the user's home directory is somewhere other than /home (eg. /User) etc.

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

Robert Joseph Evans commented on HADOOP-8129:
---------------------------------------------

The change looks good to me too +1, so with 3 +1s I will be checking this in.
                
> ViewFileSystemTestSetup setupForViewFileSystem is erring when the user's home directory is somewhere other than /home (eg. /User) etc.
> --------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-8129
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8129
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs, test
>    Affects Versions: 0.23.0
>            Reporter: Ravi Prakash
>            Assignee: Ahmed Radwan
>              Labels: test
>         Attachments: HADOOP-8129.patch, HADOOP-8129.patch
>
>
> All TestFSMainOperationsLocalFileSystem tests (99 in all) fail saying:
> {noformat}
> java.io.FileNotFoundException: /home
> 	at org.apache.hadoop.fs.viewfs.InodeTree.resolve(InodeTree.java:403)
> 	at org.apache.hadoop.fs.viewfs.ViewFileSystem.mkdirs(ViewFileSystem.java:373)
> 	at org.apache.hadoop.fs.FileSystem.mkdirs(FileSystem.java:1684)
> 	at org.apache.hadoop.fs.FSMainOperationsBaseTest.setUp(FSMainOperationsBaseTest.java:90)
> 	at org.apache.hadoop.fs.viewfs.TestFSMainOperationsLocalFileSystem.setUp(TestFSMainOperationsLocalFileSystem.java:42)
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (HADOOP-8129) ViewFileSystemTestSetup setupForViewFileSystem is erring when the user's home directory is somewhere other than /home (eg. /User) etc.

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

Ravi Prakash reassigned HADOOP-8129:
------------------------------------

    Assignee:     (was: Ravi Prakash)
    
> ViewFileSystemTestSetup setupForViewFileSystem is erring when the user's home directory is somewhere other than /home (eg. /User) etc.
> --------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-8129
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8129
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs, test
>    Affects Versions: 0.23.0
>            Reporter: Ravi Prakash
>              Labels: test
>         Attachments: HADOOP-8129.patch
>
>
> All TestFSMainOperationsLocalFileSystem tests (99 in all) fail saying:
> {noformat}
> java.io.FileNotFoundException: /home
> 	at org.apache.hadoop.fs.viewfs.InodeTree.resolve(InodeTree.java:403)
> 	at org.apache.hadoop.fs.viewfs.ViewFileSystem.mkdirs(ViewFileSystem.java:373)
> 	at org.apache.hadoop.fs.FileSystem.mkdirs(FileSystem.java:1684)
> 	at org.apache.hadoop.fs.FSMainOperationsBaseTest.setUp(FSMainOperationsBaseTest.java:90)
> 	at org.apache.hadoop.fs.viewfs.TestFSMainOperationsLocalFileSystem.setUp(TestFSMainOperationsLocalFileSystem.java:42)
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HADOOP-8129) ViewFileSystemTestSetup setupForViewFileSystem is erring when the user's home directory is somewhere other than /home (eg. /User) etc.

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

Ravi Prakash commented on HADOOP-8129:
--------------------------------------

There's a very illuminating discussion on https://issues.apache.org/jira/browse/HADOOP-7284. I'm not sure what the right way going forward is. I'm suspending work on this JIRA for now. If someone wants to take over, please feel free
                
> ViewFileSystemTestSetup setupForViewFileSystem is erring when the user's home directory is somewhere other than /home (eg. /User) etc.
> --------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-8129
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8129
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs, test
>    Affects Versions: 0.23.0
>            Reporter: Ravi Prakash
>            Assignee: Ravi Prakash
>              Labels: test
>         Attachments: HADOOP-8129.patch
>
>
> All TestFSMainOperationsLocalFileSystem tests (99 in all) fail saying:
> {noformat}
> java.io.FileNotFoundException: /home
> 	at org.apache.hadoop.fs.viewfs.InodeTree.resolve(InodeTree.java:403)
> 	at org.apache.hadoop.fs.viewfs.ViewFileSystem.mkdirs(ViewFileSystem.java:373)
> 	at org.apache.hadoop.fs.FileSystem.mkdirs(FileSystem.java:1684)
> 	at org.apache.hadoop.fs.FSMainOperationsBaseTest.setUp(FSMainOperationsBaseTest.java:90)
> 	at org.apache.hadoop.fs.viewfs.TestFSMainOperationsLocalFileSystem.setUp(TestFSMainOperationsLocalFileSystem.java:42)
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HADOOP-8129) ViewFileSystemTestSetup setupForViewFileSystem is erring when the user's home directory is somewhere other than /home (eg. /User) etc.

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

Ahmed Radwan updated HADOOP-8129:
---------------------------------

    Target Version/s: 2.0.0-alpha, 0.23.3, 3.0.0  (was: 0.23.3, 2.0.0-alpha, 3.0.0)
              Status: Patch Available  (was: Open)
    
> ViewFileSystemTestSetup setupForViewFileSystem is erring when the user's home directory is somewhere other than /home (eg. /User) etc.
> --------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-8129
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8129
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs, test
>    Affects Versions: 0.23.0
>            Reporter: Ravi Prakash
>            Assignee: Ahmed Radwan
>              Labels: test
>         Attachments: HADOOP-8129.patch, HADOOP-8129.patch
>
>
> All TestFSMainOperationsLocalFileSystem tests (99 in all) fail saying:
> {noformat}
> java.io.FileNotFoundException: /home
> 	at org.apache.hadoop.fs.viewfs.InodeTree.resolve(InodeTree.java:403)
> 	at org.apache.hadoop.fs.viewfs.ViewFileSystem.mkdirs(ViewFileSystem.java:373)
> 	at org.apache.hadoop.fs.FileSystem.mkdirs(FileSystem.java:1684)
> 	at org.apache.hadoop.fs.FSMainOperationsBaseTest.setUp(FSMainOperationsBaseTest.java:90)
> 	at org.apache.hadoop.fs.viewfs.TestFSMainOperationsLocalFileSystem.setUp(TestFSMainOperationsLocalFileSystem.java:42)
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HADOOP-8129) ViewFileSystemTestSetup setupForViewFileSystem is erring when the user's home directory is somewhere other than /home (eg. /User) etc.

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

Hadoop QA commented on HADOOP-8129:
-----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12516887/HADOOP-8129.patch
  against trunk revision .

    +1 @author.  The patch does not contain any @author tags.

    +1 tests included.  The patch appears to include 3 new or modified tests.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 eclipse:eclipse.  The patch built with eclipse:eclipse.

    +1 findbugs.  The patch does not introduce any new Findbugs (version 1.3.9) warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    -1 core tests.  The patch failed these unit tests:
                  org.apache.hadoop.ipc.TestRPCCallBenchmark
                  org.apache.hadoop.fs.viewfs.TestViewFsTrash

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/663//testReport/
Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/663//console

This message is automatically generated.
                
> ViewFileSystemTestSetup setupForViewFileSystem is erring when the user's home directory is somewhere other than /home (eg. /User) etc.
> --------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-8129
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8129
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs, test
>    Affects Versions: 0.23.0
>            Reporter: Ravi Prakash
>            Assignee: Ravi Prakash
>              Labels: test
>         Attachments: HADOOP-8129.patch
>
>
> All TestFSMainOperationsLocalFileSystem tests (99 in all) fail saying:
> {noformat}
> java.io.FileNotFoundException: /home
> 	at org.apache.hadoop.fs.viewfs.InodeTree.resolve(InodeTree.java:403)
> 	at org.apache.hadoop.fs.viewfs.ViewFileSystem.mkdirs(ViewFileSystem.java:373)
> 	at org.apache.hadoop.fs.FileSystem.mkdirs(FileSystem.java:1684)
> 	at org.apache.hadoop.fs.FSMainOperationsBaseTest.setUp(FSMainOperationsBaseTest.java:90)
> 	at org.apache.hadoop.fs.viewfs.TestFSMainOperationsLocalFileSystem.setUp(TestFSMainOperationsLocalFileSystem.java:42)
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HADOOP-8129) ViewFileSystemTestSetup setupForViewFileSystem is erring when the user's home directory is somewhere other than /home (eg. /User) etc.

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

Ravi Prakash commented on HADOOP-8129:
--------------------------------------

This is not good. TestViewFSTrash is writing into ~/.Trash . It has no business writing in there. Can we all agree? Seems like LocalFileSystem will need to be changed. Thoughts anybody?

                
> ViewFileSystemTestSetup setupForViewFileSystem is erring when the user's home directory is somewhere other than /home (eg. /User) etc.
> --------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-8129
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8129
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs, test
>    Affects Versions: 0.23.0
>            Reporter: Ravi Prakash
>            Assignee: Ravi Prakash
>              Labels: test
>         Attachments: HADOOP-8129.patch
>
>
> All TestFSMainOperationsLocalFileSystem tests (99 in all) fail saying:
> {noformat}
> java.io.FileNotFoundException: /home
> 	at org.apache.hadoop.fs.viewfs.InodeTree.resolve(InodeTree.java:403)
> 	at org.apache.hadoop.fs.viewfs.ViewFileSystem.mkdirs(ViewFileSystem.java:373)
> 	at org.apache.hadoop.fs.FileSystem.mkdirs(FileSystem.java:1684)
> 	at org.apache.hadoop.fs.FSMainOperationsBaseTest.setUp(FSMainOperationsBaseTest.java:90)
> 	at org.apache.hadoop.fs.viewfs.TestFSMainOperationsLocalFileSystem.setUp(TestFSMainOperationsLocalFileSystem.java:42)
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HADOOP-8129) ViewFileSystemTestSetup setupForViewFileSystem is erring when the user's home directory is somewhere other than /home (eg. /User) etc.

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

Ravi Prakash commented on HADOOP-8129:
--------------------------------------

Hi Ahmed! Unfortunately this slipped in my priorities, and probably will remain so until we find the conviction to go fix all the issues in the implementation of Trash + ViewFS. I'll unassign myself from this. 

I don't know if ignoring the tests which fail (signalling a legitimate problem) is a good long term solution, but if you want to make it so, to fix your builds, I'll not stand in the way.
                
> ViewFileSystemTestSetup setupForViewFileSystem is erring when the user's home directory is somewhere other than /home (eg. /User) etc.
> --------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-8129
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8129
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs, test
>    Affects Versions: 0.23.0
>            Reporter: Ravi Prakash
>            Assignee: Ravi Prakash
>              Labels: test
>         Attachments: HADOOP-8129.patch
>
>
> All TestFSMainOperationsLocalFileSystem tests (99 in all) fail saying:
> {noformat}
> java.io.FileNotFoundException: /home
> 	at org.apache.hadoop.fs.viewfs.InodeTree.resolve(InodeTree.java:403)
> 	at org.apache.hadoop.fs.viewfs.ViewFileSystem.mkdirs(ViewFileSystem.java:373)
> 	at org.apache.hadoop.fs.FileSystem.mkdirs(FileSystem.java:1684)
> 	at org.apache.hadoop.fs.FSMainOperationsBaseTest.setUp(FSMainOperationsBaseTest.java:90)
> 	at org.apache.hadoop.fs.viewfs.TestFSMainOperationsLocalFileSystem.setUp(TestFSMainOperationsLocalFileSystem.java:42)
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HADOOP-8129) ViewFileSystemTestSetup setupForViewFileSystem is erring when the user's home directory is somewhere other than /home (eg. /User) etc.

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

Hudson commented on HADOOP-8129:
--------------------------------

Integrated in Hadoop-Hdfs-trunk-Commit #2458 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/2458/])
    HADOOP-8129. ViewFileSystemTestSetup setupForViewFileSystem is erring (Ahmed Radwan and Ravi Prakash via bobby) (Revision 1354093)

     Result = SUCCESS
bobby : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1354093
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/viewfs/ViewFileSystemTestSetup.java

                
> ViewFileSystemTestSetup setupForViewFileSystem is erring when the user's home directory is somewhere other than /home (eg. /User) etc.
> --------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-8129
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8129
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs, test
>    Affects Versions: 0.23.0
>            Reporter: Ravi Prakash
>            Assignee: Ahmed Radwan
>              Labels: test
>             Fix For: 0.23.3, 2.0.1-alpha, 3.0.0
>
>         Attachments: HADOOP-8129.patch, HADOOP-8129.patch
>
>
> All TestFSMainOperationsLocalFileSystem tests (99 in all) fail saying:
> {noformat}
> java.io.FileNotFoundException: /home
> 	at org.apache.hadoop.fs.viewfs.InodeTree.resolve(InodeTree.java:403)
> 	at org.apache.hadoop.fs.viewfs.ViewFileSystem.mkdirs(ViewFileSystem.java:373)
> 	at org.apache.hadoop.fs.FileSystem.mkdirs(FileSystem.java:1684)
> 	at org.apache.hadoop.fs.FSMainOperationsBaseTest.setUp(FSMainOperationsBaseTest.java:90)
> 	at org.apache.hadoop.fs.viewfs.TestFSMainOperationsLocalFileSystem.setUp(TestFSMainOperationsLocalFileSystem.java:42)
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (HADOOP-8129) ViewFileSystemTestSetup setupForViewFileSystem is erring when the user's home directory is somewhere other than /home (eg. /User) etc.

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

Ahmed Radwan reassigned HADOOP-8129:
------------------------------------

    Assignee: Ahmed Radwan
    
> ViewFileSystemTestSetup setupForViewFileSystem is erring when the user's home directory is somewhere other than /home (eg. /User) etc.
> --------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-8129
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8129
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs, test
>    Affects Versions: 0.23.0
>            Reporter: Ravi Prakash
>            Assignee: Ahmed Radwan
>              Labels: test
>         Attachments: HADOOP-8129.patch, HADOOP-8129.patch
>
>
> All TestFSMainOperationsLocalFileSystem tests (99 in all) fail saying:
> {noformat}
> java.io.FileNotFoundException: /home
> 	at org.apache.hadoop.fs.viewfs.InodeTree.resolve(InodeTree.java:403)
> 	at org.apache.hadoop.fs.viewfs.ViewFileSystem.mkdirs(ViewFileSystem.java:373)
> 	at org.apache.hadoop.fs.FileSystem.mkdirs(FileSystem.java:1684)
> 	at org.apache.hadoop.fs.FSMainOperationsBaseTest.setUp(FSMainOperationsBaseTest.java:90)
> 	at org.apache.hadoop.fs.viewfs.TestFSMainOperationsLocalFileSystem.setUp(TestFSMainOperationsLocalFileSystem.java:42)
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HADOOP-8129) ViewFileSystemTestSetup setupForViewFileSystem is erring when the user's home directory is somewhere other than /home (eg. /User) etc.

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

Robert Joseph Evans updated HADOOP-8129:
----------------------------------------

          Resolution: Fixed
       Fix Version/s: 3.0.0
                      2.0.1-alpha
                      0.23.3
    Target Version/s: 2.0.0-alpha, 0.23.3, 3.0.0  (was: 0.23.3, 2.0.0-alpha, 3.0.0)
              Status: Resolved  (was: Patch Available)

Thanks Ahmed for driving this over the finish line.  I put this into trunk, branch-2, and branch-0.23
                
> ViewFileSystemTestSetup setupForViewFileSystem is erring when the user's home directory is somewhere other than /home (eg. /User) etc.
> --------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-8129
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8129
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs, test
>    Affects Versions: 0.23.0
>            Reporter: Ravi Prakash
>            Assignee: Ahmed Radwan
>              Labels: test
>             Fix For: 0.23.3, 2.0.1-alpha, 3.0.0
>
>         Attachments: HADOOP-8129.patch, HADOOP-8129.patch
>
>
> All TestFSMainOperationsLocalFileSystem tests (99 in all) fail saying:
> {noformat}
> java.io.FileNotFoundException: /home
> 	at org.apache.hadoop.fs.viewfs.InodeTree.resolve(InodeTree.java:403)
> 	at org.apache.hadoop.fs.viewfs.ViewFileSystem.mkdirs(ViewFileSystem.java:373)
> 	at org.apache.hadoop.fs.FileSystem.mkdirs(FileSystem.java:1684)
> 	at org.apache.hadoop.fs.FSMainOperationsBaseTest.setUp(FSMainOperationsBaseTest.java:90)
> 	at org.apache.hadoop.fs.viewfs.TestFSMainOperationsLocalFileSystem.setUp(TestFSMainOperationsLocalFileSystem.java:42)
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira