Support Questions
Find answers, ask questions, and share your expertise

How do I remove RegionServer?

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

Accepted Solutions

Re: How do I remove RegionServer?

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

Re: How do I remove RegionServer?

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

Re: How do I remove RegionServer?

Expert Contributor

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

Re: How do I remove RegionServer?

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.

Re: How do I remove RegionServer?

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.

Re: How do I remove RegionServer?

Expert Contributor