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

Hudson commented on YARN-5131:
------------------------------

SUCCESS: Integrated in Hadoop-trunk-Commit #9857 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/9857/])
YARN-5131. Distributed shell AM fails when extra container arrives (junping_du: 
rev 48c931331cc43970e31866732f9ac82ee806ee03)
* 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell/src/main/java/org/apache/hadoop/yarn/applications/distributedshell/ApplicationMaster.java


> Distributed shell AM fails when extra container arrives during finishing
> ------------------------------------------------------------------------
>
>                 Key: YARN-5131
>                 URL: https://issues.apache.org/jira/browse/YARN-5131
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Sumana Sathish
>            Assignee: Wangda Tan
>             Fix For: 2.9.0
>
>         Attachments: YARN-5131.1.patch
>
>
> Because of YARN-1902, extra container could be allocated to AM which causes 
> AM failure.
> Logs look like: 
> {code}
> 16/05/17 07:58:39 INFO distributedshell.ApplicationMaster: Launching shell 
> command on a new container., 
> containerId=container_e44_1463470957478_0018_01_000007, 
> containerNode=host1:25454, containerNodeURI=host1:8042, 
> containerResourceMemory3072, containerResourceVirtualCores1
> 16/05/17 07:58:39 INFO distributedshell.ApplicationMaster: Setting up 
> container launch container for 
> containerid=container_e44_1463470957478_0018_01_000007
> 16/05/17 07:58:39 INFO impl.NMClientAsyncImpl: Processing Event EventType: 
> START_CONTAINER for Container container_e44_1463470957478_0018_01_000007
> 16/05/17 07:58:39 INFO impl.ContainerManagementProtocolProxy: Opening proxy : 
> host1:25454
> .......
> 16/05/17 07:58:39 INFO distributedshell.ApplicationMaster: Application 
> completed. Stopping running containers
> 16/05/17 07:58:39 INFO impl.NMClientAsyncImpl: NM Client is being stopped.
> 16/05/17 07:58:39 INFO impl.NMClientAsyncImpl: Waiting for 
> eventDispatcherThread to be interrupted.
> 16/05/17 07:58:39 INFO impl.NMClientAsyncImpl: eventDispatcherThread exited.
> 16/05/17 07:58:39 ERROR distributedshell.ApplicationMaster: Failed to start 
> Container container_e44_1463470957478_0018_01_000007
> 16/05/17 07:58:39 INFO impl.NMClientAsyncImpl: Stopping NM client.
> ........
> 16/05/17 07:58:39 INFO distributedshell.ApplicationMaster: Diagnostics., 
> total=5, completed=6, allocated=6, failed=1
> 16/05/17 07:58:39 INFO impl.AMRMClientImpl: Waiting for application to be 
> successfully unregistered.
> 16/05/17 07:58:40 INFO distributedshell.ApplicationMaster: Application Master 
> failed. exiting
> 16/05/17 07:58:40 INFO impl.AMRMClientAsyncImpl: Interrupted while waiting 
> for queue
> java.lang.InterruptedException
>         at 
> java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.reportInterruptAfterWait(AbstractQueuedSynchronizer.java:2017)
>         at 
> java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2052)
>         at 
> java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
>         at 
> org.apache.hadoop.yarn.client.api.async.impl.AMRMClientAsyncImpl$CallbackHandlerThread.run(AMRMClientAsyncImpl.java:287)
> End of LogType:AppMaster.stde
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to