hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sanjay Radia (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-5712) ViewFS should check the existence of the mapped namespace directories in the mount table
Date Fri, 03 Jan 2014 21:58:50 GMT

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

Sanjay Radia commented on HDFS-5712:
------------------------------------

It was done that way to be consistent with what is shown for symbolic links: ie. the link
is valid but the target does not exist. 

> ViewFS should check the existence of the mapped namespace directories in the mount table
> ----------------------------------------------------------------------------------------
>
>                 Key: HDFS-5712
>                 URL: https://issues.apache.org/jira/browse/HDFS-5712
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: federation
>    Affects Versions: 3.0.0
>            Reporter: Brandon Li
>
> ViewFS doesn't validate the mount table mapping. Even the mapped directory on NameNode
doesn't exist, list directories or "dfs -ls"  command can still show the mapped directory.
> This confuses users and applications when they try to create files under the mapped directories.
They will get file-not-exist error but viewfs shows the directory exists.
> It would be less misleading if ViewFS can validate the  mount table and report found
errors.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message