HDFS Federation was one of the new featruees introduced in Hadoop recently.
If you have read the instructions present on Apache Website
http://hadoop.apache.org/docs/current/hadoop-yarn/hadoop-yarn-site/Federation.html
It guides us to configure the Hadoop Federation.
Some of the additional things which are required are telling clients
In core-site.xml
fs.defaultFs
viewFs://ClusterID
Above means that fs.defaultFs should have value of your cluster ID
Additionally we have to tell Clients where to go for which path
fs.viewds.mounttable.MyNewClusterID.link./PATH
hdfs://NN-host1:port/PATH
The above means that for this path on cluster id go to this namenode and path
e.g
fs.viewds.mounttable.MyNewClusterID.link./fruits
hdfs://10.10.20.10:8020/fruits
Rest you follow the instructions given on apache website
Besides this there are other few good tutorials about Federation
http://blog.cloudera.com/resource/hadoop-world-2011-presentation-video-hdfs-federation/
http://www.slideshare.net/huguk/hdfs-federation-hadoop-summit2011
If you have read the instructions present on Apache Website
http://hadoop.apache.org/docs/current/hadoop-yarn/hadoop-yarn-site/Federation.html
It guides us to configure the Hadoop Federation.
Some of the additional things which are required are telling clients
In core-site.xml
fs.defaultFs
viewFs://ClusterID
Above means that fs.defaultFs should have value of your cluster ID
Additionally we have to tell Clients where to go for which path
fs.viewds.mounttable.MyNewClusterID.link./PATH
hdfs://NN-host1:port/PATH
The above means that for this path on cluster id go to this namenode and path
e.g
fs.viewds.mounttable.MyNewClusterID.link./fruits
hdfs://10.10.20.10:8020/fruits
Rest you follow the instructions given on apache website
Besides this there are other few good tutorials about Federation
http://blog.cloudera.com/resource/hadoop-world-2011-presentation-video-hdfs-federation/
http://www.slideshare.net/huguk/hdfs-federation-hadoop-summit2011