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] [Created] (AMBARI-4761) A single API call to toggle Maintenance Mode for multiple hosts is creating multiple requests
Date Thu, 20 Feb 2014 16:15:21 GMT
Nate Cole created AMBARI-4761:
---------------------------------

             Summary: A single API call to toggle Maintenance Mode for multiple hosts is creating
multiple requests
                 Key: AMBARI-4761
                 URL: https://issues.apache.org/jira/browse/AMBARI-4761
             Project: Ambari
          Issue Type: Task
          Components: controller
            Reporter: Nate Cole
            Assignee: Nate Cole
             Fix For: 1.5.0


This call should only generate one request
{noformat}
PUT /api/v1/clusters/c1/hosts
{
  "RequestInfo": {
    "context": "Turn On Maintenance Mode for hosts",
   "query":  "Hosts/host_name.in(c6401.ambari.apache.org,c6402.ambari.apache.org,c6403.ambari.apache.org)"
    },
    "Body": { 
      "Hosts": {
         "passive_state": "PASSIVE"
       }
    }
}
{noformat}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message