[ https://issues.apache.org/jira/browse/YARN-873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13714212#comment-13714212 ]
Xuan Gong commented on YARN-873: -------------------------------- Currently, exist code = 0: everything is correct. exist code = -1, user gives the wrong input, such as more parameters or less parameters So, we set exist code = -2 for app does not exist in RM ? And add instructions for future use , exist code will be -3 for invalid application id (currently, if user gives wrong format of application id, an exception will be throw) ? > 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