Varun Saxena updated YARN-3864:
    Attachment: YARN-3864-YARN-2928.02.patch

Attaching a patch addressing Vrushali's and Sangjin's comments.
Have given a separate endpoint for apps within a flow run in addition to 
separate endpoint for apps with a flow. Did not go with option of flow run as 
an optional query param as apps for a flow run might be frequently accessed 
query esp from Web UI.

Moreover, I am assuming when we are querying apps for a flow run id, keys will 
be sorted after YARN-4178. But for apps within flow, I am assuming it wont be 
sorted. That is because flow run ids' cannot be guaranteed to be sorted as per 
app's created time.

> 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, 
> YARN-3864-YARN-2928.02.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