hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eli Collins (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-7859) TestViewFsHdfs.testgetFileLinkStatus is failing an assert
Date Thu, 24 Nov 2011 02:36:40 GMT

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

Eli Collins updated HADOOP-7859:
--------------------------------

    Attachment: hadoop-7859-1.patch

Patch attached. The assert is bogus, eg its valid for the target of the link to have scheme
hdfs and while the fs of the path may be viewfs. The fs of the path gets updated when links
are encountered but it gets updated to the fs of the path of the link, not it's target (which
may cross a fs boundary).
                
> TestViewFsHdfs.testgetFileLinkStatus is failing an assert
> ---------------------------------------------------------
>
>                 Key: HADOOP-7859
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7859
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>            Reporter: Eli Collins
>            Assignee: Eli Collins
>         Attachments: hadoop-7859-1.patch
>
>
> Probably introduced by HADOOP-7783. I'll fix it.
> {noformat}
> java.lang.AssertionError
> 	at org.apache.hadoop.fs.FileContext.qualifySymlinkTarget(FileContext.java:1111)
> 	at org.apache.hadoop.fs.FileContext.access$000(FileContext.java:170)
> 	at org.apache.hadoop.fs.FileContext$15.next(FileContext.java:1142)
> 	at org.apache.hadoop.fs.FileContext$15.next(FileContext.java:1137)
> 	at org.apache.hadoop.fs.FileContext$FSLinkResolver.resolve(FileContext.java:2327)
> 	at org.apache.hadoop.fs.FileContext.getFileLinkStatus(FileContext.java:1137)
> 	at org.apache.hadoop.fs.FileContextTestHelper.checkFileLinkStatus(FileContextTestHelper.java:233)
> 	at org.apache.hadoop.fs.viewfs.ViewFsBaseTest.testgetFileLinkStatus(ViewFsBaseTest.java:448)
> {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