Varun Saxena commented on YARN-3864:

bq. For the /app endpoint, I think we need only the app id as the path param, 
none of the others are needed.
Thats what we have.
We have two endpoints for app  - /app/{appid} and /app/{clusterid}/{appid}/ . 
In first one, cluster id will be taken from config and in the next one supplied 
by client. Do you mean something else ?

bq. for the /apps endpoint, do you think we can call it flowApps or appsflow or 
something so that it is clear that we are querying for all applications in this 
particular in this endpoint. 
Makes sense. Lets make it flowapps.

bq.I think this endpoint should be also available without requiring the flow 
run id. 
Ok. Will do it. In that case we can have an endpoint like /apps/{flowid} and 
/apps/{clusterid}/{flowid} and flow run id can be an optional query param.

> Implement support for querying single app and all apps for a flow run
> ---------------------------------------------------------------------
>                 Key: YARN-3864
>                 URL: https://issues.apache.org/jira/browse/YARN-3864
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: timelineserver
>    Affects Versions: YARN-2928
>            Reporter: Varun Saxena
>            Assignee: Varun Saxena
>            Priority: Blocker
>         Attachments: YARN-3864-YARN-2928.01.patch
> This JIRA will handle support for querying all apps for a flow run in HBase 
> reader implementation.
> And also REST API implementation for single app and multiple apps.

This message was sent by Atlassian JIRA

Reply via email to