Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

How to make ambari forget about decommissioned host from Ambari Metric server?

Solved Go to solution

How to make ambari forget about decommissioned host from Ambari Metric server?

Expert Contributor

I have decommissioned one node from my cluster.I included that host name in dfs.exclude, and yarn.exclude. Still ambari is showing as dead node. How to make ambari forget about the decommissioned host from cluster?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: How to make ambari forget about decommissioned host from Ambari Metric server?

Mentor

You have to decommission and then delete that node and stop the agent. it may require restart of services. @Ram D

View solution in original post

5 REPLIES 5
Highlighted

Re: How to make ambari forget about decommissioned host from Ambari Metric server?

Mentor

You have to decommission and then delete that node and stop the agent. it may require restart of services. @Ram D

View solution in original post

Highlighted

Re: How to make ambari forget about decommissioned host from Ambari Metric server?

Expert Contributor

Thank you @Artem Ervits

Highlighted

Re: How to make ambari forget about decommissioned host from Ambari Metric server?

@Ram D

Please see the official doc on decommission process http://docs.hortonworks.com/HDPDocuments/Ambari-2.1.0.0/bk_Ambari_Users_Guide/content/_how_to_decomm...

If you are using Ambari to manage the cluster then Don't decomsission manually.

Highlighted

Re: How to make ambari forget about decommissioned host from Ambari Metric server?

Contributor

I face the same problem, the alert with dead nodes doesn't clear.

The nodes were decommissioned and removed from the cluster, ambari agent is not running and i also ran the refreshnodes command.

Which services may require restart?

Thanks

Highlighted

Re: How to make ambari forget about decommissioned host from Ambari Metric server?

Expert Contributor
@Paula Morais

I got the solution for this. After decommissioning the node, first you need to check /etc/hosts file whether decommissioned host is present or not on Name node host. I am sure, it will be there, try to delete that decommissioned host name and restart Namenodes, later check /etc/hosts file. You need to restart the HDFS and Mapreduce i believe, anyway it will show you on ambari dash board which services need to be restarted. Thank you and let me know it is worked for you or not. It worked for me.

Don't have an account?
Coming from Hortonworks? Activate your account here