hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rohith Sharma K S (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (YARN-5561) [Atsv2] : Support for ability to retrieve apps/app-attempt/containers and entities via REST
Date Mon, 12 Sep 2016 04:27:20 GMT

    [ https://issues.apache.org/jira/browse/YARN-5561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15482923#comment-15482923
] 

Rohith Sharma K S edited comment on YARN-5561 at 9/12/16 4:26 AM:
------------------------------------------------------------------

In *Li lu*'s REST endpoint list, there is one end point which is missed i.e listing all the
apps for given flow name */users/\{userid\}/flows/\{flowname\}/apps/*. This also use full
API

bq. And based on use case of Rohith maybe list all apps within a cluster as well.
This is one of the objective of this JIRA when I reported. But there is another end point
from which apps can be retrieved i.e at flow name, the client can get all the flows in the
cluster and for each flow, client can retrieve the apps using above specified path. So, let
me confirm with Sunil does new UI has such use case to get all the apps per cluster. If so,
I will refresh the patch. 
cc:/ [~sunilg]


was (Author: rohithsharma):
In *Li lu*'s REST endpoint list, there is one end point which is missed i.e listing all the
apps for given flow name */users/{userid}/flows/{flowname}/apps/*. 

bq. And based on use case of Rohith maybe list all apps within a cluster as well.
This is one of the objective of this JIRA when I reported. But there is another end point
from which apps can be retrieved i.e at flow name, the client can get all the flows in the
cluster and for each flow, client can retrieve the apps using above specified path. So, let
me confirm with Sunil does new UI has such use case to get all the apps per cluster. If so,
I will refresh the patch. 
cc:/ [~sunilg]

> [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: Sub-task
>          Components: timelinereader
>            Reporter: Rohith Sharma K S
>            Assignee: Rohith Sharma K S
>         Attachments: YARN-5561.patch, 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


Mime
View raw message