Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Support Questions

Find answers, ask questions, and share your expertise
Announcements
Share your experience with Cloudera on G2 and get a $25 Amazon Gift card.
Hi, I'm CLEO! Something exciting is coming to the Community. Stay Tuned!

Decommission Host / Balancer Role

avatar
Explorer

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

1 ACCEPTED SOLUTION

avatar
Master Guru

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.

View solution in original post

2 REPLIES 2

avatar
Master Guru

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.

avatar

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