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

Li Lu commented on YARN-3914:
-----------------------------

Hi [~zjshen], do you think this will affect the data schema design of 
aggregation storages as well, or it's an "entity table only" change? I think 
this is independent to the aggregation implementations but would like to double 
check it. Thanks! 

> Entity created time should be part of the row key of entity table
> -----------------------------------------------------------------
>
>                 Key: YARN-3914
>                 URL: https://issues.apache.org/jira/browse/YARN-3914
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: timelineserver
>            Reporter: Zhijie Shen
>            Assignee: Zhijie Shen
>
> Entity created time should be part of the row key of entity table, between 
> entity type and entity Id. The reason to have it is to index the entities. 
> Though we cannot index the entities for all kinds of information, indexing 
> them according to the created time is very necessary. Without it, every query 
> for the latest entities that belong to an application and a type will scan 
> through all the entities that belong to them. For example, if we want to list 
> the 100 latest started containers in an YARN app.



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

Reply via email to