Return-Path: X-Original-To: apmail-ambari-user-archive@www.apache.org Delivered-To: apmail-ambari-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6242711049 for ; Thu, 12 Jun 2014 17:19:44 +0000 (UTC) Received: (qmail 86917 invoked by uid 500); 12 Jun 2014 17:19:40 -0000 Delivered-To: apmail-ambari-user-archive@ambari.apache.org Received: (qmail 86841 invoked by uid 500); 12 Jun 2014 17:19:40 -0000 Mailing-List: contact user-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ambari.apache.org Delivered-To: mailing list user@ambari.apache.org Received: (qmail 86761 invoked by uid 99); 12 Jun 2014 17:19:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Jun 2014 17:19:40 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of vignesh.viki@gmail.com designates 74.125.82.52 as permitted sender) Received: from [74.125.82.52] (HELO mail-wg0-f52.google.com) (74.125.82.52) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Jun 2014 17:19:38 +0000 Received: by mail-wg0-f52.google.com with SMTP id b13so1582482wgh.11 for ; Thu, 12 Jun 2014 10:19:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=NeJ+Pukh5/JldOIhfitZz9Jd4lOG70q4ysNNEWuCdkY=; b=jhvGRseAWaYDVHWrLzeVQpWMGxXVR0uM6hrYFzA6nHJNzieTHuvnMNZO1GFDo/kj7x wYy0x3RMqM335nQCFi9l6XNlpoD2JWOcvMuwrGJBhnBy8yc4H5X6IZha7y0Wy9nHJSmd /9tRyoEq8nlU/M+ablMbMA3T2U5mr8YkGy8wKqs+YyykcC0xCTq2lkSbECfxK39K6PyW mywuueQZYsLPMqus1pG1KNm3f4kvk5g3lILwB46BXMxzGZ4Elgmgc7zi72J4YFGR58JL bmO9Q6VsQId2TUPjl9N3cjAgicz8UyToTRsGWHx/0fikVRAy9JME+Ly7RsMx8TMfqoeg lP4w== MIME-Version: 1.0 X-Received: by 10.194.87.170 with SMTP id az10mr61895807wjb.1.1402593554853; Thu, 12 Jun 2014 10:19:14 -0700 (PDT) Received: by 10.194.95.40 with HTTP; Thu, 12 Jun 2014 10:19:14 -0700 (PDT) Date: Thu, 12 Jun 2014 10:19:14 -0700 Message-ID: Subject: How to get Yarn application level stats From: Vignesh To: user@ambari.apache.org Content-Type: multipart/alternative; boundary=089e010d867c99faf304fba6c237 X-Virus-Checked: Checked by ClamAV on apache.org --089e010d867c99faf304fba6c237 Content-Type: text/plain; charset=UTF-8 Hi, What API call do use to get list of (YarnApplicationID, numberOfAllocatedContainers)? And are there stats at Yarn container level available through API? I looked at list of APIs here( https://github.com/apache/ambari/blob/trunk/ambari-server/docs/api/v1/index.md) and couldn't find out an API that will give above two. Thanks, Vignesh. --089e010d867c99faf304fba6c237 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,

What API call do use to get list of= (YarnApplicationID, numberOfAllocatedContainers)?
And are there = stats at Yarn container level available through API?

I looked at list of APIs here(https://github.com/apache/amb= ari/blob/trunk/ambari-server/docs/api/v1/index.md) =C2=A0and couldn'= ;t find out an API that will give above two.

Thanks,
Vignesh.


--089e010d867c99faf304fba6c237--