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

2016-09-16 Thread Kartik Mathur
*From:* Kartik Mathur >> *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

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

2016-09-16 Thread Kartik Mathur
: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 succeeded . This is the > third host I tried deleting form t

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

2016-09-16 Thread Sumit Mohanty
. From: Kartik Mathur 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 succeeded .

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

2016-09-16 Thread Kartik Mathur
hing the browser? > -- > *From:* Kartik Mathur > *Sent:* Friday, September 16, 2016 1:33 PM > *To:* Sumit Mohanty; user@ambari.apache.org > *Subject:* Re: Unable to delete host from ambari using API (HDP2.4 with > Ambari 2.2) > > No api/v1/hosts give me the same error ,

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

2016-09-16 Thread Sumit Mohanty
?This is interesting. Can you try the steps after restart ambari and refreshing the browser? From: Kartik Mathur Sent: Friday, September 16, 2016 1:33 PM To: Sumit Mohanty; user@ambari.apache.org Subject: Re: Unable to delete host from ambari using API (HDP2.4

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, Sep 16, 2016 at 12:15 PM -0

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: /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: user@ambari.apache.org Subject: Unable to