hadoop-yarn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tassapol Athiapinya (JIRA)" <j...@apache.org>
Subject [jira] [Created] (YARN-1839) Capacity scheduler preempts an AM out. AM attempt 2 fails to launch task container with SecretManager$InvalidToken: No NMToken sent
Date Fri, 14 Mar 2014 23:52:43 GMT
Tassapol Athiapinya created YARN-1839:
-----------------------------------------

             Summary: Capacity scheduler preempts an AM out. AM attempt 2 fails to launch
task container with SecretManager$InvalidToken: No NMToken sent
                 Key: YARN-1839
                 URL: https://issues.apache.org/jira/browse/YARN-1839
             Project: Hadoop YARN
          Issue Type: Bug
          Components: applications, capacityscheduler
    Affects Versions: 2.3.0
            Reporter: Tassapol Athiapinya
            Priority: Critical


Use single-node cluster. Turn on capacity scheduler preemption. Run MR sleep job as app 1.
Take entire cluster. Run MR sleep job as app 2. Preempt app1 out. Wait till app 2 finishes.
App 1 AM attempt 2 will start. It won't be able to launch a task container with this error
stack trace in AM logs:

{code}
2014-03-13 20:13:50,254 INFO [AsyncDispatcher event handler] org.apache.hadoop.mapreduce.v2.app.job.impl.TaskAttemptImpl:
Diagnostics report from attempt_1394741557066_0001_m_000000_1009: Container launch failed
for container_1394741557066_0001_02_000021 : org.apache.hadoop.security.token.SecretManager$InvalidToken:
No NMToken sent for <host>:45454
	at org.apache.hadoop.yarn.client.api.impl.ContainerManagementProtocolProxy$ContainerManagementProtocolProxyData.newProxy(ContainerManagementProtocolProxy.java:206)
	at org.apache.hadoop.yarn.client.api.impl.ContainerManagementProtocolProxy$ContainerManagementProtocolProxyData.<init>(ContainerManagementProtocolProxy.java:196)
	at org.apache.hadoop.yarn.client.api.impl.ContainerManagementProtocolProxy.getProxy(ContainerManagementProtocolProxy.java:117)
	at org.apache.hadoop.mapreduce.v2.app.launcher.ContainerLauncherImpl.getCMProxy(ContainerLauncherImpl.java:403)
	at org.apache.hadoop.mapreduce.v2.app.launcher.ContainerLauncherImpl$Container.launch(ContainerLauncherImpl.java:138)
	at org.apache.hadoop.mapreduce.v2.app.launcher.ContainerLauncherImpl$EventProcessor.run(ContainerLauncherImpl.java:369)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:722)
{code}





--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message