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 "Chris Nauroth (JIRA)" <ji...@apache.org> on 2012/12/11 07:37:21 UTC

[jira] [Commented] (HADOOP-9129) ViewFs does not validate internal names in the mount table

    [ https://issues.apache.org/jira/browse/HADOOP-9129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13528724#comment-13528724 ] 

Chris Nauroth commented on HADOOP-9129:
---------------------------------------

This came from discussion in HADOOP-8957, a patch that made some changes to file name validation in the {{AbstractFileSystem}} and {{FileSystem}} class hierarchies.  We noticed that for {{ViewFs}} there is insufficient validation enforced on the internal names in the mount table at initialization time.  Right now, the only such validation that occurs at initialization time is a check for {{Path#isAbsoluteAndSchemAuthorityNull}} inside {{InodeTree#createLink}}.

First, we would need to agree on the rules.  Two possibilities:

# Match HDFS validation rules.
# Check the union of the validation rules for all mounted file systems, so that users see consistent path names across the whole ViewFS.

                
> ViewFs does not validate internal names in the mount table
> ----------------------------------------------------------
>
>                 Key: HADOOP-9129
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9129
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: viewfs
>    Affects Versions: 3.0.0
>            Reporter: Chris Nauroth
>
> Currently, there is no explicit validation of {{ViewFs}} internal names in the mount table during initialization.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira