Re: Unable to delete host from ambari using API (HDP2.4 with Ambari 2.2)

2016-09-16 Thread Kartik Mathur
ments. >> -- >> *From:* Kartik Mathur <kar...@bluedata.com> >> *Sent:* Friday, September 16, 2016 3:26 PM >> >> *To:* Sumit Mohanty; user@ambari.apache.org >> *Subject:* Re: Unable to delete host from ambari using API (HDP2.4 with &g

Re: Unable to delete host from ambari using API (HDP2.4 with Ambari 2.2)

2016-09-16 Thread Kartik Mathur
uedata.com> > *Sent:* Friday, September 16, 2016 3:26 PM > > *To:* Sumit Mohanty; user@ambari.apache.org > *Subject:* Re: Unable to delete host from ambari using API (HDP2.4 with > Ambari 2.2) > > Hi Sumit, > > I don't see the host anymore but my delete never succeed

Re: Unable to delete host from ambari using API (HDP2.4 with Ambari 2.2)

2016-09-16 Thread Sumit Mohanty
. From: Kartik Mathur <kar...@bluedata.com> Sent: Friday, September 16, 2016 3:26 PM To: Sumit Mohanty; user@ambari.apache.org Subject: Re: Unable to delete host from ambari using API (HDP2.4 with Ambari 2.2) Hi Sumit, I don't see the host anymore but my

Re: Unable to delete host from ambari using API (HDP2.4 with Ambari 2.2)

2016-09-16 Thread Kartik Mathur
No api/v1/hosts give me the same error , host not found. Can you suggest how to debug this ? Thanks Kartik On Fri, Sep 16, 2016 at 12:22 PM, Sumit Mohanty wrote: > Can you delete from api/v1/hosts too? > > Get Outlook for iOS > > > > > On Fri,

Re: Unable to delete host from ambari using API (HDP2.4 with Ambari 2.2)

2016-09-16 Thread Kartik Mathur
Hi Sumit thanks for replying , I stopped ambari-agent on the host and restarted ambari server now I am getting host not found from UI as well as from the api , however I can still see the host on ambari UI. This is the message from ambari UI 404 status codereceived on DELETE method for API:

Re: Unable to delete host from ambari using API (HDP2.4 with Ambari 2.2)

2016-09-16 Thread Sumit Mohanty
?Have you stopped the agent running on the host? If not then it will re-register. After stopping the agent, delete the host from api/v1/hosts/ as well. From: Kartik Mathur Sent: Thursday, September 15, 2016 11:43 PM To: