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

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

I am relatively free this weekend. So will be able to work on this on priority. 
Will let you know if I run into bandwidth issues.

We had decided on below three APIs' which are somewhat similar to what existed 
in ATS v1.

Now, as you mentioned in comment elsewhere we need to support metrics too. So, 
what kind of queries have we decided to support ? For instance, queries such as 
get apps which have a particular metric's value less than or greater than 
something ?

{code}
  TimelineEntities getEntities(String entityType, long limit,
      long windowStart, Long windowEnd, String fromId, long fromTs,
      Collection<NameValuePair> filters,
      EnumSet<Field> fieldsToRetrieve) throws IOException;

  TimelineEntity getEntity(String entityId, String entityType,
      EnumSet<Field> fieldsToRetrieve) throws IOException;

  TimelineEvents getEntityTimelines(String entityType,
      SortedSet<String> entityIds, long limit, long windowStart,
      long windowEnd, Set<String> eventTypes) throws IOException;
{code}

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