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

Vrushali C commented on YARN-4224:
----------------------------------

I am catching up on this thread. cc [~jrottinghuis] to be in the loop for the 
rest api URL format changes.

[~gtCarrera] I think I understand the URL when it's only an app that we want 
since app ids are pretty distinct. But could you or someone give an example of 
say querying for a flow belonging to a particular user on a given cluster?

For instance, I might run a pig script called "countUsers" and you also run the 
same pig script but under your user name. These are two different flows since, 
like you mentioned, we identify a flow as {cluster, user, flow name} tuple. The 
run id part can default to latest run. How would the URL look in the new 
proposal? 

hRaven URL for the above would look like 
http://hravenUrl.com/api/v1/flow/{clustername}/{username}/countUsers

This would return the last run flow "countUsers" by user "{username}" on the 
cluster "{clustername}"


> 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
>         Attachments: YARN-4224-YARN-2928.01.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to