hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wangda Tan (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (YARN-5131) Distributed shell AM fails when extra container arrives during finishing
Date Mon, 23 May 2016 22:38:13 GMT

     [ https://issues.apache.org/jira/browse/YARN-5131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Wangda Tan updated YARN-5131:
-----------------------------
    Description: 
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}

  was:
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=os-u14-tzqvys-yarn-1-2.openstacklocal:25454,
containerNodeURI=os-u14-tzqvys-yarn-1-2.openstacklocal: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 : os-u14-tzqvys-yarn-1-2.openstacklocal: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}


> 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
>         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: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org


Mime
View raw message