You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@ambari.apache.org by Ajit Kumar <aj...@hortonworks.com> on 2016/04/06 06:00:22 UTC
Review Request 45785: Removing unknown host from cluster throws NPE
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/45785/
-----------------------------------------------------------
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
Re: Review Request 45785: Removing unknown host from cluster throws
NPE
Posted by Sumit Mohanty <sm...@hortonworks.com>.
-----------------------------------------------------------
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
>
>
Re: Review Request 45785: Removing unknown host from cluster throws
NPE
Posted by Jayush Luniya <jl...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/45785/#review127285
-----------------------------------------------------------
Ship it!
Ship It!
- Jayush Luniya
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
>
>