Thank you for all your help -- I appreciate it. Does Ambari support completely removing hosts via the API? I could conceivably decommission the node, then remove it completely from Ambari (if this can be done), then re-install and join it to the cluster under a new name.
Assuming this is possible, would I then later be able to join another node to the cluster under the old name that was removed? On Wed, Aug 14, 2013 at 2:43 AM, Sumit Mohanty <[email protected]>wrote: > At this point, Ambari does not support deleting components. So when the > host is brought back up online then Ambari will think that the components > are already deployed and it will not allow you to deploy again. However, if > the host comes back up with a different name you can use the Add Host > feature to add the host to the cluster as well as deploy the components. > This way you will get the processing capacity back except you will see some > components always in UNKNOWN state (these components are the ones mapped to > host that no longer exists). > > I assume you are using Ambari version 1.2.4.9. > > Feel free to to open JIRAs if you identify any improvements. > > From: Chadwick Banning <[email protected]> > Reply-To: <[email protected]> > Date: Tuesday, August 13, 2013 8:31 AM > To: <[email protected]> > Subject: Re: Remove and re-add node > > The node has the following installed: > > - DataNode > - Ganglia Monitor > - HBase Regionserver > - TaskTrack > - Clients: HBase Client, HCat, HDFS Client, MapReduce Client, Oozie > Client, Pig, Sqoop, ZooKeeper Client > > > > > On Tue, Aug 13, 2013 at 11:18 AM, Sumit Mohanty > <[email protected]>wrote: > >> Do you have any hadoop component installed on that node? If not, then the >> steps you have described will work. After the agent comes up and registers >> with the same name as before it will work. >> >> From: Chadwick Banning <[email protected]> >> Reply-To: <[email protected]> >> Date: Tuesday, August 13, 2013 7:01 AM >> To: <[email protected]> >> Subject: Remove and re-add node >> >> Quick question -- >> >> Is there a way to remove a node from Ambari and then re-add it? I have a >> cluster member thats having issues and I would like to remove it, >> re-install the OS, and then re-join it to the cluster. >> >> Would I be able to just shutdown the machine, re-install the OS (which is >> on disks separate from the data disks), restart the machine, re-install the >> ambari-agent manually and have Ambari take over from there? >> > > > CONFIDENTIALITY NOTICE > NOTICE: This message is intended for the use of the individual or entity > to which it is addressed and may contain information that is confidential, > privileged and exempt from disclosure under applicable law. If the reader > of this message is not the intended recipient, you are hereby notified that > any printing, copying, dissemination, distribution, disclosure or > forwarding of this communication is strictly prohibited. If you have > received this communication in error, please contact the sender immediately > and delete it from your system. Thank You.
