[ https://issues.apache.org/jira/browse/YARN-4587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15118793#comment-15118793 ]
Devaraj K commented on YARN-4587: --------------------------------- [~bibinchundatt], Thanks for the quick response and updated patch, I see you are uploading patch in the both jira's. Please close any one as duplicate and continue with the other jira. Thanks > IllegalArgumentException in RMAppAttemptImpl#createApplicationAttemptReport > --------------------------------------------------------------------------- > > Key: YARN-4587 > URL: https://issues.apache.org/jira/browse/YARN-4587 > Project: Hadoop YARN > Issue Type: Bug > Reporter: Bibin A Chundatt > Assignee: Bibin A Chundatt > Attachments: 0001-YARN-4587.patch > > > {noformat} > it status: -102 > 2016-01-13 13:35:42,281 INFO > org.apache.hadoop.yarn.server.resourcemanager.rmapp.attempt.RMAppAttemptImpl: > appattempt_1452672118921_0002_000004 State change from RUNNING to FINAL_SAVING > 2016-01-13 13:35:42,286 ERROR org.apache.hadoop.yarn.server.webapp.AppBlock: > Failed to read the attempts of the application application_1452672118921_0002. > java.lang.IllegalArgumentException: No enum constant > org.apache.hadoop.yarn.api.records.YarnApplicationAttemptState.FINAL_SAVING > at java.lang.Enum.valueOf(Enum.java:238) > at > org.apache.hadoop.yarn.api.records.YarnApplicationAttemptState.valueOf(YarnApplicationAttemptState.java:27) > at > org.apache.hadoop.yarn.server.resourcemanager.rmapp.attempt.RMAppAttemptImpl.createApplicationAttemptReport(RMAppAttemptImpl.java:2073) > at > org.apache.hadoop.yarn.server.resourcemanager.ClientRMService.getApplicationAttempts(ClientRMService.java:436) > at > org.apache.hadoop.yarn.server.webapp.AppBlock$2.run(AppBlock.java:230) > at > org.apache.hadoop.yarn.server.webapp.AppBlock$2.run(AppBlock.java:227) > at java.security.AccessController.doPrivileged(Native Method) > at javax.security.auth.Subject.doAs(Subject.java:422) > at > org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1705) > at > org.apache.hadoop.yarn.server.webapp.AppBlock.render(AppBlock.java:226) > at > org.apache.hadoop.yarn.server.resourcemanager.webapp.RMAppBlock.render(RMAppBlock.java:65) > at > org.apache.hadoop.yarn.webapp.view.HtmlBlock.render(HtmlBlock.java:69) > at > org.apache.hadoop.yarn.webapp.view.HtmlBlock.renderPartial(HtmlBlock.java:79) > at org.apache.hadoop.yarn.webapp.View.render(View.java:235) > at > org.apache.hadoop.yarn.webapp.view.HtmlPage$Page.subView(HtmlPage.java:49) > at > org.apache.hadoop.yarn.webapp.hamlet.HamletImpl$EImp._v(HamletImpl.java:117) > at org.apache.hadoop.yarn.webapp.hamlet.Hamlet$TD._(Hamlet.java:845) > at > org.apache.hadoop.yarn.webapp.view.TwoColumnLayout.render(TwoColumnLayout.java:71) > at > org.apache.hadoop.yarn.webapp.view.HtmlPage.render(HtmlPage.java:82) > at > org.apache.hadoop.yarn.webapp.Controller.render(Controller.java:212) > at > org.apache.hadoop.yarn.server.resourcemanager.webapp.RmController.app(RmController.java:54) > at sun.reflect.GeneratedMethodAccessor89.invoke(Unknown Source) > {noformat} > At {{RMAppAttemptImpl#createApplicationAttemptReport}} > {noformat} > attemptReport = ApplicationAttemptReport.newInstance(this > .getAppAttemptId(), this.getHost(), this.getRpcPort(), this > .getTrackingUrl(), this.getOriginalTrackingUrl(), > this.getDiagnostics(), > YarnApplicationAttemptState.valueOf(this.getState().toString()), > amId, this.startTime, this.finishTime); > {noformat} > {{YarnApplicationAttemptState}} mismatch with {{RMAppAttemptState}} for > FINAL_SAVING -- This message was sent by Atlassian JIRA (v6.3.4#6332)