[
https://issues.apache.org/jira/browse/HADOOP-13055?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zhe Zhang updated HADOOP-13055:
-------------------------------
Attachment: HADOOP-13055.00.patch
Pretty rough initial patch to test whether the idea breaks any existing unit
tests. I'm still working on:
# Enforcing {{linkMergeSlash}} is not used together with regular links
# An issue on {{ViewFileSystem#getFileStatus}} causing the returned status to
have a wrong path (the {{LocatedFileStatus}} that it wraps is correct)
# More unit tests
> 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
> Attachments: HADOOP-13055.00.patch
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]