Return-Path: X-Original-To: apmail-hadoop-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BCBF910D1D for ; Thu, 17 Oct 2013 19:50:41 +0000 (UTC) Received: (qmail 44926 invoked by uid 500); 17 Oct 2013 19:50:35 -0000 Delivered-To: apmail-hadoop-user-archive@hadoop.apache.org Received: (qmail 44829 invoked by uid 500); 17 Oct 2013 19:50:35 -0000 Mailing-List: contact user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hadoop.apache.org Delivered-To: mailing list user@hadoop.apache.org Received: (qmail 44819 invoked by uid 99); 17 Oct 2013 19:50:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Oct 2013 19:50:35 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of john.lilley@redpoint.net designates 206.225.164.222 as permitted sender) Received: from [206.225.164.222] (HELO hub021-nj-6.exch021.serverdata.net) (206.225.164.222) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Oct 2013 19:50:27 +0000 Received: from MBX021-E3-NJ-2.exch021.domain.local ([10.240.4.78]) by HUB021-NJ-6.exch021.domain.local ([10.240.4.92]) with mapi id 14.03.0123.003; Thu, 17 Oct 2013 12:50:06 -0700 From: John Lilley To: "user@hadoop.apache.org" Subject: RE: Querying cluster nodes list Thread-Topic: Querying cluster nodes list Thread-Index: Ac7LcSgw/uTtwW5nROedzdrvxQfNMwAAODyw Date: Thu, 17 Oct 2013 19:50:05 +0000 Message-ID: <869970D71E26D7498BDAC4E1CA92226B86D8657F@MBX021-E3-NJ-2.exch021.domain.local> References: <869970D71E26D7498BDAC4E1CA92226B86D8655B@MBX021-E3-NJ-2.exch021.domain.local> In-Reply-To: <869970D71E26D7498BDAC4E1CA92226B86D8655B@MBX021-E3-NJ-2.exch021.domain.local> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [173.160.43.60] Content-Type: multipart/alternative; boundary="_000_869970D71E26D7498BDAC4E1CA92226B86D8657FMBX021E3NJ2exch_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_869970D71E26D7498BDAC4E1CA92226B86D8657FMBX021E3NJ2exch_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Ah, never mind.. it is getNodeReports() john From: John Lilley [mailto:john.lilley@redpoint.net] Sent: Thursday, October 17, 2013 1:44 PM To: user@hadoop.apache.org Subject: Querying cluster nodes list I thought mistakenly that getClusterMetrics() would return information abou= t the cluster's node, or about a queue's nodes, but this doesn't seem to be= true - it is only a count. How can a YARN application query the availabl= e node list on a cluster and what resources are configured on each node? Thanks john --_000_869970D71E26D7498BDAC4E1CA92226B86D8657FMBX021E3NJ2exch_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Ah, never mind.. it is= getNodeReports()

john=

 

From: John Lil= ley [mailto:john.lilley@redpoint.net]
Sent: Thursday, October 17, 2013 1:44 PM
To: user@hadoop.apache.org
Subject: Querying cluster nodes list

 

I thought mistakenly that getClusterMetrics() would = return information about the cluster’s node, or about a queue’s= nodes, but this doesn’t seem to be true – it is only a count.&= nbsp;  How can a YARN application query the available node list on a cluster and what resources are configured on each node?

Thanks

john

 

--_000_869970D71E26D7498BDAC4E1CA92226B86D8657FMBX021E3NJ2exch_--