hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Varun Saxena (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-5561) [Atsv2] : Support for ability to retrieve apps/app-attempt/containers and entities via REST
Date Mon, 29 Aug 2016 16:28:20 GMT

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

Varun Saxena commented on YARN-5561:
------------------------------------

Copying my comment over from YARN-5571.

If we have to support fetching all the apps within a cluster, upto a limit, this currently
is not advisable in HBase implementation as it would lead to a full table scan or a very large
scan. Because the API guarantees returning entities in a descending order by created time.
This would mean that we will go through each row to determine the result set.

It is about taking one of the choices. Do we want to drill down to apps via flows or list
all the apps in a cluster.

We can discuss further in the team on this, depending on the use case. And see if we can have
some workaround.

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