Sangjin Lee updated YARN-4074:
    Attachment: YARN-4074-YARN-2928.POC.002.patch

Posting a v.2 POC patch. This adds the flow run query.

As for [~djp]'s comments, yes, I agree that the reader code needs more serious 
refactoring, both in the API as well as the implementation.

I believe [~varun_saxena]'s looking into cleaning up the filters, and so on in 
YARN-3863. So improving the API would be taken up by Varun. Varun?

I'd also like to refactor the implementation more to restructure it. This POC 
patch is by no means an indication of the final form of this patch. I just 
wanted to get it out there so we can ensure it is correct and discuss the 
approach taken here. I hope that clarifies things a bit.

> [timeline reader] implement support for querying for flows and flow runs
> ------------------------------------------------------------------------
>                 Key: YARN-4074
>                 URL: https://issues.apache.org/jira/browse/YARN-4074
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: timelineserver
>    Affects Versions: YARN-2928
>            Reporter: Sangjin Lee
>            Assignee: Sangjin Lee
>         Attachments: YARN-4074-YARN-2928.POC.001.patch, 
> YARN-4074-YARN-2928.POC.002.patch
> Implement support for querying for flows and flow runs.
> We should be able to query for the most recent N flows, etc.
> This includes changes to the {{TimelineReader}} API if necessary, as well as 
> implementation of the API.

This message was sent by Atlassian JIRA

Reply via email to