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

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

[~jrottinghuis], 
bq. In an earlier patch I saw NameValueRelation that was able to perform the 
operations. That again assumes that all values will be retrieved from the 
backing store, and then filtered in the reader before returned to the user. It 
will be more effective to make sure we can easily map this to operations we can 
push into HBase itself (through a ColumnValueFilter) through the available 
operations 
NameValueRelation would be used in metrics filters and will specify the metric 
name and relation to its value. The {{match}} function in it is not necessary 
to be used by the store implementation. It was added for use by FS based 
implementation.
{{RelationOp}} for instance, although wasn't intentional, directly maps to 
{{CompareFilter.CompareOp}}. So should not be too difficult to convert it into 
a HBase Filter by the backend implementation.
Currently only AND operations are supported. For support of OR operations we 
will handle it as part of other JIRAs'.

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