Created 11-09-2017 10:47 AM
@Jay Kumar SenSharma kindly help.
I had removed one data node from the cluster of five node.
Now i am adding the new data node to the cluster. If i do balance data will the data will be replicated (Existing replication factor is 3)to my newly added Data Node.
Created 11-09-2017 10:50 AM
New data will be replicated to the newly added data node. But if you want to rebalance your cluster then it is best if you run the "HDFS Rebalancer" from ambari UI or via command line.
HDFS provides a “balancer” utility to help balance the blocks across DataNodes in the cluster.
Ambari UI --> HDFS --> Service Actions --> HDFS Rebalance<br>
(OR)
# su - hdfs -c "hdfs --config /usr/hdp/current/hadoop-client/conf balancer -threshold 10"
Created 11-09-2017 10:50 AM
New data will be replicated to the newly added data node. But if you want to rebalance your cluster then it is best if you run the "HDFS Rebalancer" from ambari UI or via command line.
HDFS provides a “balancer” utility to help balance the blocks across DataNodes in the cluster.
Ambari UI --> HDFS --> Service Actions --> HDFS Rebalance<br>
(OR)
# su - hdfs -c "hdfs --config /usr/hdp/current/hadoop-client/conf balancer -threshold 10"