-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/45785/#review127282
-----------------------------------------------------------


Ship it!




Ship It!

- Sumit Mohanty


On April 6, 2016, 4 a.m., Ajit Kumar wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/45785/
> -----------------------------------------------------------
> 
> (Updated April 6, 2016, 4 a.m.)
> 
> 
> Review request for Ambari, Jayush Luniya and Sumit Mohanty.
> 
> 
> Bugs: AMBARI-15726
>     https://issues.apache.org/jira/browse/AMBARI-15726
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Removing unknown host from cluster throws NPE. API call:
> curl -u admin:admin  -H 'X-Requested-By: ambari' -X DELETE  
> http://c6401.ambari.apache.org:8080/api/v1/clusters/a/hosts/c6402.ambari.apache.org
> {
>   "status": 500,
>   "message": "Server Error"
> }
> 
> 
> Diffs
> -----
> 
>   
> ambari-server/src/main/java/org/apache/ambari/server/state/cluster/ClustersImpl.java
>  6c1e56e 
> 
> Diff: https://reviews.apache.org/r/45785/diff/
> 
> 
> Testing
> -------
> 
> curl -u admin:admin  -H 'X-Requested-By: ambari' -X DELETE  
> http://c6401.ambari.apache.org:8080/api/v1/clusters/a/hosts/c6402.ambari.apache.org
> {
>   "status" : 404,
>   "message" : 
> "org.apache.ambari.server.controller.spi.NoSuchResourceException: The 
> specified resource doesn't exist: Host not found, 
> hostname=c6402.ambari.apache.org"
> }
> 
> 
> Thanks,
> 
> Ajit Kumar
> 
>

Reply via email to