[
https://issues.apache.org/jira/browse/HADOOP-14259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15954758#comment-15954758
]
John Zhuge commented on HADOOP-14259:
-------------------------------------
HADOOP-14258 documents client root-mount table implemented inside ADLS
connector while viewfs is more generic. See the
[doc|https://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-hdfs/ViewFs.html].
{code:xml}
<configuration>
<property>
<name>fs.defaultFS</name>
<value>viewfs://clusterX</value>
</property>
<property>
<name>fs.viewfs.mounttable.ClusterX.homedir</name>
<value>/home</value>
</property>
<property>
<name>fs.viewfs.mounttable.ClusterX.link./home</name>
<value>hdfs://nn1-clusterx.example.com:9820/home</value>
</property>
<property>
<name>fs.viewfs.mounttable.ClusterX.link./tmp</name>
<value>hdfs://nn1-clusterx.example.com:9820/tmp</value>
</property>
<property>
<name>fs.viewfs.mounttable.ClusterX.link./projects/foo</name>
<value>hdfs://nn2-clusterx.example.com:9820/projects/foo</value>
</property>
<property>
<name>fs.viewfs.mounttable.ClusterX.link./projects/bar</name>
<value>hdfs://nn3-clusterx.example.com:9820/projects/bar</value>
</property>
</configuration>
{code}
> Verify viewfs works with ADLS
> -----------------------------
>
> Key: HADOOP-14259
> URL: https://issues.apache.org/jira/browse/HADOOP-14259
> Project: Hadoop Common
> Issue Type: Test
> Components: fs/adl, viewfs
> Affects Versions: 2.8.0
> Reporter: John Zhuge
> Priority: Minor
>
> Many clusters can share a single ADL store as the default filesystem. In
> order to prevent directories of the same names but from different clusters to
> collide, use viewfs over ADLS filesystem:
> * Set {{fs.defaultFS}} to {{viewfs://clusterX}} for cluster X
> * Set {{fs.defaultFS}} to {{viewfs://clusterY}} for cluster Y
> * The viewfs client mount table should have entry clusterX and ClusterY
> Tasks
> * Verify all filesystem operations work as expected, especially rename and
> concat
> * Verify homedir entry works
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]