Database Reference
In-Depth Information
<property>
<name>fs.defaultFS</name>
<value>viewfs:///</value>
</property>
2. Add the following two properties to define the mount points:
<property>
<name>fs.viewfs.mounttable.default.link./n1</name>
<value>hdfs://node1.hcluster:8020/</value>
</property>
<property>
<name>fs.viewfs.mounttable.default.link./n2</name>
<value>hdfs://node2.hcluster:8020/</value>
</property>
3. Test the defined mount points by listing the files and folders. The following
screenshot shows the list of files in each namenode:
The results exactly to the results match the commands using the fully qualified name of
the namenode.
The cluster is now ready with a federated HDFS.
Search WWH ::




Custom Search