incubator-ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nate Cole (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-1627) Add ability to remove host override
Date Mon, 18 Mar 2013 16:46:15 GMT

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

Nate Cole commented on AMBARI-1627:
-----------------------------------

Here is the way you would clear an override:
{noformat}
PUT /api/v1/hosts/h1
{
  "Hosts": {
    "desired_config": {
      "type": "global",
      "tag": "version1363296798010_nate.dev.com",
      "selected": false
    }
  }
{noformat}

The tag and version must match in order to disable the configuration, and the selected flag
must already be active.  Otherwise, adding {{"selected": false}} has no effect.
                
> Add ability to remove host override
> -----------------------------------
>
>                 Key: AMBARI-1627
>                 URL: https://issues.apache.org/jira/browse/AMBARI-1627
>             Project: Ambari
>          Issue Type: Sub-task
>    Affects Versions: 1.3.0
>            Reporter: Nate Cole
>            Assignee: Nate Cole
>             Fix For: 1.3.0
>
>         Attachments: AMBARI-1627.patch
>
>
> In addition to creating a host override, provide the ability to disable it.

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