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

Varun Saxena commented on YARN-3051:
------------------------------------

Sorry for the mistake. Last 2 APIs' are as under :
{code} TimelineEntity getEntity(String entityId, String entityType,
      Collection<String> confs, Collection<String> metrics,
      EnumSet<Field> fieldsToRetrieve) throws IOException;
{code}
Similar to above. Gets a single entity based on entityid and entitytype. Need 
to discuss how cluster id, flow id, flow run id,  etc. would impact this API.

{code}
TimelineEvents getEntityTimelines(String entityType,
SortedSet<String> entityIds, long limit, long windowStart,
long windowEnd, Set<String> eventTypes) throws IOException;
{code}
This API gets list of events for a list of entities for a given entity type. 
The event types can also be restricted. Carried over from ATS v1.

> [Storage abstraction] Create backing storage read interface for ATS readers
> ---------------------------------------------------------------------------
>
>                 Key: YARN-3051
>                 URL: https://issues.apache.org/jira/browse/YARN-3051
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: timelineserver
>            Reporter: Sangjin Lee
>            Assignee: Varun Saxena
>         Attachments: YARN-3051_temp.patch
>
>
> Per design in YARN-2928, create backing storage read interface that can be 
> implemented by multiple backing storage implementations.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to