ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Sposetti (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (AMBARI-6059) Add refreshQueues custom command to YARN service
Date Mon, 23 Jun 2014 14:36:24 GMT

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

Mime
View raw message