Return-Path: X-Original-To: apmail-hadoop-yarn-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-yarn-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EC8F817586 for ; Mon, 27 Apr 2015 18:55:40 +0000 (UTC) Received: (qmail 45114 invoked by uid 500); 27 Apr 2015 18:55:40 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 45051 invoked by uid 500); 27 Apr 2015 18:55:40 -0000 Mailing-List: contact yarn-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: yarn-issues@hadoop.apache.org Delivered-To: mailing list yarn-issues@hadoop.apache.org Received: (qmail 45038 invoked by uid 99); 27 Apr 2015 18:55:40 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Apr 2015 18:55:40 +0000 Date: Mon, 27 Apr 2015 18:55:40 +0000 (UTC) From: "Wangda Tan (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-2408) Resource Request REST API for YARN MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/YARN-2408?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D14514= 701#comment-14514701 ]=20 Wangda Tan commented on YARN-2408: ---------------------------------- [~rdelvalle], Just went through this JIRA as well as discussion. I found you removed patc= hes attached in the JIRA, is there any specific reason to do so? I think th= is may be an useful API, recently we have some patch in web UI to show requ= ests and relationship between requests/allocations. So I think REST API cha= nges should be added as well, getting app's ResourceRequests can be the fir= st step. > Resource Request REST API for YARN > ---------------------------------- > > Key: YARN-2408 > URL: https://issues.apache.org/jira/browse/YARN-2408 > Project: Hadoop YARN > Issue Type: New Feature > Components: webapp > Reporter: Renan DelValle > Labels: features > > I=E2=80=99m proposing a new REST API for YARN which exposes a snapshot of= the Resource Requests that exist inside of the Scheduler. My motivation be= hind this new feature is to allow external software to monitor the amount o= f resources being requested to gain more insightful information into cluste= r usage than is already provided. The API can also be used by external soft= ware to detect a starved application and alert the appropriate users and/or= sys admin so that the problem may be remedied. > Here is the proposed API (a JSON counterpart is also available): > {code:xml} > > 7680 > 7 > > application_1412191664217_0001 > appattempt_1412191664217_0001_000001 > default > 6144 > 6 > 3 > > > 1024 > 1 > 6 > true > 20 > > localMachine > /default-rack > * > > > > > > ... > > > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)