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

zhangyubiao updated YARN-3979:
------------------------------
    Description: 
2015-07-27 02:46:17,348 INFO 
org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.ResourceLocalizationService:
 Created localizer for container_1437735375558
_104282_01_000001
2015-07-27 02:56:18,510 INFO SecurityLogger.org.apache.hadoop.ipc.Server: Auth 
successful for appattempt_1437735375558_104282_000001 (auth:SIMPLE)
2015-07-27 02:56:18,510 INFO 
SecurityLogger.org.apache.hadoop.security.authorize.ServiceAuthorizationManager:
 Authorization successful for appattempt_1437735375558_104282_0
00001 (auth:TOKEN) for protocol=interface 
org.apache.hadoop.yarn.api.ContainerManagementProtocolPB

I find the RM hang and get the Pstack at that time .


Thread 370 (Thread 0x7f263e4f1700 (LWP 35718)):
#0  0x0000003abf40b43c in pthread_cond_wait@@GLIBC_2.3.2 () from 
/lib64/libpthread.so.0
#1  0x00007f263ec01f8e in os::PlatformEvent::park() () from 
/software/servers/jdk1.6.0_25/jre/lib/amd64/server/libjvm.so
#2  0x00007f263ebd3985 in Monitor::IWait(Thread*, long) () from 
/software/servers/jdk1.6.0_25/jre/lib/amd64/server/libjvm.so
#3  0x00007f263ebd3fed in Monitor::wait(bool, long, bool) () from 
/software/servers/jdk1.6.0_25/jre/lib/amd64/server/libjvm.so
#4  0x00007f263ed101f5 in Threads::destroy_vm() () from 
/software/servers/jdk1.6.0_25/jre/lib/amd64/server/libjvm.so
#5  0x00007f263ea0c97b in jni_DestroyJavaVM () from 
/software/servers/jdk1.6.0_25/jre/lib/amd64/server/libjvm.so
#6  0x000000004000223f in JavaMain ()
#7  0x0000003abf407851 in start_thread () from /lib64/libpthread.so.0
#8  0x0000003abece811d in clone () from /lib64/libc.so.6
Thread 369 (Thread 0x7f263dfa1700 (LWP 35719)):
#0  0x0000003abf40b43c in pthread_cond_wait@@GLIBC_2.3.2 () from 
/lib64/libpthread.so.0
#1  0x00007f263ec01f8e in os::PlatformEvent::park() () from 
/software/servers/jdk1.6.0_25/jre/lib/amd64/server/libjvm.so
#2  0x00007f263ebd3985 in Monitor::IWait(Thread*, long) () from 
/software/servers/jdk1.6.0_25/jre/lib/amd64/server/libjvm.so
#3  0x00007f263ebd414e in Monitor::wait(bool, long, bool) () from 
/software/servers/jdk1.6.0_25/jre/lib/amd64/server/libjvm.so
#4  0x00007f263ed67668 in GangWorker::loop() () from 
/software/servers/jdk1.6.0_25/jre/lib/amd64/server/libjvm.so
#5  0x00007f263ed675b4 in GangWorker::run() () from 
/software/servers/jdk1.6.0_25/jre/lib/amd64/server/libjvm.so
#6  0x00007f263ec0296f in java_start(Thread*) () from 
/software/servers/jdk1.6.0_25/jre/lib/amd64/server/libjvm.so
#7  0x0000003abf407851 in start_thread () from /lib64/libpthread.so.0
#8  0x0000003abece811d in clone () from /lib64/libc.so.6
Thread 368 (Thread 0x7f263dea0700 (LWP 35720)):
#0  0x0000003abf40b43c in pthread_cond_wait@@GLIBC_2.3.2 () from 
/lib64/libpthread.so.0
#1  0x00007f263ec01f8e in os::PlatformEvent::park() () from 
/software/servers/jdk1.6.0_25/jre/lib/amd64/server/libjvm.so
#2  0x00007f263ebd3985 in Monitor::IWait(Thread*, long) () from 
/software/servers/jdk1.6.0_25/jre/lib/amd64/server/libjvm.so
#3  0x00007f263ebd414e in Monitor::wait(bool, long, bool) () from 
/software/servers/jdk1.6.0_25/jre/lib/amd64/server/libjvm.so
#4  0x00007f263ed67668 in GangWorker::loop() () from 
/software/servers/jdk1.6.0_25/jre/lib/amd64/server/libjvm.so
#5  0x00007f263ed675b4 in GangWorker::run() () from 
/software/servers/jdk1.6.0_25/jre/lib/amd64/server/libjvm.so
#6  0x00007f263ec0296f in java_start(Thread*) () from 
/software/servers/jdk1.6.0_25/jre/lib/amd64/server/libjvm.so
#7  0x0000003abf407851 in start_thread () from /lib64/libpthread.so.0
#8  0x0000003abece811d in clone () from /lib64/libc.so.6
Thread 367 (Thread 0x7f263dd9f700 (LWP 35721)):
#0  0x0000003abf40b43c in pthread_cond_wait@@GLIBC_2.3.2 () from 
/lib64/libpthread.so.0
#1  0x00007f263ec01f8e in os::PlatformEvent::park() () from 
/software/servers/jdk1.6.0_25/jre/lib/amd64/server/libjvm.so
#2  0x00007f263ebd3985 in Monitor::IWait(Thread*, long) () from 
/software/servers/jdk1.6.0_25/jre/lib/amd64/server/libjvm.so
#3  0x00007f263ebd414e in Monitor::wait(bool, long, bool) () from 
/software/servers/jdk1.6.0_25/jre/lib/amd64/server/libjvm.so
#4  0x00007f263ed67668 in GangWorker::loop() () from 
/software/servers/jdk1.6.0_25/jre/lib/amd64/server/libjvm.so
#5  0x00007f263ed675b4 in GangWorker::run() () from 
/software/servers/jdk1.6.0_25/jre/lib/amd64/server/libjvm.so
#6  0x00007f263ec0296f in java_start(Thread*) () from 
/software/servers/jdk1.6.0_25/jre/lib/amd64/server/libjvm.so
#7  0x0000003abf407851 in start_thread () from /lib64/libpthread.so.0
#8  0x0000003abece811d in clone () from /lib64/libc.so.6
Thread 366 (Thread 0x7f263dc9e700 (LWP 35722)):
#0  0x0000003abf40b43c in pthread_cond_wait@@GLIBC_2.3.2 () from 
/lib64/libpthread.so.0
#1  0x00007f263ec01f8e in os::PlatformEvent::park() () from 
/software/servers/jdk1.6.0_25/jre/lib/amd64/server/libjvm.so
#2  0x00007f263ebd3985 in Monitor::IWait(Thread*, long) () from 
/software/servers/jdk1.6.0_25/jre/lib/amd64/server/libjvm.so
#3  0x00007f263ebd414e in Monitor::wait(bool, long, bool) () from 
/software/servers/jdk1.6.0_25/jre/lib/amd64/server/libjvm.so
#4  0x00007f263ed67668 in GangWorker::loop() () from 
/software/servers/jdk1.6.0_25/jre/lib/amd64/server/libjvm.so
#5  0x00007f263ed675b4 in GangWorker::run() () from 
/software/servers/jdk1.6.0_25/jre/lib/amd64/server/libjvm.so
#6  0x00007f263ec0296f in java_start(Thread*) () from 
/software/servers/jdk1.6.0_25/jre/lib/amd64/server/libjvm.so
#7  0x0000003abf407851 in start_thread () from /lib64/libpthread.so.0
#8  0x0000003abece811d in clone () from /lib64/libc.so.6
Thread 365 (Thread 0x7f263db9d700 (LWP 35723)):
#0  0x0000003abf40b43c in pthread_cond_wait@@GLIBC_2.3.2 () from 
/lib64/libpthread.so.0
#1  0x00007f263ec01f8e in os::PlatformEvent::park() () from 
/software/servers/jdk1.6.0_25/jre/lib/amd64/server/libjvm.so
#2  0x00007f263ebd3985 in Monitor::IWait(Thread*, long) () from 
/software/servers/jdk1.6.0_25/jre/lib/amd64/server/libjvm.so
#3  0x00007f263ebd414e in Monitor::wait(bool, long, bool) () from 
/software/servers/jdk1.6.0_25/jre/lib/amd64/server/libjvm.so
#4  0x00007f263ed67668 in GangWorker::loop() () from 
/software/servers/jdk1.6.0_25/jre/lib/amd64/server/libjvm.so
#5  0x00007f263ed675b4 in GangWorker::run() () from 
/software/servers/jdk1.6.0_25/jre/lib/amd64/server/libjvm.so
#6  0x00007f263ec0296f in java_start(Thread*) () from 
/software/servers/jdk1.6.0_25/jre/lib/amd64/server/libjvm.so
#7  0x0000003abf407851 in start_thread () from /lib64/libpthread.so.0
#8  0x0000003abece811d in clone () from /lib64/libc.so.6
Thread 364 (Thread 0x7f263da9c700 (LWP 35724)): 

  was:
2015-07-27 02:46:17,348 INFO 
org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.ResourceLocalizationService:
 Created localizer for container_1437735375558
_104282_01_000001
2015-07-27 02:56:18,510 INFO SecurityLogger.org.apache.hadoop.ipc.Server: Auth 
successful for appattempt_1437735375558_104282_000001 (auth:SIMPLE)
2015-07-27 02:56:18,510 INFO 
SecurityLogger.org.apache.hadoop.security.authorize.ServiceAuthorizationManager:
 Authorization successful for appattempt_1437735375558_104282_0
00001 (auth:TOKEN) for protocol=interface 
org.apache.hadoop.yarn.api.ContainerManagementProtocolPB


> Am in ResourceLocalizationService hang 10 min cause RM kill  AM
> ---------------------------------------------------------------
>
>                 Key: YARN-3979
>                 URL: https://issues.apache.org/jira/browse/YARN-3979
>             Project: Hadoop YARN
>          Issue Type: Bug
>    Affects Versions: 2.2.0
>         Environment: CentOS 6.5  Hadoop-2.2.0
>            Reporter: zhangyubiao
>
> 2015-07-27 02:46:17,348 INFO 
> org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.ResourceLocalizationService:
>  Created localizer for container_1437735375558
> _104282_01_000001
> 2015-07-27 02:56:18,510 INFO SecurityLogger.org.apache.hadoop.ipc.Server: 
> Auth successful for appattempt_1437735375558_104282_000001 (auth:SIMPLE)
> 2015-07-27 02:56:18,510 INFO 
> SecurityLogger.org.apache.hadoop.security.authorize.ServiceAuthorizationManager:
>  Authorization successful for appattempt_1437735375558_104282_0
> 00001 (auth:TOKEN) for protocol=interface 
> org.apache.hadoop.yarn.api.ContainerManagementProtocolPB
> I find the RM hang and get the Pstack at that time .
> Thread 370 (Thread 0x7f263e4f1700 (LWP 35718)):
> #0  0x0000003abf40b43c in pthread_cond_wait@@GLIBC_2.3.2 () from 
> /lib64/libpthread.so.0
> #1  0x00007f263ec01f8e in os::PlatformEvent::park() () from 
> /software/servers/jdk1.6.0_25/jre/lib/amd64/server/libjvm.so
> #2  0x00007f263ebd3985 in Monitor::IWait(Thread*, long) () from 
> /software/servers/jdk1.6.0_25/jre/lib/amd64/server/libjvm.so
> #3  0x00007f263ebd3fed in Monitor::wait(bool, long, bool) () from 
> /software/servers/jdk1.6.0_25/jre/lib/amd64/server/libjvm.so
> #4  0x00007f263ed101f5 in Threads::destroy_vm() () from 
> /software/servers/jdk1.6.0_25/jre/lib/amd64/server/libjvm.so
> #5  0x00007f263ea0c97b in jni_DestroyJavaVM () from 
> /software/servers/jdk1.6.0_25/jre/lib/amd64/server/libjvm.so
> #6  0x000000004000223f in JavaMain ()
> #7  0x0000003abf407851 in start_thread () from /lib64/libpthread.so.0
> #8  0x0000003abece811d in clone () from /lib64/libc.so.6
> Thread 369 (Thread 0x7f263dfa1700 (LWP 35719)):
> #0  0x0000003abf40b43c in pthread_cond_wait@@GLIBC_2.3.2 () from 
> /lib64/libpthread.so.0
> #1  0x00007f263ec01f8e in os::PlatformEvent::park() () from 
> /software/servers/jdk1.6.0_25/jre/lib/amd64/server/libjvm.so
> #2  0x00007f263ebd3985 in Monitor::IWait(Thread*, long) () from 
> /software/servers/jdk1.6.0_25/jre/lib/amd64/server/libjvm.so
> #3  0x00007f263ebd414e in Monitor::wait(bool, long, bool) () from 
> /software/servers/jdk1.6.0_25/jre/lib/amd64/server/libjvm.so
> #4  0x00007f263ed67668 in GangWorker::loop() () from 
> /software/servers/jdk1.6.0_25/jre/lib/amd64/server/libjvm.so
> #5  0x00007f263ed675b4 in GangWorker::run() () from 
> /software/servers/jdk1.6.0_25/jre/lib/amd64/server/libjvm.so
> #6  0x00007f263ec0296f in java_start(Thread*) () from 
> /software/servers/jdk1.6.0_25/jre/lib/amd64/server/libjvm.so
> #7  0x0000003abf407851 in start_thread () from /lib64/libpthread.so.0
> #8  0x0000003abece811d in clone () from /lib64/libc.so.6
> Thread 368 (Thread 0x7f263dea0700 (LWP 35720)):
> #0  0x0000003abf40b43c in pthread_cond_wait@@GLIBC_2.3.2 () from 
> /lib64/libpthread.so.0
> #1  0x00007f263ec01f8e in os::PlatformEvent::park() () from 
> /software/servers/jdk1.6.0_25/jre/lib/amd64/server/libjvm.so
> #2  0x00007f263ebd3985 in Monitor::IWait(Thread*, long) () from 
> /software/servers/jdk1.6.0_25/jre/lib/amd64/server/libjvm.so
> #3  0x00007f263ebd414e in Monitor::wait(bool, long, bool) () from 
> /software/servers/jdk1.6.0_25/jre/lib/amd64/server/libjvm.so
> #4  0x00007f263ed67668 in GangWorker::loop() () from 
> /software/servers/jdk1.6.0_25/jre/lib/amd64/server/libjvm.so
> #5  0x00007f263ed675b4 in GangWorker::run() () from 
> /software/servers/jdk1.6.0_25/jre/lib/amd64/server/libjvm.so
> #6  0x00007f263ec0296f in java_start(Thread*) () from 
> /software/servers/jdk1.6.0_25/jre/lib/amd64/server/libjvm.so
> #7  0x0000003abf407851 in start_thread () from /lib64/libpthread.so.0
> #8  0x0000003abece811d in clone () from /lib64/libc.so.6
> Thread 367 (Thread 0x7f263dd9f700 (LWP 35721)):
> #0  0x0000003abf40b43c in pthread_cond_wait@@GLIBC_2.3.2 () from 
> /lib64/libpthread.so.0
> #1  0x00007f263ec01f8e in os::PlatformEvent::park() () from 
> /software/servers/jdk1.6.0_25/jre/lib/amd64/server/libjvm.so
> #2  0x00007f263ebd3985 in Monitor::IWait(Thread*, long) () from 
> /software/servers/jdk1.6.0_25/jre/lib/amd64/server/libjvm.so
> #3  0x00007f263ebd414e in Monitor::wait(bool, long, bool) () from 
> /software/servers/jdk1.6.0_25/jre/lib/amd64/server/libjvm.so
> #4  0x00007f263ed67668 in GangWorker::loop() () from 
> /software/servers/jdk1.6.0_25/jre/lib/amd64/server/libjvm.so
> #5  0x00007f263ed675b4 in GangWorker::run() () from 
> /software/servers/jdk1.6.0_25/jre/lib/amd64/server/libjvm.so
> #6  0x00007f263ec0296f in java_start(Thread*) () from 
> /software/servers/jdk1.6.0_25/jre/lib/amd64/server/libjvm.so
> #7  0x0000003abf407851 in start_thread () from /lib64/libpthread.so.0
> #8  0x0000003abece811d in clone () from /lib64/libc.so.6
> Thread 366 (Thread 0x7f263dc9e700 (LWP 35722)):
> #0  0x0000003abf40b43c in pthread_cond_wait@@GLIBC_2.3.2 () from 
> /lib64/libpthread.so.0
> #1  0x00007f263ec01f8e in os::PlatformEvent::park() () from 
> /software/servers/jdk1.6.0_25/jre/lib/amd64/server/libjvm.so
> #2  0x00007f263ebd3985 in Monitor::IWait(Thread*, long) () from 
> /software/servers/jdk1.6.0_25/jre/lib/amd64/server/libjvm.so
> #3  0x00007f263ebd414e in Monitor::wait(bool, long, bool) () from 
> /software/servers/jdk1.6.0_25/jre/lib/amd64/server/libjvm.so
> #4  0x00007f263ed67668 in GangWorker::loop() () from 
> /software/servers/jdk1.6.0_25/jre/lib/amd64/server/libjvm.so
> #5  0x00007f263ed675b4 in GangWorker::run() () from 
> /software/servers/jdk1.6.0_25/jre/lib/amd64/server/libjvm.so
> #6  0x00007f263ec0296f in java_start(Thread*) () from 
> /software/servers/jdk1.6.0_25/jre/lib/amd64/server/libjvm.so
> #7  0x0000003abf407851 in start_thread () from /lib64/libpthread.so.0
> #8  0x0000003abece811d in clone () from /lib64/libc.so.6
> Thread 365 (Thread 0x7f263db9d700 (LWP 35723)):
> #0  0x0000003abf40b43c in pthread_cond_wait@@GLIBC_2.3.2 () from 
> /lib64/libpthread.so.0
> #1  0x00007f263ec01f8e in os::PlatformEvent::park() () from 
> /software/servers/jdk1.6.0_25/jre/lib/amd64/server/libjvm.so
> #2  0x00007f263ebd3985 in Monitor::IWait(Thread*, long) () from 
> /software/servers/jdk1.6.0_25/jre/lib/amd64/server/libjvm.so
> #3  0x00007f263ebd414e in Monitor::wait(bool, long, bool) () from 
> /software/servers/jdk1.6.0_25/jre/lib/amd64/server/libjvm.so
> #4  0x00007f263ed67668 in GangWorker::loop() () from 
> /software/servers/jdk1.6.0_25/jre/lib/amd64/server/libjvm.so
> #5  0x00007f263ed675b4 in GangWorker::run() () from 
> /software/servers/jdk1.6.0_25/jre/lib/amd64/server/libjvm.so
> #6  0x00007f263ec0296f in java_start(Thread*) () from 
> /software/servers/jdk1.6.0_25/jre/lib/amd64/server/libjvm.so
> #7  0x0000003abf407851 in start_thread () from /lib64/libpthread.so.0
> #8  0x0000003abece811d in clone () from /lib64/libc.so.6
> Thread 364 (Thread 0x7f263da9c700 (LWP 35724)): 



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

Reply via email to