You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Jaimin Jetly <ja...@gmail.com> on 2014/03/27 02:15:55 UTC

Review Request 19708: Add component of clients in Ambari doesn't work in a secured cluster

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

Review request for Ambari and Srimanth Gunturi.


Bugs: AMBARI-5235
    https://issues.apache.org/jira/browse/AMBARI-5235


Repository: ambari


Description
-------

The reason of bug is wrong query formation while triggering API to create clients on host.
The data sent with the POST call to create client components on the host is:
{"RequestInfo":{"context":"Install Clients"},"Body":{"host_components":[{"HostRoles":{"component_name":"CLIENTS"}}]}}
This is incorrect. There is no component with name "CLIENTS".


Diffs
-----

  ambari-web/app/controllers/main/host/details.js 9ac2690 

Diff: https://reviews.apache.org/r/19708/diff/


Testing
-------

Tested the patch on secured cluster


Thanks,

Jaimin Jetly


Re: Review Request 19708: Add component of clients in Ambari doesn't work in a secured cluster

Posted by Jaimin Jetly <ja...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19708/
-----------------------------------------------------------

(Updated March 27, 2014, 1:25 a.m.)


Review request for Ambari and Srimanth Gunturi.


Bugs: AMBARI-5235
    https://issues.apache.org/jira/browse/AMBARI-5235


Repository: ambari


Description
-------

The reason of bug is wrong query formation while triggering API to create clients on host.
The data sent with the POST call to create client components on the host is:
{"RequestInfo":{"context":"Install Clients"},"Body":{"host_components":[{"HostRoles":{"component_name":"CLIENTS"}}]}}
This is incorrect. There is no component with name "CLIENTS".


Diffs
-----

  ambari-web/app/controllers/main/host/details.js 9ac2690 

Diff: https://reviews.apache.org/r/19708/diff/


Testing (updated)
-------

Tested the patch on secured and unsecure cluster


Thanks,

Jaimin Jetly