[ https://issues.apache.org/jira/browse/YARN-5792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15655551#comment-15655551 ]
Sangjin Lee commented on YARN-5792: ----------------------------------- At a high level, I'd like to discuss options. I see that you're mostly using the (inverted) start time as the id prefix. Would it be better to use simply the id instead whenever possible? One big benefit of using the id is that it is very portable. When creating entities and updating them, the id is almost always available. All we require is a uniqueness within the app and the entity type, and it seems to me that the id is a superior alternative to the start time. What do you think? > adopt the id prefix for YARN, MR, and DS entities > ------------------------------------------------- > > Key: YARN-5792 > URL: https://issues.apache.org/jira/browse/YARN-5792 > Project: Hadoop YARN > Issue Type: Sub-task > Components: timelineserver > Affects Versions: YARN-5355 > Reporter: Sangjin Lee > Assignee: Varun Saxena > Attachments: YARN-5792-YARN-5355.01.patch, > YARN-5792-YARN-5355.02.patch > > > We introduced the entity id prefix to support flexible entity sorting > (YARN-5715). We should adopt the id prefix for YARN entities, MR entities, > and DS entities to take advantage of the id prefix. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org