hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colin Patrick McCabe (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-8036) TestViewFsTrash assumes the user's home directory is 2 levels deep
Date Thu, 16 Feb 2012 19:14:59 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-8036?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Colin Patrick McCabe updated HADOOP-8036:

    Attachment: HADOOP-8036.txt

* fix bug where we were assuming that the user's home directory had only two path components.
 For example, if the home directory was /var/home/foo, the code would fail.

* rename setupForViewFs to setupForViewFilesystem, to avoid any confusion.  There is another
class called ViewFsTestSetup which shares no code with ViewFileSystemTestSetup.

* remove commented-out junk
> TestViewFsTrash assumes the user's home directory is 2 levels deep
> ------------------------------------------------------------------
>                 Key: HADOOP-8036
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8036
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs, test
>    Affects Versions: 0.23.0
>            Reporter: Eli Collins
>            Assignee: Colin Patrick McCabe
>         Attachments: HADOOP-8036.txt
> Looks like HADOOP-7974 didn't fix the issue. Still get "Path /var already exists as dir;
cannot create link here Stacktrace" when running on jenkins with home dir /var/lib/jenkins.
> {noformat}
> org.apache.hadoop.fs.FileAlreadyExistsException: Path /var already exists as dir; cannot
create link here
> 	at org.apache.hadoop.fs.viewfs.InodeTree.createLink(InodeTree.java:244)
> 	at org.apache.hadoop.fs.viewfs.InodeTree.<init>(InodeTree.java:334)
> 	at org.apache.hadoop.fs.viewfs.ViewFileSystem$1.<init>(ViewFileSystem.java:165)
> {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


View raw message