Created 10-22-2018 09:01 AM
Hi,
i added 2 new data node to hdfs cluster and in the same rack, will data auto move to new data node?
my old data node space are 10T per node, new data node space are 20T per node, when old data node space full, new data node only 50% usage right? or will hdfs put more data to large data node? or i need manually excute hdfs balancer when old data node full?
Thanks.
Created 10-22-2018 09:04 AM
HDFS provides a “balancer” utility to help balance the blocks across DataNodes in the cluster.
You can run "HDFS Rebalancer" from Ambari UI as described in https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.2.0/bk_ambari-operations/content/rebalancing_hd...
To initiate a balancing process, follow these steps:
You can monitor or cancel a rebalance process by opening the Background Operations window in Ambari.
.
Reference Article:
Created 10-22-2018 09:04 AM
HDFS provides a “balancer” utility to help balance the blocks across DataNodes in the cluster.
You can run "HDFS Rebalancer" from Ambari UI as described in https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.2.0/bk_ambari-operations/content/rebalancing_hd...
To initiate a balancing process, follow these steps:
You can monitor or cancel a rebalance process by opening the Background Operations window in Ambari.
.
Reference Article:
Created 10-22-2018 09:11 AM
Thanks for reply, so it only rebalance manually right?
Created 10-22-2018 09:16 AM
Rebelancing is not something which we want to schedule on hourly or daily basis hence currently there is no out of the box option to schedule it.
Ambari simply makes it easy by providing any option to run whenever it is needed.
However if you want to schedule it then you can try using Cron Jobs to do so.
Created 10-24-2018 06:13 AM
i'm tried rebalance hdfs, but failed and show
0 moved / 0 left / 0 being processed,
stderr: /var/lib/ambari-agent/data/errors-1216.txt (can not find this log)
stdout: /var/lib/ambari-agent/data/output-1216.txt (can not find this log)
looks no work, if need any action before rebalance?