You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Li Lu (JIRA)" <ji...@apache.org> on 2016/07/18 20:11:20 UTC

[jira] [Commented] (YARN-3914) Entity created time should be part of the row key of entity table

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

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

I'm checking through the JIRA list of YARN-5355 and saw this. Right now the schema of HBase tables are pretty much finalized, right? Personally I'd prefer the current way since it supports much easier query for (entityID, entityType). Also, determining the "start time" of a timeline entity is error pruning (something like YARN-5340, we spent quite a while to accurately locate the problem). 

My question here is, given the fact that this issue has been hanging for a year, shall we close it or work out some alternative solutions? 

> 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
>              Labels: YARN-5355
>
> 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)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org