0

I was checking the hadoop federation. Here the data nodes are common, only namespace will be different. How can we exclude some datanodes only from one namespace.

Vin
  • 515
  • 3
  • 17
Rahul
  • 459
  • 2
  • 13

2 Answers2

0

In decommissioning the nodes that need to be decommissioned are added to the exclude file at all of the Namenodes. Each Namenode decommissions its Block Pool. When all the Namenodes finish decommissioning a Datanode, the Datanode is considered decommissioned.

For more details, you can have a look at: https://hadoop.apache.org/docs/r2.7.2/hadoop-project-dist/hadoop-hdfs/Federation.html#Decommissioning

Vin
  • 515
  • 3
  • 17
  • Dear Vin, as i mentioned i want to remove a datanode from only one of the namenode not from both. – Rahul Nov 13 '18 at 20:09
  • @Rahul As per my understanding, you can't do that because either that data node will be connected to the cluster or not. And if it is there in the cluster it should get updated in each namespace otherwise it violates the data integrity – Vin Nov 13 '18 at 20:36
0

You can just decommissioning a DataNode from one of the Namespace.

סטנלי גרונן
  • 2,917
  • 23
  • 46
  • 68