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

Zhijie Shen commented on YARN-3051:
-----------------------------------

bq. Agreed with the approach. I would go so far as focusing on the raw data 
reader part first and get that done and get to the aggregated reader later. 
Thoughts?

Exactly. Based on the discussion so far, I've scratched a patch of reader APIs 
and attached it here. It just contains two methods: one to fetch a single 
entity and the other to search for a set of entities with given predicates. For 
the predicate, I start with the common stuff that we have for timeline service 
v2 data model.

Please take a look. Hopefully the folks can be generally satisfactory about the 
APIs. Then we can start from here, have more iterations to enrich the query 
semantics and support backward compatibility. Thoughts?

> [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
>    Affects Versions: YARN-2928
>            Reporter: Sangjin Lee
>            Assignee: Varun Saxena
>         Attachments: YARN-3051-YARN-2928.003.patch, 
> YARN-3051-YARN-2928.03.patch, YARN-3051-YARN-2928.04.patch, 
> YARN-3051.Reader_API.patch, YARN-3051.wip.02.YARN-2928.patch, 
> YARN-3051.wip.patch, 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