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] [Work logged] (AMBARI-1626) API support to upgrade host component
Date Thu, 21 Mar 2013 06:27:17 GMT

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

Sumit Mohanty logged work on AMBARI-1626:
-----------------------------------------

                Author: Sumit Mohanty
            Created on: 21/Mar/13 06:26
            Start Date: 21/Mar/13 06:26
    Worklog Time Spent: 24h 

Issue Time Tracking
-------------------

            Worklog Id:     (was: 14434)
            Time Spent: 24h
    Remaining Estimate: 0h  (was: 24h)

> 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-1626.patch
>
>   Original Estimate: 24h
>          Time Spent: 24h
>  Remaining Estimate: 0h
>
> 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

Mime
View raw message