[
https://issues.apache.org/jira/browse/YARN-4224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15070575#comment-15070575
]
Sangjin Lee commented on YARN-4224:
-----------------------------------
Regarding the ambiguity between /ws/v2/timeline/apps/\{app
UID\}/entities/\{entitytype\} (UID) and
/ws/v2/timeline/apps/app_id/entities/entitytype (hierachical), doesn't the
hierarchical URL need more context such as cluster/user/flow/flow-run? Is it
because all of them can be omitted?
At any rate, I agree that due to the possibility of omission ambiguities are
perhaps possible. In that case, I suspect using different query nouns might be
the ultimate solution (e.g. "apps" for the hierachical and "apps-uid" for UIDs).
> 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)