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

Varun Saxena commented on YARN-4220:
------------------------------------

This wont work even after YARN-3864. /entities endpoint will not be considered 
as single entity read but that is what we are trying to do here. Read a single 
application entity.

Maybe we can handle it here because passing query params gets us correct result.

> [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