hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhe Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-13055) Implement linkMergeSlash for ViewFs
Date Tue, 23 Aug 2016 17:24:20 GMT

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

Zhe Zhang commented on HADOOP-13055:
------------------------------------

I think we need to make two changes to {{InodeTree}}:
# {{root}} of a mount table can either be an {{INodeDir}} or an {{INodeLink}}. So we should
make it an {{INode}} and assign its value after checking the configurations (at the end of
the for loop in the constructor).
# Enforce that when {{linkMergeSlash}} is configured, no other links can be configured for
that mount table

I'm writing a patch to implement the above. Any thoughts are very welcome.

> Implement linkMergeSlash for ViewFs
> -----------------------------------
>
>                 Key: HADOOP-13055
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13055
>             Project: Hadoop Common
>          Issue Type: New Feature
>          Components: fs, viewfs
>            Reporter: Zhe Zhang
>            Assignee: Zhe Zhang
>
> In a multi-cluster environment it is sometimes useful to operate on the root / slash
directory of an HDFS cluster. E.g., list all top level directories. Quoting the comment in
{{ViewFs}}:
> {code}
>  *   A special case of the merge mount is where mount table's root is merged
>  *   with the root (slash) of another file system:
>  *   <ul>
>  *   <li>    fs.viewfs.mounttable.default.linkMergeSlash=hdfs://nn99/
>  *   </ul>
>  *   In this cases the root of the mount table is merged with the root of
>  *            <b>hdfs://nn99/ </b> 
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message