Summary :
Rebalance option is greyed out in the Cloudera Manager under the HDFS -1 or Balancer Actions dropdown menu.Symptoms
The Rebalance option is grayed out in the Cloudera Manager under the HDFS -1 or Balancer Actions menu. You have verified that they are no currently running Balancer operations under the HDFS-1->Balancer Instance->Commands tab. The HDFS Balancer menu option is normally greyed out if there is a active Balancer job running.
Instructions
To diagnose and workaround this issue, perform the following actions:
- Log into the Cloudera Manager SQL database and check the status of BALANCER in the Cloudera Manager database using the following command.
select CONFIGURED_STATUS, ROLE_TYPE FROM ROLES where ROLE_TYPE = "BALANCER" ;
- The normal status is NA. If the status returned is BUSY then the status must be changed to NA using the following command.
update ROLES set CONFIGURED_STATUS="NA" where ROLE_TYPE = "BALANCER";
- Re-execute the select statement to check to ensure the configured_status is now indicating the correct state.
- After changing the status the Rebalance option should no longer be greyed out in Cloudera Manager.