You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Nate Cole (JIRA)" <ji...@apache.org> on 2013/06/21 15:10:20 UTC

[jira] [Updated] (AMBARI-2458) Ambari API should be able to change component state from UNKNOWN to MAINTENANCE

     [ https://issues.apache.org/jira/browse/AMBARI-2458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nate Cole updated AMBARI-2458:
------------------------------

    Attachment: AMBARI-2458.patch
    
> Ambari API should be able to change component state from UNKNOWN to MAINTENANCE
> -------------------------------------------------------------------------------
>
>                 Key: AMBARI-2458
>                 URL: https://issues.apache.org/jira/browse/AMBARI-2458
>             Project: Ambari
>          Issue Type: Bug
>          Components: controller
>    Affects Versions: 1.2.3
>            Reporter: Nate Cole
>            Assignee: Nate Cole
>             Fix For: 1.2.5
>
>         Attachments: AMBARI-2458.patch
>
>
> Use case:  When ambari node renamed, agent is not running on old name and as a result all the components are in UNKNOWN state.
> In order to remove component from the "old" named node, it status needs to be changed to MAINTENANCE, which is not possible in current implementation.  Want to issue following:
> {noformat}
> PUT /api/v1/clusters/c1/hosts/host1/host_components/GANGLIA_MONITOR {"HostRoles": {"state" : "MAINTENANCE"}}
> DELETE /api/v1/clusters/c1/hosts/host1/host_components/GANGLIA_MONITOR 
> {noformat}

--
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