ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Speidel (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-1029) Add api support for updating multiple host_component resources for multiple hosts in a single request
Date Wed, 21 Nov 2012 21:44:57 GMT
John Speidel created AMBARI-1029:
------------------------------------

             Summary: Add api support for updating multiple host_component resources for multiple
hosts in a single request
                 Key: AMBARI-1029
                 URL: https://issues.apache.org/jira/browse/AMBARI-1029
             Project: Ambari
          Issue Type: Sub-task
            Reporter: John Speidel
            Assignee: John Speidel


Ambari UI needs ability to update multiple host_component resources for a set of hosts.  Currently
this is not possible because it is necessary to include the host resource as part of the host_component
URI.

New functionality allows a host_component URI without providing a host resource.
Example: update foo property for the DATANODE and TASKTRACKER host components for hosts "h1"
and "h2".

URI syntax:
PUT http://localhost:8080/api/v1/clusters/c1/host_components?HostRoles/host_name=h1|HostRoles/host_name=h2&HostRoles/component_name=DATANODE|HostRoles/component_name=TASKTRACKER
{
foo=bar
}

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