hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom White (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-8129) ViewFileSystemTestSetup setupForViewFileSystem is erring when the user's home directory is somewhere other than /home (eg. /User) etc.
Date Mon, 25 Jun 2012 20:26:44 GMT

    [ 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

        

Mime
View raw message