You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Siddharth Wagle (JIRA)" <ji...@apache.org> on 2013/03/14 18:02:13 UTC

[jira] [Commented] (AMBARI-1626) API support to upgrade host component

    [ https://issues.apache.org/jira/browse/AMBARI-1626?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13602429#comment-13602429 ] 

Siddharth Wagle commented on AMBARI-1626:
-----------------------------------------

+1
                
> 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:password -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