Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

How do I remove RegionServer?

avatar
Expert Contributor

I would like to know whether I can remove region server from a host and if so how do I remove it, because I do not see any option to remove it from Ambari Console.

1 ACCEPTED SOLUTION

avatar

Hi there @Pradeep kumar to remove a service from a host you need to use the Ambari API, this is all detailed in the following community article: https://community.hortonworks.com/questions/607/how-do-you-remove-a-service-from-hdp-via-ambari.html

Hope that helps!

View solution in original post

5 REPLIES 5

avatar

Hi there @Pradeep kumar to remove a service from a host you need to use the Ambari API, this is all detailed in the following community article: https://community.hortonworks.com/questions/607/how-do-you-remove-a-service-from-hdp-via-ambari.html

Hope that helps!

avatar
Expert Contributor

@drussellI want to understand whether it is necessary to decommission RegionServer, as Artem Ervits mentioned in his answer.

avatar
Master Mentor
@Pradeep kumar

with RS you do need to decomission it first. You can't just remove RS from a node and Ambari stops you from doing that, at leasts in UI, I would assume the same in API. Now a question, why would you accept an answer if you still have doubts? I recommend you test this in a dev environment.

avatar
Master Mentor

To remove RS in Ambari you need to do the following steps

1. Decommission RS

At this point Master will reassign regions across other RS and empty out the RS.

2. Now option to delete or Recommission an RS is available in Ambari.

Only after step 1 will you see an option to delete RS in Ambari.

avatar
Master Collaborator