hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xuan Gong (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-873) YARNClient.getApplicationReport(unknownAppId) returns a null report
Date Sun, 07 Jul 2013 22:35:48 GMT

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

Xuan Gong commented on YARN-873:
--------------------------------

Instead of simplying throwing out the YarnException, how about 
1.we create NOTFOUNDException, and throw this exception
2.At Client code, say ApplicationCLI.java, we can catch the NOTFOUNDException, then print
out the statement "This appId is not exist"
                
> 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

Mime
View raw message