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

Zhao, Qingwen commented on EAGLE-263:
-------------------------------------

Here is the bug details. 

When topology runs in local mode, some threads still live even though we 
explicitly shutdown the local cluster. After shutdown the tomcat, we found: 

{code}
Apr 21, 2016 2:15:09 PM org.apache.catalina.loader.WebappClassLoader 
clearReferencesThreads
SEVERE: The web application [/eagle-service] appears to have started a thread 
named [http-bio-9098-exec-7-SendThread(sandbox.hortonworks.com:2181)] but has 
failed to stop it. This is very likely to create a memory leak.
Apr 21, 2016 2:15:09 PM org.apache.catalina.loader.WebappClassLoader 
clearReferencesThreads
SEVERE: The web application [/eagle-service] appears to have started a thread 
named [http-bio-9098-exec-7-EventThread] but has failed to stop it. This is 
very likely to create a memory leak.
Apr 21, 2016 2:15:09 PM org.apache.catalina.loader.WebappClassLoader 
clearReferencesThreads
SEVERE: The web application [/eagle-service] appears to have started a thread 
named [IPC Client (1833750253) connection to 
sandbox.hortonworks.com/10.249.66.185:60020 from qingwzhao] but has failed to 
stop it. This is very likely to create a memory leak.
Apr 21, 2016 2:15:09 PM org.apache.catalina.loader.WebappClassLoader 
clearReferencesThreads
SEVERE: The web application [/eagle-service] appears to have started a thread 
named [IPC Client (1833750253) connection to 
sandbox.hortonworks.com/10.249.66.185:60020 from qingwzhao] but has failed to 
stop it. This is very likely to create a memory leak.
Apr 21, 2016 2:15:09 PM org.apache.catalina.loader.WebappClassLoader 
clearReferencesThreads
SEVERE: The web application [/eagle-service] appears to have started a thread 
named [htable-pool1-t1] but has failed to stop it. This is very likely to 
create a memory leak.
Apr 21, 2016 2:15:09 PM org.apache.catalina.loader.WebappClassLoader 
clearReferencesThreads
SEVERE: The web application [/eagle-service] appears to have started a thread 
named [htable-pool2-t1] but has failed to stop it. This is very likely to 
create a memory leak.
Apr 21, 2016 2:15:09 PM org.apache.catalina.loader.WebappClassLoader 
clearReferencesThreads
SEVERE: The web application [/eagle-service] appears to have started a thread 
named [IPC Client (1833750253) connection to 
sandbox.hortonworks.com/10.249.66.185:60020 from qingwzhao] but has failed to 
stop it. This is very likely to create a memory leak.
Apr 21, 2016 2:15:09 PM org.apache.catalina.loader.WebappClassLoader 
clearReferencesThreads
SEVERE: The web application [/eagle-service] appears to have started a thread 
named [IPC Client (1833750253) connection to 
sandbox.hortonworks.com/10.249.66.185:60020 from qingwzhao] but has failed to 
stop it. This is very likely to create a memory leak.
Apr 21, 2016 2:15:09 PM org.apache.catalina.loader.WebappClassLoader 
clearReferencesThreads
SEVERE: The web application [/eagle-service] appears to have started a thread 
named [IPC Client (1833750253) connection to 
sandbox.hortonworks.com/10.249.66.185:60020 from qingwzhao] but has failed to 
stop it. This is very likely to create a memory leak.
Apr 21, 2016 2:15:09 PM org.apache.catalina.loader.WebappClassLoader 
clearReferencesThreads
SEVERE: The web application [/eagle-service] appears to have started a thread 
named [IPC Client (1833750253) connection to 
sandbox.hortonworks.com/10.249.66.185:60020 from qingwzhao] but has failed to 
stop it. This is very likely to create a memory leak.
Apr 21, 2016 2:15:09 PM org.apache.catalina.loader.WebappClassLoader 
clearReferencesThreads
SEVERE: The web application [/eagle-service] appears to have started a thread 
named [IPC Client (1833750253) connection to 
sandbox.hortonworks.com/10.249.66.185:60020 from qingwzhao] but has failed to 
stop it. This is very likely to create a memory leak.
Apr 21, 2016 2:15:09 PM org.apache.catalina.loader.WebappClassLoader 
clearReferencesThreads
SEVERE: The web application [/eagle-service] appears to have started a thread 
named [IPC Client (1833750253) connection to 
sandbox.hortonworks.com/10.249.66.185:60020 from qingwzhao] but has failed to 
stop it. This is very likely to create a memory leak.
Apr 21, 2016 2:15:09 PM org.apache.catalina.loader.WebappClassLoader 
clearReferencesThreads
SEVERE: The web application [/eagle-service] appears to have started a thread 
named [IPC Client (1833750253) connection to 
sandbox.hortonworks.com/10.249.66.185:60020 from qingwzhao] but has failed to 
stop it. This is very likely to create a memory leak.
Apr 21, 2016 2:15:09 PM org.apache.catalina.loader.WebappClassLoader 
clearReferencesThreads
SEVERE: The web application [/eagle-service] appears to have started a thread 
named [IPC Client (1833750253) connection to 
sandbox.hortonworks.com/10.249.66.185:60020 from qingwzhao] but has failed to 
stop it. This is very likely to create a memory leak.
Apr 21, 2016 2:15:09 PM org.apache.catalina.loader.WebappClassLoader 
clearReferencesThreads
SEVERE: The web application [/eagle-service] appears to have started a thread 
named [htable-pool5-t1] but has failed to stop it. This is very likely to 
create a memory leak.
Apr 21, 2016 2:15:09 PM org.apache.catalina.loader.WebappClassLoader 
clearReferencesThreads
SEVERE: The web application [/eagle-service] appears to have started a thread 
named [htable-pool8-t1] but has failed to stop it. This is very likely to 
create a memory leak.
Apr 21, 2016 2:15:09 PM org.apache.catalina.loader.WebappClassLoader 
clearReferencesThreads
SEVERE: The web application [/eagle-service] appears to have started a thread 
named [htable-pool7-t1] but has failed to stop it. This is very likely to 
create a memory leak.
Apr 21, 2016 2:15:09 PM org.apache.catalina.loader.WebappClassLoader 
clearReferencesThreads
SEVERE: The web application [/eagle-service] appears to have started a thread 
named [htable-pool12-t1] but has failed to stop it. This is very likely to 
create a memory leak.
Apr 21, 2016 2:15:09 PM org.apache.catalina.loader.WebappClassLoader 
clearReferencesThreads
SEVERE: The web application [/eagle-service] appears to have started a thread 
named [htable-pool15-t1] but has failed to stop it. This is very likely to 
create a memory leak.
Apr 21, 2016 2:15:09 PM org.apache.catalina.loader.WebappClassLoader 
clearReferencesThreads
SEVERE: The web application [/eagle-service] appears to have started a thread 
named [htable-pool17-t1] but has failed to stop it. This is very likely to 
create a memory leak.
Apr 21, 2016 2:15:09 PM org.apache.catalina.loader.WebappClassLoader 
clearReferencesThreads
SEVERE: The web application [/eagle-service] appears to have started a thread 
named [htable-pool18-t1] but has failed to stop it. This is very likely to 
create a memory leak.
Apr 21, 2016 2:15:09 PM org.apache.catalina.loader.WebappClassLoader 
clearReferencesThreads
SEVERE: The web application [/eagle-service] appears to have started a thread 
named [htable-pool20-t1] but has failed to stop it. This is very likely to 
create a memory leak.
Apr 21, 2016 2:15:09 PM org.apache.catalina.loader.WebappClassLoader 
clearReferencesThreads
SEVERE: The web application [/eagle-service] appears to have started a thread 
named [htable-pool9-t1] but has failed to stop it. This is very likely to 
create a memory leak.
Apr 21, 2016 2:15:09 PM org.apache.catalina.loader.WebappClassLoader 
clearReferencesThreads
SEVERE: The web application [/eagle-service] appears to have started a thread 
named [htable-pool22-t1] but has failed to stop it. This is very likely to 
create a memory leak.
Apr 21, 2016 2:15:09 PM org.apache.catalina.loader.WebappClassLoader 
clearReferencesThreads
SEVERE: The web application [/eagle-service] appears to have started a thread 
named [htable-pool21-t1] but has failed to stop it. This is very likely to 
create a memory leak.
Apr 21, 2016 2:15:09 PM org.apache.catalina.loader.WebappClassLoader 
clearReferencesThreads
SEVERE: The web application [/eagle-service] appears to have started a thread 
named [htable-pool11-t1] but has failed to stop it. This is very likely to 
create a memory leak.
Apr 21, 2016 2:15:09 PM org.apache.catalina.loader.WebappClassLoader 
clearReferencesThreads
SEVERE: The web application [/eagle-service] appears to have started a thread 
named [htable-pool30-t1] but has failed to stop it. This is very likely to 
create a memory leak.
Apr 21, 2016 2:15:09 PM org.apache.catalina.loader.WebappClassLoader 
clearReferencesThreads
SEVERE: The web application [/eagle-service] appears to have started a thread 
named [htable-pool32-t1] but has failed to stop it. This is very likely to 
create a memory leak.
Apr 21, 2016 2:15:09 PM org.apache.catalina.loader.WebappClassLoader 
clearReferencesThreads
SEVERE: The web application [/eagle-service] appears to have started a thread 
named [htable-pool34-t1] but has failed to stop it. This is very likely to 
create a memory leak.
Apr 21, 2016 2:15:09 PM org.apache.catalina.loader.WebappClassLoader 
clearReferencesThreads
SEVERE: The web application [/eagle-service] appears to have started a thread 
named [htable-pool36-t1] but has failed to stop it. This is very likely to 
create a memory leak.
Apr 21, 2016 2:15:09 PM org.apache.catalina.loader.WebappClassLoader 
clearReferencesThreads
SEVERE: The web application [/eagle-service] appears to have started a thread 
named [DefaultQuartzScheduler_QuartzSchedulerThread] but has failed to stop it. 
This is very likely to create a memory leak.
Apr 21, 2016 2:15:09 PM org.apache.catalina.loader.WebappClassLoader 
checkThreadLocalMapForLeaks
SEVERE: The web application [/eagle-service] created a ThreadLocal with key of 
type [scala.util.DynamicVariable$$anon$1] (value 
[scala.util.DynamicVariable$$anon$1@476a8ca2]) and a value of type 
[org.apache.tomcat.util.log.SystemLogHandler] (value 
[org.apache.tomcat.util.log.SystemLogHandler@2437044f]) but failed to remove it 
when the web application was stopped. Threads are going to be renewed over time 
to try and avoid a probable memory leak.
Apr 21, 2016 2:15:09 PM org.apache.catalina.loader.WebappClassLoader 
checkThreadLocalMapForLeaks
SEVERE: The web application [/eagle-service] created a ThreadLocal with key of 
type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@1d927191]) and a 
value of type [scala.concurrent.forkjoin.ForkJoinPool.Submitter] (value 
[scala.concurrent.forkjoin.ForkJoinPool$Submitter@40e9b6c]) but failed to 
remove it when the web application was stopped. Threads are going to be renewed 
over time to try and avoid a probable memory leak.
Apr 21, 2016 2:15:09 PM org.apache.catalina.loader.WebappClassLoader 
checkThreadLocalMapForLeaks
SEVERE: The web application [/eagle-service] created a ThreadLocal with key of 
type [scala.util.DynamicVariable$$anon$1] (value 
[scala.util.DynamicVariable$$anon$1@476a8ca2]) and a value of type 
[org.apache.tomcat.util.log.SystemLogHandler] (value 
[org.apache.tomcat.util.log.SystemLogHandler@2437044f]) but failed to remove it 
when the web application was stopped. Threads are going to be renewed over time 
to try and avoid a probable memory leak.
Apr 21, 2016 2:15:09 PM org.apache.catalina.loader.WebappClassLoader 
checkThreadLocalMapForLeaks
SEVERE: The web application [/eagle-service] created a ThreadLocal with key of 
type [scala.util.DynamicVariable$$anon$1] (value 
[scala.util.DynamicVariable$$anon$1@476a8ca2]) and a value of type 
[org.apache.tomcat.util.log.SystemLogHandler] (value 
[org.apache.tomcat.util.log.SystemLogHandler@2437044f]) but failed to remove it 
when the web application was stopped. Threads are going to be renewed over time 
to try and avoid a probable memory leak.
Apr 21, 2016 2:15:09 PM org.apache.catalina.loader.WebappClassLoader 
checkThreadLocalMapForLeaks
SEVERE: The web application [/eagle-service] created a ThreadLocal with key of 
type [scala.util.DynamicVariable$$anon$1] (value 
[scala.util.DynamicVariable$$anon$1@476a8ca2]) and a value of type 
[org.apache.tomcat.util.log.SystemLogHandler] (value 
[org.apache.tomcat.util.log.SystemLogHandler@2437044f]) but failed to remove it 
when the web application was stopped. Threads are going to be renewed over time 
to try and avoid a probable memory leak.
Apr 21, 2016 2:15:09 PM org.apache.catalina.loader.WebappClassLoader 
checkThreadLocalMapForLeaks
SEVERE: The web application [/eagle-service] created a ThreadLocal with key of 
type [scala.util.DynamicVariable$$anon$1] (value 
[scala.util.DynamicVariable$$anon$1@476a8ca2]) and a value of type 
[org.apache.tomcat.util.log.SystemLogHandler] (value 
[org.apache.tomcat.util.log.SystemLogHandler@2437044f]) but failed to remove it 
when the web application was stopped. Threads are going to be renewed over time 
to try and avoid a probable memory leak.
Apr 21, 2016 2:15:09 PM org.apache.catalina.loader.WebappClassLoader 
checkThreadLocalMapForLeaks
SEVERE: The web application [/eagle-service] created a ThreadLocal with key of 
type [scala.util.DynamicVariable$$anon$1] (value 
[scala.util.DynamicVariable$$anon$1@476a8ca2]) and a value of type 
[org.apache.tomcat.util.log.SystemLogHandler] (value 
[org.apache.tomcat.util.log.SystemLogHandler@2437044f]) but failed to remove it 
when the web application was stopped. Threads are going to be renewed over time 
to try and avoid a probable memory leak.
Apr 21, 2016 2:15:09 PM org.apache.catalina.loader.WebappClassLoader 
checkThreadLocalMapForLeaks
SEVERE: The web application [/eagle-service] created a ThreadLocal with key of 
type [scala.util.DynamicVariable$$anon$1] (value 
[scala.util.DynamicVariable$$anon$1@476a8ca2]) and a value of type 
[org.apache.tomcat.util.log.SystemLogHandler] (value 
[org.apache.tomcat.util.log.SystemLogHandler@2437044f]) but failed to remove it 
when the web application was stopped. Threads are going to be renewed over time 
to try and avoid a probable memory leak.
Apr 21, 2016 2:15:09 PM org.apache.catalina.loader.WebappClassLoader 
checkThreadLocalMapForLeaks
SEVERE: The web application [/eagle-service] created a ThreadLocal with key of 
type [scala.util.DynamicVariable$$anon$1] (value 
[scala.util.DynamicVariable$$anon$1@476a8ca2]) and a value of type 
[org.apache.tomcat.util.log.SystemLogHandler] (value 
[org.apache.tomcat.util.log.SystemLogHandler@2437044f]) but failed to remove it 
when the web application was stopped. Threads are going to be renewed over time 
to try and avoid a probable memory leak.
Apr 21, 2016 2:15:09 PM org.apache.catalina.loader.WebappClassLoader 
checkThreadLocalMapForLeaks
SEVERE: The web application [/eagle-service] created a ThreadLocal with key of 
type [scala.util.DynamicVariable$$anon$1] (value 
[scala.util.DynamicVariable$$anon$1@476a8ca2]) and a value of type 
[org.apache.tomcat.util.log.SystemLogHandler] (value 
[org.apache.tomcat.util.log.SystemLogHandler@2437044f]) but failed to remove it 
when the web application was stopped. Threads are going to be renewed over time 
to try and avoid a probable memory leak.
Apr 21, 2016 2:15:09 PM org.apache.catalina.loader.WebappClassLoader 
checkThreadLocalMapForLeaks
SEVERE: The web application [/eagle-service] created a ThreadLocal with key of 
type [scala.util.DynamicVariable$$anon$1] (value 
[scala.util.DynamicVariable$$anon$1@476a8ca2]) and a value of type 
[org.apache.tomcat.util.log.SystemLogHandler] (value 
[org.apache.tomcat.util.log.SystemLogHandler@2437044f]) but failed to remove it 
when the web application was stopped. Threads are going to be renewed over time 
to try and avoid a probable memory leak.
Apr 21, 2016 2:15:09 PM org.apache.catalina.loader.WebappClassLoader 
checkThreadLocalMapForLeaks
SEVERE: The web application [/eagle-service] created a ThreadLocal with key of 
type [scala.util.DynamicVariable$$anon$1] (value 
[scala.util.DynamicVariable$$anon$1@476a8ca2]) and a value of type 
[org.apache.tomcat.util.log.SystemLogHandler] (value 
[org.apache.tomcat.util.log.SystemLogHandler@2437044f]) but failed to remove it 
when the web application was stopped. Threads are going to be renewed over time 
to try and avoid a probable memory leak.
Apr 21, 2016 2:15:09 PM org.apache.catalina.loader.WebappClassLoader 
checkThreadLocalMapForLeaks
SEVERE: The web application [/eagle-service] created a ThreadLocal with key of 
type [scala.util.DynamicVariable$$anon$1] (value 
[scala.util.DynamicVariable$$anon$1@476a8ca2]) and a value of type 
[org.apache.tomcat.util.log.SystemLogHandler] (value 
[org.apache.tomcat.util.log.SystemLogHandler@2437044f]) but failed to remove it 
when the web application was stopped. Threads are going to be renewed over time 
to try and avoid a probable memory leak.
Apr 21, 2016 2:15:09 PM org.apache.catalina.loader.WebappClassLoader 
checkThreadLocalMapForLeaks
SEVERE: The web application [/eagle-service] created a ThreadLocal with key of 
type [scala.util.DynamicVariable$$anon$1] (value 
[scala.util.DynamicVariable$$anon$1@476a8ca2]) and a value of type 
[org.apache.tomcat.util.log.SystemLogHandler] (value 
[org.apache.tomcat.util.log.SystemLogHandler@2437044f]) but failed to remove it 
when the web application was stopped. Threads are going to be renewed over time 
to try and avoid a probable memory leak.
Apr 21, 2016 2:15:09 PM org.apache.catalina.loader.WebappClassLoader 
checkThreadLocalMapForLeaks
SEVERE: The web application [/eagle-service] created a ThreadLocal with key of 
type [scala.util.DynamicVariable$$anon$1] (value 
[scala.util.DynamicVariable$$anon$1@476a8ca2]) and a value of type 
[org.apache.tomcat.util.log.SystemLogHandler] (value 
[org.apache.tomcat.util.log.SystemLogHandler@2437044f]) but failed to remove it 
when the web application was stopped. Threads are going to be renewed over time 
to try and avoid a probable memory leak.
Apr 21, 2016 2:15:09 PM org.apache.catalina.loader.WebappClassLoader 
checkThreadLocalMapForLeaks
SEVERE: The web application [/eagle-service] created a ThreadLocal with key of 
type [scala.util.DynamicVariable$$anon$1] (value 
[scala.util.DynamicVariable$$anon$1@476a8ca2]) and a value of type 
[org.apache.tomcat.util.log.SystemLogHandler] (value 
[org.apache.tomcat.util.log.SystemLogHandler@2437044f]) but failed to remove it 
when the web application was stopped. Threads are going to be renewed over time 
to try and avoid a probable memory leak.
Apr 21, 2016 2:15:09 PM org.apache.catalina.loader.WebappClassLoader 
checkThreadLocalMapForLeaks
SEVERE: The web application [/eagle-service] created a ThreadLocal with key of 
type [scala.util.DynamicVariable$$anon$1] (value 
[scala.util.DynamicVariable$$anon$1@476a8ca2]) and a value of type 
[org.apache.tomcat.util.log.SystemLogHandler] (value 
[org.apache.tomcat.util.log.SystemLogHandler@2437044f]) but failed to remove it 
when the web application was stopped. Threads are going to be renewed over time 
to try and avoid a probable memory leak.
Apr 21, 2016 2:15:09 PM org.apache.catalina.loader.WebappClassLoader 
checkThreadLocalMapForLeaks
SEVERE: The web application [/eagle-service] created a ThreadLocal with key of 
type [scala.util.DynamicVariable$$anon$1] (value 
[scala.util.DynamicVariable$$anon$1@476a8ca2]) and a value of type 
[org.apache.tomcat.util.log.SystemLogHandler] (value 
[org.apache.tomcat.util.log.SystemLogHandler@2437044f]) but failed to remove it 
when the web application was stopped. Threads are going to be renewed over time 
to try and avoid a probable memory leak.
Apr 21, 2016 2:15:09 PM org.apache.catalina.loader.WebappClassLoader 
checkThreadLocalMapForLeaks
SEVERE: The web application [/eagle-service] created a ThreadLocal with key of 
type [scala.util.DynamicVariable$$anon$1] (value 
[scala.util.DynamicVariable$$anon$1@476a8ca2]) and a value of type 
[org.apache.tomcat.util.log.SystemLogHandler] (value 
[org.apache.tomcat.util.log.SystemLogHandler@2437044f]) but failed to remove it 
when the web application was stopped. Threads are going to be renewed over time 
to try and avoid a probable memory leak.
Apr 21, 2016 2:15:09 PM org.apache.catalina.loader.WebappClassLoader 
checkThreadLocalMapForLeaks
SEVERE: The web application [/eagle-service] created a ThreadLocal with key of 
type [scala.util.DynamicVariable$$anon$1] (value 
[scala.util.DynamicVariable$$anon$1@476a8ca2]) and a value of type 
[org.apache.tomcat.util.log.SystemLogHandler] (value 
[org.apache.tomcat.util.log.SystemLogHandler@2437044f]) but failed to remove it 
when the web application was stopped. Threads are going to be renewed over time 
to try and avoid a probable memory leak.
Apr 21, 2016 2:15:09 PM org.apache.catalina.loader.WebappClassLoader 
checkThreadLocalMapForLeaks
SEVERE: The web application [/eagle-service] created a ThreadLocal with key of 
type [scala.util.DynamicVariable$$anon$1] (value 
[scala.util.DynamicVariable$$anon$1@476a8ca2]) and a value of type 
[org.apache.tomcat.util.log.SystemLogHandler] (value 
[org.apache.tomcat.util.log.SystemLogHandler@2437044f]) but failed to remove it 
when the web application was stopped. Threads are going to be renewed over time 
to try and avoid a probable memory leak.
Apr 21, 2016 2:15:09 PM org.apache.catalina.loader.WebappClassLoader 
checkThreadLocalMapForLeaks
SEVERE: The web application [/eagle-service] created a ThreadLocal with key of 
type [scala.util.DynamicVariable$$anon$1] (value 
[scala.util.DynamicVariable$$anon$1@476a8ca2]) and a value of type 
[org.apache.tomcat.util.log.SystemLogHandler] (value 
[org.apache.tomcat.util.log.SystemLogHandler@2437044f]) but failed to remove it 
when the web application was stopped. Threads are going to be renewed over time 
to try and avoid a probable memory leak.
Apr 21, 2016 2:15:09 PM org.apache.catalina.loader.WebappClassLoader 
checkThreadLocalMapForLeaks
SEVERE: The web application [/eagle-service] created a ThreadLocal with key of 
type [scala.util.DynamicVariable$$anon$1] (value 
[scala.util.DynamicVariable$$anon$1@476a8ca2]) and a value of type 
[org.apache.tomcat.util.log.SystemLogHandler] (value 
[org.apache.tomcat.util.log.SystemLogHandler@2437044f]) but failed to remove it 
when the web application was stopped. Threads are going to be renewed over time 
to try and avoid a probable memory leak.
Apr 21, 2016 2:15:09 PM org.apache.catalina.loader.WebappClassLoader 
checkThreadLocalMapForLeaks
SEVERE: The web application [/eagle-service] created a ThreadLocal with key of 
type [scala.util.DynamicVariable$$anon$1] (value 
[scala.util.DynamicVariable$$anon$1@476a8ca2]) and a value of type 
[org.apache.tomcat.util.log.SystemLogHandler] (value 
[org.apache.tomcat.util.log.SystemLogHandler@2437044f]) but failed to remove it 
when the web application was stopped. Threads are going to be renewed over time 
to try and avoid a probable memory leak.
Apr 21, 2016 2:15:09 PM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ["http-bio-9098"]
Apr 21, 2016 2:15:09 PM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ["ajp-bio-8009"]
Apr 21, 2016 2:15:09 PM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ["http-bio-9098"]
Apr 21, 2016 2:15:09 PM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ["ajp-bio-8009"]
2016-04-21 14:15:10,093 DEBUG 
[Thread-34-kafkaMsgConsumer-SendThread(sandbox.hortonworks.com:2181)] 
zookeeper.ClientCnxn[717]: Got ping response for sessionid: 0x154366d6f3200a9 
after 0ms
2016-04-21 14:15:10,138 DEBUG 
[Thread-34-kafkaMsgConsumer-SendThread(sandbox.hortonworks.com:2181)] 
zookeeper.ClientCnxn[717]: Got ping response for sessionid: 0x154366d6f3200aa 
after 1ms
2016-04-21 14:15:16,764 DEBUG 
[Thread-34-kafkaMsgConsumer-SendThread(sandbox.hortonworks.com:2181)] 
zookeeper.ClientCnxn[717]: Got ping response for sessionid: 0x154366d6f3200a9 
after 1ms
2016-04-21 14:15:16,809 DEBUG 
[Thread-34-kafkaMsgConsumer-SendThread(sandbox.hortonworks.com:2181)] 
zookeeper.ClientCnxn[717]: Got ping response for sessionid: 0x154366d6f3200aa 
after 1ms
2016-04-21 14:15:18,276 DEBUG 
[http-bio-9098-exec-7-SendThread(sandbox.hortonworks.com:2181)] 
zookeeper.ClientCnxn[717]: Got ping response for sessionid: 0x154366d6f3200a7 
after 0ms
2016-04-21 14:15:23,433 DEBUG 
[Thread-34-kafkaMsgConsumer-SendThread(sandbox.hortonworks.com:2181)] 
zookeeper.ClientCnxn[717]: Got ping response for sessionid: 0x154366d6f3200a9 
after 0ms
2016-04-21 14:15:23,479 DEBUG 
[Thread-34-kafkaMsgConsumer-SendThread(sandbox.hortonworks.com:2181)] 
zookeeper.ClientCnxn[717]: Got ping response for sessionid: 0x154366d6f3200aa 
after 0ms
2016-04-21 14:15:29,919 DEBUG [DefaultQuartzScheduler_QuartzSchedulerThread] 
simpl.PropertySettingJobFactory[51]: Producing instance of Job 
'dataJoiner.sandbox.hbaseSecurityLog.org.apache.eagle.security.hbase.sensitivity.HbaseResourceSensitivityPollingJob.job',
 
class=org.apache.eagle.security.hbase.sensitivity.HbaseResourceSensitivityPollingJob
2016-04-21 14:15:29,919 DEBUG [DefaultQuartzScheduler_QuartzSchedulerThread] 
core.QuartzSchedulerThread[268]: batch acquisition of 1 triggers
2016-04-21 14:15:29,920 DEBUG [DefaultQuartzScheduler_Worker-3] 
core.JobRunShell[212]: Calling execute on job 
dataJoiner.sandbox.hbaseSecurityLog.org.apache.eagle.security.hbase.sensitivity.HbaseResourceSensitivityPollingJob.job
2016-04-21 14:15:29,920 INFO [DefaultQuartzScheduler_Worker-3] 
util.AbstractResourceSensitivityPollingJob[44]: Load resource sensitivity 
information from eagle service localhost:9098
2016-04-21 14:15:29,920 ERROR [DefaultQuartzScheduler_Worker-3] 
sensitivity.HbaseResourceSensitivityPollingJob[59]: Fail to load hbase resource 
sensitivity data
java.lang.NullPointerException
        at 
org.apache.catalina.loader.WebappClassLoader.findResources(WebappClassLoader.java:1334)
        at java.lang.ClassLoader.getResources(ClassLoader.java:1185)
        at 
com.sun.jersey.spi.service.ServiceFinder.getResources(ServiceFinder.java:352)
        at 
com.sun.jersey.spi.service.ServiceFinder.access$200(ServiceFinder.java:159)
        at 
com.sun.jersey.spi.service.ServiceFinder$AbstractLazyIterator.setConfigs(ServiceFinder.java:720)
        at 
com.sun.jersey.spi.service.ServiceFinder$AbstractLazyIterator.hasNext(ServiceFinder.java:732)
        at 
com.sun.jersey.spi.service.ServiceFinder.toClassArray(ServiceFinder.java:595)
        at com.sun.jersey.api.client.Client.init(Client.java:213)
        at com.sun.jersey.api.client.Client.access$000(Client.java:118)
        at com.sun.jersey.api.client.Client$1.f(Client.java:191)
        at com.sun.jersey.api.client.Client$1.f(Client.java:187)
        at com.sun.jersey.spi.inject.Errors.processWithErrors(Errors.java:193)
        at com.sun.jersey.api.client.Client.<init>(Client.java:187)
        at com.sun.jersey.api.client.Client.<init>(Client.java:170)
        at com.sun.jersey.api.client.Client.create(Client.java:679)
        at 
org.apache.eagle.service.client.impl.EagleServiceBaseClient.<init>(EagleServiceBaseClient.java:94)
        at 
org.apache.eagle.service.client.impl.EagleServiceBaseClient.<init>(EagleServiceBaseClient.java:104)
        at 
org.apache.eagle.service.client.impl.EagleServiceClientImpl.<init>(EagleServiceClientImpl.java:45)
        at 
org.apache.eagle.security.util.AbstractResourceSensitivityPollingJob.load(AbstractResourceSensitivityPollingJob.java:47)
        at 
org.apache.eagle.security.hbase.sensitivity.HbaseResourceSensitivityPollingJob.execute(HbaseResourceSensitivityPollingJob.java:44)
        at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
        at 
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:557)
2016-04-21 14:15:30,103 DEBUG 
[Thread-34-kafkaMsgConsumer-SendThread(sandbox.hortonworks.com:2181)] 
zookeeper.ClientCnxn[717]: Got ping response for sessionid: 0x154366d6f3200a9 
after 1ms
2016-04-21 14:15:30,148 DEBUG 
[Thread-34-kafkaMsgConsumer-SendThread(sandbox.hortonworks.com:2181)] 
zookeeper.ClientCnxn[717]: Got ping response for sessionid: 0x154366d6f3200aa 
after 0ms
2016-04-21 14:15:30,866 DEBUG [pollingConfigurationSource] 
config.AbstractPollingScheduler[160]: Polling started
2016-04-21 14:15:30,867 INFO [pollingConfigurationSource] 
policy.DynamicPolicyLoader$DynamicPolicySource[189]: Poll policy from eagle 
service localhost:9098
2016-04-21 14:15:30,867 ERROR [pollingConfigurationSource] 
dao.PolicyDefinitionEntityDAOImpl[73]: Got an exception when query alert Def 
service
java.lang.NullPointerException
{code}

> Eagle tomcat server fail to shutdown for possible threads leak?
> ---------------------------------------------------------------
>
>                 Key: EAGLE-263
>                 URL: https://issues.apache.org/jira/browse/EAGLE-263
>             Project: Eagle
>          Issue Type: Bug
>            Reporter: Hao Chen
>            Assignee: Zhao, Qingwen
>
> [~qingwzhao] could you please add more description about the possible bug?
> Personally I prefer you focus on delivering feature firstly as higher 
> priority, but if you think this bug blocks your development, please fix it as 
> well.
> Thanks,
> Hao



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

Reply via email to