[
https://issues.apache.org/jira/browse/YARN-4224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15070243#comment-15070243
]
Li Lu commented on YARN-4224:
-----------------------------
Yes, I think this is fine for entities. The root cause of this is that entities
need both id and type to be uniquely identified. For UID based queries we can
pass type as a query parameter. For the hierarchical endpoints, type is modeled
as a part of entity ids (we have to do this to uniquely id an entity). The
clash will happen if we hit the .../apps endpoint, and we have to distinguish
those two cases.
> Change the ATSv2 reader side REST interface to conform to current REST APIs'
> in YARN
> ------------------------------------------------------------------------------------
>
> Key: YARN-4224
> URL: https://issues.apache.org/jira/browse/YARN-4224
> Project: Hadoop YARN
> Issue Type: Sub-task
> Components: timelineserver
> Affects Versions: YARN-2928
> Reporter: Varun Saxena
> Assignee: Varun Saxena
> Labels: yarn-2928-1st-milestone
> Attachments: YARN-4224-YARN-2928.01.patch,
> YARN-4224-feature-YARN-2928.wip.02.patch
>
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)