You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Kartik Mathur (JIRA)" <ji...@apache.org> on 2016/09/20 06:49:22 UTC

[jira] [Updated] (AMBARI-18422) Unable to cleanly delete host using ambari 2.2 rest API

     [ https://issues.apache.org/jira/browse/AMBARI-18422?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kartik Mathur updated AMBARI-18422:
-----------------------------------
    Environment: Cluster with every host being a container
    Description: 
I have a 7 node (7 containers) HDP 2.4 cluster with ambari 2.2 

I am trying to delete a host using the following steps - 

I am using ambari rest apis- 

1) Decommission data node and node manager on the host
2) Stop all services running on the host
3) Delete all services on the host
uptill this point everything is fine
4) Delete host using the api
5) stop ambari-agent on the deleted host.

The problem is in step 4 , which always gives me "server error" while trying to delete and the ambari logs gives "No Host" exception. 

Interestingly the host disappears from Ambari UI however the db is in an inconsistent state and there are alerts complaining for dead data nodes. 

Even tried the same from Ambari UI but I get the same error.


  was:
I have a 7 node HDP 2.4 cluster with ambari 2.2

I am trying to delete a host using the following steps - 

I am using ambari rest apis- 

1) Decommission data node and node manager on the host
2) Stop all services running on the host
3) Delete all services on the host
uptill this point everything is fine
4) Delete host using the api
5) stop ambari-agent on the deleted host.

The problem is in step 4 , which always gives me "server error" while trying to delete and the ambari logs gives "No Host" exception. 

Interestingly the host disappears from Ambari UI however the db is in an inconsistent state and there are alerts complaining for dead data nodes. 

Even tried the same from Ambari UI but I get the same error.



> Unable to cleanly delete host using ambari 2.2 rest API 
> --------------------------------------------------------
>
>                 Key: AMBARI-18422
>                 URL: https://issues.apache.org/jira/browse/AMBARI-18422
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server, blueprints
>    Affects Versions: 2.2.0
>         Environment: Cluster with every host being a container
>            Reporter: Kartik Mathur
>             Fix For: 2.2-next
>
>
> I have a 7 node (7 containers) HDP 2.4 cluster with ambari 2.2 
> I am trying to delete a host using the following steps - 
> I am using ambari rest apis- 
> 1) Decommission data node and node manager on the host
> 2) Stop all services running on the host
> 3) Delete all services on the host
> uptill this point everything is fine
> 4) Delete host using the api
> 5) stop ambari-agent on the deleted host.
> The problem is in step 4 , which always gives me "server error" while trying to delete and the ambari logs gives "No Host" exception. 
> Interestingly the host disappears from Ambari UI however the db is in an inconsistent state and there are alerts complaining for dead data nodes. 
> Even tried the same from Ambari UI but I get the same error.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)