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 "Aaron T. Myers (Commented) (JIRA)" <ji...@apache.org> on 2012/02/16 21:00:59 UTC
[jira] [Commented] (HADOOP-8036) TestViewFsTrash assumes the user's
home directory is 2 levels deep
[ https://issues.apache.org/jira/browse/HADOOP-8036?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13209676#comment-13209676 ]
Aaron T. Myers commented on HADOOP-8036:
----------------------------------------
I'm a little surprised you need to call {{tearDown}} explicitly in {{setUp}}. I believe that any method annotated with {{@After}} is guaranteed to run regardless of the failure of the test which it's being run after (unless the JVM exits, but we've got a heap of trouble if that happens.)
> 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