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

Sangjin Lee commented on YARN-4074:
-----------------------------------

Just to clarify on the flow run "end time". Note that there is no formal 
definition of the "end time" of a flow run, in the absence of a formal flow API 
in YARN. The "end time" in the flow run is the latest end time of an 
application that is part of that flow run. Just so that we're clear on that 
definition.

On a related note, there is no formal definition of the state of a flow run 
(i.e. we cannot say with certainty whether a flow run is ended). The only 
definitive thing we can say about this is if a flow run is still running, which 
can be determined by having a running app.

> [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
(v6.3.4#6332)

Reply via email to