Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 3DF03200B73 for ; Mon, 29 Aug 2016 19:21:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 3C703160AB8; Mon, 29 Aug 2016 17:21:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 835AA160A89 for ; Mon, 29 Aug 2016 19:21:21 +0200 (CEST) Received: (qmail 35738 invoked by uid 500); 29 Aug 2016 17:21:20 -0000 Mailing-List: contact yarn-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list yarn-issues@hadoop.apache.org Received: (qmail 35726 invoked by uid 99); 29 Aug 2016 17:21:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Aug 2016 17:21:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 8A8E32C0155 for ; Mon, 29 Aug 2016 17:21:20 +0000 (UTC) Date: Mon, 29 Aug 2016 17:21:20 +0000 (UTC) From: "Rohith Sharma K S (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-5561) [Atsv2] : Support for ability to retrieve apps/app-attempt/containers and entities via REST MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 29 Aug 2016 17:21:22 -0000 [ https://issues.apache.org/jira/browse/YARN-5561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15446476#comment-15446476 ] Rohith Sharma K S commented on YARN-5561: ----------------------------------------- Attached a patch for supporting legacy API i.e retrieving containers for an attempt-id i.e {{/apps/\{appid\}/appattempts/\{appattemptid\}/containers}}. Basically, REST calls to getContainers method construct an infofilters internally and retrieve the entities. > [Atsv2] : Support for ability to retrieve apps/app-attempt/containers and entities via REST > ------------------------------------------------------------------------------------------- > > Key: YARN-5561 > URL: https://issues.apache.org/jira/browse/YARN-5561 > Project: Hadoop YARN > Issue Type: Bug > Components: timelinereader > Reporter: Rohith Sharma K S > Assignee: Rohith Sharma K S > Attachments: YARN-5561.v0.patch > > > ATSv2 model lacks retrieval of {{list-of-all-apps}}, {{list-of-all-app-attempts}} and {{list-of-all-containers-per-attempt}} via REST API's. And also it is required to know about all the entities in an applications. > It is pretty much highly required these URLs for Web UI. > New REST URL would be > # GET {{/ws/v2/timeline/apps}} > # GET {{/ws/v2/timeline/apps/\{app-id\}/appattempts}}. > # GET {{/ws/v2/timeline/apps/\{app-id\}/appattempts/\{attempt-id\}/containers}} > # GET {{/ws/v2/timeline/apps/\{app id\}/entities}} should display list of entities that can be queried. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: yarn-issues-help@hadoop.apache.org