[
https://issues.apache.org/jira/browse/AMBARI-12429?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alejandro Fernandez updated AMBARI-12429:
-----------------------------------------
Attachment: AMBARI-12429.patch
AMBARI-12429.branch-2.1.1.patch
> Deleting a host using the API causes NPE
> ----------------------------------------
>
> Key: AMBARI-12429
> URL: https://issues.apache.org/jira/browse/AMBARI-12429
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: 2.1.0
> Reporter: Alejandro Fernandez
> Assignee: Alejandro Fernandez
> Priority: Blocker
> Fix For: 2.1.1
>
> Attachments: AMBARI-12429.branch-2.1.1.patch, AMBARI-12429.patch,
> ambari-server.log
>
>
> Created a cluster with multiple hosts, then stopped all of the services on 1
> host (preferably one with only clients so it has nothing to stop). Then
> deleted the host using the API.
> E.g., curl -u admin:admin -H "X-Requested-By: ambari" -X DELETE
> http://c6401.ambari.apache.org:8080/api/v1/hosts/c6404.ambari.apache.org
> This led to Null Pointer Exceptions in ambari-server. Surprisingly, it was
> for other hosts.
> ambari-server-2.1.0-2480.x86_64
> ambari-server --hash
> 7d0fd97cc697b22357f4c499b80b8baf9a1c1dbc
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)