Joep Rottinghuis commented on YARN-3051:

The same question goes for the items in the Set<TimelineEntity.Identifier> 
relatesTo etc. Do the retrieved entities have to have at least one of the 
related to entities match, or all of them? What if there are more related 
entities, do we want to retrieve only those with the provided related entities 
but no more?

It sounds like nit-picking, but the implementations would differ quite a bit, 
so it is good to express what it is that we want to do.

Rather than locking in on one interpretation, what if we take a page out of the 
HBase manual and we could specify that a filter needs to be applied? We can 
then supply RelatesToFilter, InfoFilter, etc.
Filters can be combined with FilterList where you can specify MUST_PASS_ALL, 
MUST_PASS_ONE (see for example 

> [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.Reader_API_1.patch, 
> YARN-3051.Reader_API_2.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

Reply via email to