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

Varun Saxena commented on YARN-4224:
------------------------------------

bq. It's about locating resources in the system. /flows will be a query 
endpoint and we can send query parameters there, but /flows/{uid} will locate 
one single flow. What I'm confusing right now is, why do we need to have both 
plural and singular forms /run/{uid} and /runs/{uid}? Will they locate to the 
same run, given the same UID?
Ok. The way UID endpoints have been set up in the patch are {{\{resource to 
query\}/\{uid required to query that resource\}}}. So run means single run to 
query and runs means multiple runs to query. How do we differentiate between 
different endpoints then ?
UID is not required to locate multiple flows, flowruns, apps and entities ?

> 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)

Reply via email to