Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-14394

Add ability to restart all host components with stale_configs=true with one API request

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.0.0
    • 2.4.0
    • ambari-server
    • None

    Description

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

      Example:

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

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

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            swagle Siddharth Wagle
            swagle Siddharth Wagle
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment