Skip to main content
DataMike
Silver ⭐️⭐️
July 11, 2019
Solved

Decommission Host / Balancer Role

Hi, we need to decommission a host that the HDFS "Balancer" role resides on.  I don't see a way to migrate that role in CM.  Will the decommission process automatically assign it to a different host?

 

Regards,

Michael

bgooley
bgooleyAnswer
Gold ⭐️
July 11, 2019

Hi @DataMike ,

 

I believe the following should work (decommissioning probably won't include adding the role to another host):

 

(1)

In CM, Navigate to HDFS --> Instances

 

(2)

 

Check the box next to the "balancer" role.

 

(3)

 

From the Actions for Selected drop-down, choose Delete

 

(4)

 

Add the role back by clicking the Add Role Instances button

 

(5)

 

In the wizard, chose the "balancer" role and select the host on which you want it to run

(complete the wizard)

 

I do not believe anything else would need to be done as the configuration for the balancer will be retained even without the role existing.

2 replies

bgooley
Gold ⭐️
bgooleyAnswer
Gold ⭐️
July 11, 2019

Hi @DataMike ,

 

I believe the following should work (decommissioning probably won't include adding the role to another host):

 

(1)

In CM, Navigate to HDFS --> Instances

 

(2)

 

Check the box next to the "balancer" role.

 

(3)

 

From the Actions for Selected drop-down, choose Delete

 

(4)

 

Add the role back by clicking the Add Role Instances button

 

(5)

 

In the wizard, chose the "balancer" role and select the host on which you want it to run

(complete the wizard)

 

I do not believe anything else would need to be done as the configuration for the balancer will be retained even without the role existing.

Translate
asd233413412
Silver ⭐️
July 17, 2019

It would be safe if you remove balancer role.

balancer is required only when there is data incosistency.stop the role and follow below steps.

You can goto HDFS-> instances -> select balancer -> migrate roles and specify target host.

 

Regards,

Asim

 

Translate