hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron T. Myers (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-8349) ViewFS doesn't work when the root of a file system is mounted
Date Fri, 04 May 2012 00:06:56 GMT

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

Aaron T. Myers updated HADOOP-8349:

    Attachment: HADOOP-8349.patch

Here's an updated patch which makes all the same changes to the FileContext side of the house.
Indeed, the same two off-by-one errors were present in ChRootedFs as well.

bq. Why is it running a uri path through Path just to get the path again?

Because {{URI#getPath()}} returns a {{String}}, not a {{Path}} object. We probably could just
assign {{chRootPathPartString}} to {{uir.getPath()}}, but that might drop any mangling that
the {{Path}} constructor is doing.
> ViewFS doesn't work when the root of a file system is mounted
> -------------------------------------------------------------
>                 Key: HADOOP-8349
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8349
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 2.0.0
>            Reporter: Aaron T. Myers
>            Assignee: Aaron T. Myers
>         Attachments: HADOOP-8349.patch, HADOOP-8349.patch, HADOOP-8349.patch
> Viewing files under a ViewFS mount which mounts the root of a file system shows trimmed
paths. Trying to perform operations on files or directories under the root-mounted file system
doesn't work. More info in the first comment of this JIRA.

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