ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmytro Sen" <d...@hortonworks.com>
Subject Re: Review Request 29324: API call used by Install Wizard to retry installation does not work
Date Tue, 23 Dec 2014 12:29:57 GMT

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

Ship it!


Ship It!

- Dmytro Sen


On Дек. 22, 2014, 9:17 п.п., Dmitro Lisnichenko wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/29324/
> -----------------------------------------------------------
> 
> (Updated Дек. 22, 2014, 9:17 п.п.)
> 
> 
> Review request for Ambari, Dmytro Sen and Nate Cole.
> 
> 
> Bugs: AMBARI-8868
>     https://issues.apache.org/jira/browse/AMBARI-8868
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> PUT /api/v1/clusters/y1/host_components?HostRoles/state=INSTALLED
> Form Data:
> {"RequestInfo":{"context":"Install Components","operation_level":{"level":"CLUSTER","cluster_name":"y1"}},"Body":{"HostRoles":
> {"state":"INSTALLED"}
> }}
> Server response:
> { "status" : 400, "message" : "java.lang.IllegalArgumentException: Invalid arguments,
cluster name, component name and host name should be provided" }
> I saw another failure pattern where the same call returns 500.
> Please try testing this scenario end to end with the UI.
> You can just do a single node install and force invoke failure by renaming /var/lib/ambari-agent
dir, for example.
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/java/org/apache/ambari/server/controller/internal/HostComponentResourceProvider.java
47d3f70 
>   ambari-server/src/test/java/org/apache/ambari/server/controller/internal/HostComponentResourceProviderTest.java
0ffc6e1 
> 
> Diff: https://reviews.apache.org/r/29324/diff/
> 
> 
> Testing
> -------
> 
> in progress
> 
> 
> Thanks,
> 
> Dmitro Lisnichenko
> 
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message