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

Sangjin Lee commented on YARN-4220:
-----------------------------------

Hmm, for any application or generic entity queries, we do not require the flow 
or the flow run id (or with YARN-4221 even user id). They are already populated 
from the app-to-flow table. Is that what you're referring to? Then it should 
already be working that way.

> [Storage implementation] Support getEntities with only Application id but no 
> flow and flow run ID
> -------------------------------------------------------------------------------------------------
>
>                 Key: YARN-4220
>                 URL: https://issues.apache.org/jira/browse/YARN-4220
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: timelineserver
>            Reporter: Li Lu
>            Assignee: Li Lu
>            Priority: Minor
>
> Currently we're enforcing flow and flowrun id to be non-null values on 
> {{getEntities}}. We can actually query the appToFlow table to figure out an 
> application's flow id and flowrun id if they're missing. This will simplify 
> normal queries. 



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

Reply via email to