[ 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