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 (JIRA)" <ji...@apache.org> on 2012/05/03 05:56:00 UTC
[jira] [Updated] (HADOOP-8349) ViewFS doesn't work when the root of
a file system is mounted
[ 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 a patch which addresses the issue. The crux of the problem was two separate off-by-one errors in ChRootedFileSystem. Since to test this requires that we be able to mount and futz with files/directories at the root of the target file system, I put the test to exercise this in HDFS.
> 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
>
>
> 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