[ https://issues.apache.org/jira/browse/HADOOP-8349?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13267652#comment-13267652 ]
Daryn Sharp commented on HADOOP-8349: ------------------------------------- Just trying to understand the patch overall. I'm a bit confused by this code that's not in your patch, but related to it: {code} chRootPathPart = new Path(uri.getPath()); chRootPathPartString = chRootPathPart.toUri().getPath(); {code} Why is it running a uri path through {{Path}} just to get the path again? > 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 > > > 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