Running the balancer in Cloudera Hadoop

I just started to play with Cloudera Manager 5.0.1 and a small fresh setup cluster. It has six datanodes with a total capacity of 16.84 TB, one Namenode and another node for the Cloudera Manager and other services. From start on, I was wondering how to start the HDFS balancer.

Short answer:

To run the balancer you need to add the balancer role to any node in you cluster!

I will show you how to do that with a few simple steps (I assume you have a cluster with CDH >= 4.3.0 up and running with at least the HDFS service).

Login to the cloudera manager

  • Select the service "HDFS" from the Cluster you like to enable the balancer

  • Select the "Instances" tab, set the checkbox for the node you like to add the balancer role (I selected the NameNode host) and click "Add"

  • Add the role "Balancer" to this node

  • Click "Continue" to add the role.

That's it! No need to restart, no need to change anything else!

Now you can run the balancer from the "Actions" menu available in the HDFS service in th top right corner.

For additional information refer to the official Adding Role Instances guide and the guide forRunning the Balancer.


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值