[
https://issues.apache.org/jira/browse/AMBARI-6059?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14040801#comment-14040801
]
Jeff Sposetti commented on AMBARI-6059:
---------------------------------------
in trunk c5b53c8e109e5f0dabc91f60a174313ce60a088b June 12
> Add refreshQueues custom command to YARN service
> ------------------------------------------------
>
> Key: AMBARI-6059
> URL: https://issues.apache.org/jira/browse/AMBARI-6059
> Project: Ambari
> Issue Type: Improvement
> Affects Versions: 1.6.1
> Reporter: Jeff Sposetti
> Assignee: Jeff Sposetti
> Fix For: 1.6.1
>
>
> Call refreshqueues from the REST API (replace resource.manager.host and
> YourClusterName). And be sure to include header "X-Requested-By" : "ambari"
> and set authentication.
> {code}
> POST
> /api/v1/clusters/YourClusterName/requests/
> {
> "RequestInfo" : {
> "command" : "REFRESHQUEUES",
> "context" : "Refresh YARN Capacity Scheduler"
> },
> "Requests/resource_filters": [{
> "service_name" : "YARN",
> "component_name" : "RESOURCEMANAGER",
> "hosts" : "resource.manager.host"
> }]
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)