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 2015/12/16 02:37:46 UTC

[jira] [Created] (AMBARI-14394) Add ability to restart all host components with stale_configs=true with one API request

Siddharth Wagle created AMBARI-14394:
----------------------------------------

             Summary: Add ability to restart all host components with stale_configs=true with one API request
                 Key: AMBARI-14394
                 URL: https://issues.apache.org/jira/browse/AMBARI-14394
             Project: Ambari
          Issue Type: Improvement
          Components: ambari-server
    Affects Versions: 2.0.0
            Reporter: Siddharth Wagle
            Assignee: Siddharth Wagle
            Priority: Critical
             Fix For: 2.4.0


Provide ability to filter host components using a predicate that allows bulk ops like RESTART of stale configs with a simple API call.

Example:
{code}
{
  "RequestInfo": {
    "context": "Restart stale",
    "operational_level": "host_component",
    "command": "RESTART"
  },
  "Requests/resource_filters": [
    {
      "hosts_predicate": "HostRoles/stale_config=true"
    }
  ]
}
{code}

This API call should allow user to perform custom command restart on all host components with stale configurations.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)