[ https://issues.apache.org/jira/browse/YARN-873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13712507#comment-13712507 ]
Hitesh Shah commented on YARN-873: ---------------------------------- [~xgong] Requiring to parse a string message to determine whether an application exists or not is more work as compared to checking $? which can be used to indicate various errors such as connection issue/invalid application id/app does not exist in RM. > 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 > Attachments: YARN-873.1.patch, YARN-873.2.patch, YARN-873.3.patch > > > 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