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 773F810CE2 for ; Thu, 17 Oct 2013 19:44:16 +0000 (UTC) Received: (qmail 26715 invoked by uid 500); 17 Oct 2013 19:44:08 -0000 Delivered-To: apmail-hadoop-user-archive@hadoop.apache.org Received: (qmail 26582 invoked by uid 500); 17 Oct 2013 19:44:02 -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 26571 invoked by uid 99); 17 Oct 2013 19:44:01 -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:44:01 +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.233 as permitted sender) Received: from [206.225.164.233] (HELO hub021-nj-8.exch021.serverdata.net) (206.225.164.233) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Oct 2013 19:43:54 +0000 Received: from MBX021-E3-NJ-2.exch021.domain.local ([10.240.4.78]) by HUB021-NJ-8.exch021.domain.local ([10.240.4.117]) with mapi id 14.03.0123.003; Thu, 17 Oct 2013 12:43:32 -0700 From: John Lilley To: "user@hadoop.apache.org" Subject: Querying cluster nodes list Thread-Topic: Querying cluster nodes list Thread-Index: Ac7LcSgw/uTtwW5nROedzdrvxQfNMw== Date: Thu, 17 Oct 2013 19:43:32 +0000 Message-ID: <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_869970D71E26D7498BDAC4E1CA92226B86D8655BMBX021E3NJ2exch_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_869970D71E26D7498BDAC4E1CA92226B86D8655BMBX021E3NJ2exch_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 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_869970D71E26D7498BDAC4E1CA92226B86D8655BMBX021E3NJ2exch_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

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_869970D71E26D7498BDAC4E1CA92226B86D8655BMBX021E3NJ2exch_--