Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 12D9B1068C for ; Mon, 23 Jun 2014 14:36:25 +0000 (UTC) Received: (qmail 75470 invoked by uid 500); 23 Jun 2014 14:36:24 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 75387 invoked by uid 500); 23 Jun 2014 14:36:24 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 75099 invoked by uid 99); 23 Jun 2014 14:36:24 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Jun 2014 14:36:24 +0000 Date: Mon, 23 Jun 2014 14:36:24 +0000 (UTC) From: "Jeff Sposetti (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (AMBARI-6059) Add refreshQueues custom command to YARN service MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)