incubator-ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sumit Mohanty (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-1626) API support to upgrade host component
Date Wed, 13 Mar 2013 18:14:12 GMT
Sumit Mohanty created AMBARI-1626:
-------------------------------------

             Summary: 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
             Fix For: 1.3.0


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

Mime
View raw message