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

Zhijie Shen commented on YARN-873:
----------------------------------

bq. Null report can be unclear as to what happened.

IMHO, null is a reasonable indicator of unknown AppId (e.g. null is returned if 
Java Map contains no mapping for a key), unless it implies more than one cases. 
Checked the code, and found null is just returned when the RMApp is not found 
in rmContext, such that it indicates a unique case.
                
> YARNClient.getApplicationReport(unknownAppId) returns a null report
> -------------------------------------------------------------------
>
>                 Key: YARN-873
>                 URL: https://issues.apache.org/jira/browse/YARN-873
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>    Affects Versions: 2.1.0-beta
>            Reporter: Bikas Saha
>            Assignee: Xuan Gong
>
> How can the client find out that app does not exist?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to