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)

Reply via email to