You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Jeff Sposetti (JIRA)" <ji...@apache.org> on 2014/06/23 16:36:24 UTC
[jira] [Resolved] (AMBARI-6059) Add refreshQueues custom command to
YARN service
[ https://issues.apache.org/jira/browse/AMBARI-6059?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jeff Sposetti resolved AMBARI-6059.
-----------------------------------
Resolution: Fixed
> 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)