hadoop-yarn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "zhangqw (JIRA)" <j...@apache.org>
Subject [jira] [Created] (YARN-9659) yarn application cannot be killed after updating info for attempt failed
Date Mon, 01 Jul 2019 07:37:00 GMT
zhangqw created YARN-9659:
-----------------------------

             Summary: yarn application cannot be killed after updating info for attempt failed
                 Key: YARN-9659
                 URL: https://issues.apache.org/jira/browse/YARN-9659
             Project: Hadoop YARN
          Issue Type: Bug
    Affects Versions: 3.1.1
         Environment: Hadoop 3.1.1 release

Centos 7.1
            Reporter: zhangqw


Affected by HDFS:
{code:java}
Not enough replicas was chosen. Reason:{NOT_ENOUGH_STORAGE_SPACE=2} 
{code}
updating info for attempt failed:
{code:java}
2019-06-28 10:36:57,917 INFO  recovery.FileSystemRMStateStore (FileSystemRMStateStore.java:updateApplicationAttemptStateInternal(464))
- Updating info for attempt: appattempt_1561517363839_0013_000001 at: /tmp/yarn/system/rmstore/FSRMStateRoot/RMAppRoot/application_1561

517363839_0013/appattempt_1561517363839_0013_000001

2019-06-28 10:36:57,931 INFO  hdfs.DataStreamer (DataStreamer.java:createBlockOutputStream(1789))
- Exception in createBlockOutputStream blk_1088382064_14942741

java.io.IOException: Got error, status=ERROR, status message , ack with firstBadLink as 10.0.96.36:50010

        at org.apache.hadoop.hdfs.protocol.datatransfer.DataTransferProtoUtil.checkBlockOpStatus(DataTransferProtoUtil.java:134)

        at org.apache.hadoop.hdfs.protocol.datatransfer.DataTransferProtoUtil.checkBlockOpStatus(DataTransferProtoUtil.java:110)

        at org.apache.hadoop.hdfs.DataStreamer.createBlockOutputStream(DataStreamer.java:1778)

        at org.apache.hadoop.hdfs.DataStreamer.nextBlockOutputStream(DataStreamer.java:1679)

        at org.apache.hadoop.hdfs.DataStreamer.run(DataStreamer.java:716)
{code}
in RM log:
{code:java}
2019-06-28 10:36:57,953 INFO  recovery.FileSystemRMStateStore (FileSystemRMStateStore.java:runWithRetries(743))
- Maxed out FS retries. Giving up!
...
...
2019-06-28 10:49:28,746 INFO  util.AbstractLivelinessMonitor (AbstractLivelinessMonitor.java:run(148))
- Expired:appattempt_1561517363839_0013_000001 Timed out after 600 secs
{code}
Now application cannot be killed:
{code:java}
19/07/01 15:22:55 INFO impl.YarnClientImpl: Waiting for application application_1561517363839_0013
to be killed.
{code}
And when access container info page in rm web ui, error 500 returned. 

RM log:
{code:java}
2019-06-28 10:24:00,176 ERROR webapp.Dispatcher (Dispatcher.java:service(171)) - error handling
URI: /cluster/appattempt/appattempt_1561517363839_0011_000004
java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor253.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.hadoop.yarn.webapp.Dispatcher.service(Dispatcher.java:162)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
...
...
Caused by: 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.webapp.RMAppAttemptBlock.createAttemptHeadRoomTable(RMAppAttemptBlock.java:197)
at org.apache.hadoop.yarn.server.webapp.AppAttemptBlock.render(AppAttemptBlock.java:151)
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:243)
at org.apache.hadoop.yarn.webapp.view.HtmlPage$Page.subView(HtmlPage.java:49)
at org.apache.hadoop.yarn.webapp.hamlet2.HamletImpl$EImp._v(HamletImpl.java:117)
at org.apache.hadoop.yarn.webapp.hamlet2.Hamlet$TD.__(Hamlet.java:848)
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:216)
at org.apache.hadoop.yarn.server.resourcemanager.webapp.RmController.appattempt(RmController.java:58){code}
 

 Notice related issue has patched: YARN-8183



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org


Mime
View raw message