[
https://issues.apache.org/jira/browse/AMBARI-1626?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sumit Mohanty updated AMBARI-1626:
----------------------------------
Assignee: Sumit Mohanty
> API support to upgrade host component
> -------------------------------------
>
> Key: AMBARI-1626
> URL: https://issues.apache.org/jira/browse/AMBARI-1626
> Project: Ambari
> Issue Type: Sub-task
> Affects Versions: 1.3.0
> Reporter: Sumit Mohanty
> Assignee: Sumit Mohanty
> Fix For: 1.3.0
>
> Attachments: AMBARI-1425.patch
>
> Original Estimate: 72h
> Remaining Estimate: 72h
>
> Need to wire-up upgrade task support with a PUT action that generates the
> stage/task plan for upgrading a single host-component and returns a request
> id. The PUT action essentially tries to update the desired version number for
> the host component and if the current stack version is not same as desired
> then performs the necessary stage/task creation.
> Something like
> curl --user admin:admin -i -X PUT -d '{"HostRoles": {"stack_id" :
> "HDP-1.2.2"}}'
> http://server:8080/api/v1/clusters/c1/hosts/host1/host_components/HIVE_CLIENT
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira