You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@kyuubi.apache.org by GitBox <gi...@apache.org> on 2022/08/16 09:31:28 UTC

[GitHub] [incubator-kyuubi] wForget opened a new issue, #3242: [Improvement] Make KyuubiThriftBinaryFrontendService handler thread pool daemon

wForget opened a new issue, #3242:
URL: https://github.com/apache/incubator-kyuubi/issues/3242

   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   
   
   ### Search before asking
   
   - [X] I have searched in the [issues](https://github.com/apache/incubator-kyuubi/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### What would you like to be improved?
   
   make KyuubiThriftBinaryFrontendService handler thread pool daemon
   
   ![image](https://user-images.githubusercontent.com/17894939/184846786-08021633-ce73-42c0-8d66-bd1660d4f51f.png)
   
   
   ### How should we improve?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org


[GitHub] [incubator-kyuubi] yaooqinn commented on issue #3242: [Improvement] Make KyuubiThriftBinaryFrontendService handler thread pool daemon

Posted by GitBox <gi...@apache.org>.
yaooqinn commented on issue #3242:
URL: https://github.com/apache/incubator-kyuubi/issues/3242#issuecomment-1216457265

   maybe we need to print more debug logo before and after `stop` for debugging


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org


[GitHub] [incubator-kyuubi] wForget commented on issue #3242: [Improvement] Make KyuubiThriftBinaryFrontendService handler thread pool daemon

Posted by GitBox <gi...@apache.org>.
wForget commented on issue #3242:
URL: https://github.com/apache/incubator-kyuubi/issues/3242#issuecomment-1216449408

   full jstack info:
   ```
   Full thread dump Java HotSpot(TM) 64-Bit Server VM (25.131-b11 mixed mode):
   
   "Attach Listener" #3914947 daemon prio=9 os_prio=0 tid=0x00007f84e0001000 nid=0x11acfc waiting on condition [0x0000000000000000]
      java.lang.Thread.State: RUNNABLE
   
   "KyuubiThriftBinaryFrontendServiceHandler-Pool: Thread-3844816" #3844816 prio=5 os_prio=0 tid=0x00007f83b4025800 nid=0x3045fb runnable [0x00007f81a99da000]
      java.lang.Thread.State: RUNNABLE
   	at java.net.SocketInputStream.socketRead0(Native Method)
   	at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
   	at java.net.SocketInputStream.read(SocketInputStream.java:171)
   	at java.net.SocketInputStream.read(SocketInputStream.java:141)
   	at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
   	at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
   	at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
   	- locked <0x000000026e28df10> (a java.io.BufferedInputStream)
   	at org.apache.thrift.transport.TIOStreamTransport.read(TIOStreamTransport.java:127)
   	at org.apache.thrift.transport.TTransport.readAll(TTransport.java:86)
   	at org.apache.thrift.transport.TSaslTransport.readLength(TSaslTransport.java:376)
   	at org.apache.thrift.transport.TSaslTransport.readFrame(TSaslTransport.java:453)
   	at org.apache.thrift.transport.TSaslTransport.read(TSaslTransport.java:435)
   	at org.apache.thrift.transport.TSaslServerTransport.read(TSaslServerTransport.java:41)
   	at org.apache.thrift.transport.TTransport.readAll(TTransport.java:86)
   	at org.apache.thrift.protocol.TBinaryProtocol.readAll(TBinaryProtocol.java:429)
   	at org.apache.thrift.protocol.TBinaryProtocol.readI32(TBinaryProtocol.java:318)
   	at org.apache.thrift.protocol.TBinaryProtocol.readMessageBegin(TBinaryProtocol.java:219)
   	at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:27)
   	at org.apache.kyuubi.service.authentication.HadoopThriftAuthBridgeServer$TUGIAssumingProcessor.process(HadoopThriftAuthBridgeServer.scala:162)
   	at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:286)
   	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
   	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
   	at java.lang.Thread.run(Thread.java:748)
   
   "KyuubiThriftBinaryFrontendServiceHandler-Pool: Thread-2026959" #2026959 prio=5 os_prio=0 tid=0x00007f83b402e800 nid=0x23dbdb runnable [0x00007f83798e5000]
      java.lang.Thread.State: RUNNABLE
   	at java.net.SocketInputStream.socketRead0(Native Method)
   	at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
   	at java.net.SocketInputStream.read(SocketInputStream.java:171)
   	at java.net.SocketInputStream.read(SocketInputStream.java:141)
   	at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
   	at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
   	at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
   	- locked <0x0000000269c9c5f0> (a java.io.BufferedInputStream)
   	at org.apache.thrift.transport.TIOStreamTransport.read(TIOStreamTransport.java:127)
   	at org.apache.thrift.transport.TTransport.readAll(TTransport.java:86)
   	at org.apache.thrift.transport.TSaslTransport.readLength(TSaslTransport.java:376)
   	at org.apache.thrift.transport.TSaslTransport.readFrame(TSaslTransport.java:453)
   	at org.apache.thrift.transport.TSaslTransport.read(TSaslTransport.java:435)
   	at org.apache.thrift.transport.TSaslServerTransport.read(TSaslServerTransport.java:41)
   	at org.apache.thrift.transport.TTransport.readAll(TTransport.java:86)
   	at org.apache.thrift.protocol.TBinaryProtocol.readAll(TBinaryProtocol.java:429)
   	at org.apache.thrift.protocol.TBinaryProtocol.readI32(TBinaryProtocol.java:318)
   	at org.apache.thrift.protocol.TBinaryProtocol.readMessageBegin(TBinaryProtocol.java:219)
   	at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:27)
   	at org.apache.kyuubi.service.authentication.HadoopThriftAuthBridgeServer$TUGIAssumingProcessor.process(HadoopThriftAuthBridgeServer.scala:162)
   	at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:286)
   	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
   	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
   	at java.lang.Thread.run(Thread.java:748)
   
   "KyuubiThriftBinaryFrontendServiceHandler-Pool: Thread-2026953" #2026953 prio=5 os_prio=0 tid=0x00007f83b4017800 nid=0x23b340 runnable [0x00007f837b2f9000]
      java.lang.Thread.State: RUNNABLE
   	at java.net.SocketInputStream.socketRead0(Native Method)
   	at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
   	at java.net.SocketInputStream.read(SocketInputStream.java:171)
   	at java.net.SocketInputStream.read(SocketInputStream.java:141)
   	at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
   	at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
   	at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
   	- locked <0x0000000269c851a8> (a java.io.BufferedInputStream)
   	at org.apache.thrift.transport.TIOStreamTransport.read(TIOStreamTransport.java:127)
   	at org.apache.thrift.transport.TTransport.readAll(TTransport.java:86)
   	at org.apache.thrift.transport.TSaslTransport.readLength(TSaslTransport.java:376)
   	at org.apache.thrift.transport.TSaslTransport.readFrame(TSaslTransport.java:453)
   	at org.apache.thrift.transport.TSaslTransport.read(TSaslTransport.java:435)
   	at org.apache.thrift.transport.TSaslServerTransport.read(TSaslServerTransport.java:41)
   	at org.apache.thrift.transport.TTransport.readAll(TTransport.java:86)
   	at org.apache.thrift.protocol.TBinaryProtocol.readAll(TBinaryProtocol.java:429)
   	at org.apache.thrift.protocol.TBinaryProtocol.readI32(TBinaryProtocol.java:318)
   	at org.apache.thrift.protocol.TBinaryProtocol.readMessageBegin(TBinaryProtocol.java:219)
   	at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:27)
   	at org.apache.kyuubi.service.authentication.HadoopThriftAuthBridgeServer$TUGIAssumingProcessor.process(HadoopThriftAuthBridgeServer.scala:162)
   	at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:286)
   	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
   	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
   	at java.lang.Thread.run(Thread.java:748)
   
   "KyuubiThriftBinaryFrontendServiceHandler-Pool: Thread-2026947" #2026947 prio=5 os_prio=0 tid=0x00007f83b4005800 nid=0x23a836 runnable [0x00007f81a81c2000]
      java.lang.Thread.State: RUNNABLE
   	at java.net.SocketInputStream.socketRead0(Native Method)
   	at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
   	at java.net.SocketInputStream.read(SocketInputStream.java:171)
   	at java.net.SocketInputStream.read(SocketInputStream.java:141)
   	at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
   	at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
   	at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
   	- locked <0x0000000269ca0ae0> (a java.io.BufferedInputStream)
   	at org.apache.thrift.transport.TIOStreamTransport.read(TIOStreamTransport.java:127)
   	at org.apache.thrift.transport.TTransport.readAll(TTransport.java:86)
   	at org.apache.thrift.transport.TSaslTransport.readLength(TSaslTransport.java:376)
   	at org.apache.thrift.transport.TSaslTransport.readFrame(TSaslTransport.java:453)
   	at org.apache.thrift.transport.TSaslTransport.read(TSaslTransport.java:435)
   	at org.apache.thrift.transport.TSaslServerTransport.read(TSaslServerTransport.java:41)
   	at org.apache.thrift.transport.TTransport.readAll(TTransport.java:86)
   	at org.apache.thrift.protocol.TBinaryProtocol.readAll(TBinaryProtocol.java:429)
   	at org.apache.thrift.protocol.TBinaryProtocol.readI32(TBinaryProtocol.java:318)
   	at org.apache.thrift.protocol.TBinaryProtocol.readMessageBegin(TBinaryProtocol.java:219)
   	at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:27)
   	at org.apache.kyuubi.service.authentication.HadoopThriftAuthBridgeServer$TUGIAssumingProcessor.process(HadoopThriftAuthBridgeServer.scala:162)
   	at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:286)
   	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
   	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
   	at java.lang.Thread.run(Thread.java:748)
   
   "KyuubiThriftBinaryFrontendServiceHandler-Pool: Thread-2026939" #2026939 prio=5 os_prio=0 tid=0x00007f83b4002800 nid=0x2389a3 runnable [0x00007f82adadb000]
      java.lang.Thread.State: RUNNABLE
   	at java.net.SocketInputStream.socketRead0(Native Method)
   	at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
   	at java.net.SocketInputStream.read(SocketInputStream.java:171)
   	at java.net.SocketInputStream.read(SocketInputStream.java:141)
   	at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
   	at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
   	at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
   	- locked <0x0000000269c6dc80> (a java.io.BufferedInputStream)
   	at org.apache.thrift.transport.TIOStreamTransport.read(TIOStreamTransport.java:127)
   	at org.apache.thrift.transport.TTransport.readAll(TTransport.java:86)
   	at org.apache.thrift.transport.TSaslTransport.readLength(TSaslTransport.java:376)
   	at org.apache.thrift.transport.TSaslTransport.readFrame(TSaslTransport.java:453)
   	at org.apache.thrift.transport.TSaslTransport.read(TSaslTransport.java:435)
   	at org.apache.thrift.transport.TSaslServerTransport.read(TSaslServerTransport.java:41)
   	at org.apache.thrift.transport.TTransport.readAll(TTransport.java:86)
   	at org.apache.thrift.protocol.TBinaryProtocol.readAll(TBinaryProtocol.java:429)
   	at org.apache.thrift.protocol.TBinaryProtocol.readI32(TBinaryProtocol.java:318)
   	at org.apache.thrift.protocol.TBinaryProtocol.readMessageBegin(TBinaryProtocol.java:219)
   	at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:27)
   	at org.apache.kyuubi.service.authentication.HadoopThriftAuthBridgeServer$TUGIAssumingProcessor.process(HadoopThriftAuthBridgeServer.scala:162)
   	at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:286)
   	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
   	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
   	at java.lang.Thread.run(Thread.java:748)
   
   "KyuubiThriftBinaryFrontendServiceHandler-Pool: Thread-2026252" #2026252 prio=5 os_prio=0 tid=0x00007f83b4013000 nid=0x224198 runnable [0x00007f808b2f1000]
      java.lang.Thread.State: RUNNABLE
   	at java.net.SocketInputStream.socketRead0(Native Method)
   	at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
   	at java.net.SocketInputStream.read(SocketInputStream.java:171)
   	at java.net.SocketInputStream.read(SocketInputStream.java:141)
   	at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
   	at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
   	at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
   	- locked <0x0000000269c73870> (a java.io.BufferedInputStream)
   	at org.apache.thrift.transport.TIOStreamTransport.read(TIOStreamTransport.java:127)
   	at org.apache.thrift.transport.TTransport.readAll(TTransport.java:86)
   	at org.apache.thrift.transport.TSaslTransport.readLength(TSaslTransport.java:376)
   	at org.apache.thrift.transport.TSaslTransport.readFrame(TSaslTransport.java:453)
   	at org.apache.thrift.transport.TSaslTransport.read(TSaslTransport.java:435)
   	at org.apache.thrift.transport.TSaslServerTransport.read(TSaslServerTransport.java:41)
   	at org.apache.thrift.transport.TTransport.readAll(TTransport.java:86)
   	at org.apache.thrift.protocol.TBinaryProtocol.readAll(TBinaryProtocol.java:429)
   	at org.apache.thrift.protocol.TBinaryProtocol.readI32(TBinaryProtocol.java:318)
   	at org.apache.thrift.protocol.TBinaryProtocol.readMessageBegin(TBinaryProtocol.java:219)
   	at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:27)
   	at org.apache.kyuubi.service.authentication.HadoopThriftAuthBridgeServer$TUGIAssumingProcessor.process(HadoopThriftAuthBridgeServer.scala:162)
   	at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:286)
   	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
   	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
   	at java.lang.Thread.run(Thread.java:748)
   
   "KyuubiThriftBinaryFrontendServiceHandler-Pool: Thread-2025996" #2025996 prio=5 os_prio=0 tid=0x00007f83b4024800 nid=0x222ce6 runnable [0x00007f81aaaeb000]
      java.lang.Thread.State: RUNNABLE
   	at java.net.SocketInputStream.socketRead0(Native Method)
   	at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
   	at java.net.SocketInputStream.read(SocketInputStream.java:171)
   	at java.net.SocketInputStream.read(SocketInputStream.java:141)
   	at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
   	at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
   	at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
   	- locked <0x0000000269c60528> (a java.io.BufferedInputStream)
   	at org.apache.thrift.transport.TIOStreamTransport.read(TIOStreamTransport.java:127)
   	at org.apache.thrift.transport.TTransport.readAll(TTransport.java:86)
   	at org.apache.thrift.transport.TSaslTransport.readLength(TSaslTransport.java:376)
   	at org.apache.thrift.transport.TSaslTransport.readFrame(TSaslTransport.java:453)
   	at org.apache.thrift.transport.TSaslTransport.read(TSaslTransport.java:435)
   	at org.apache.thrift.transport.TSaslServerTransport.read(TSaslServerTransport.java:41)
   	at org.apache.thrift.transport.TTransport.readAll(TTransport.java:86)
   	at org.apache.thrift.protocol.TBinaryProtocol.readAll(TBinaryProtocol.java:429)
   	at org.apache.thrift.protocol.TBinaryProtocol.readI32(TBinaryProtocol.java:318)
   	at org.apache.thrift.protocol.TBinaryProtocol.readMessageBegin(TBinaryProtocol.java:219)
   	at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:27)
   	at org.apache.kyuubi.service.authentication.HadoopThriftAuthBridgeServer$TUGIAssumingProcessor.process(HadoopThriftAuthBridgeServer.scala:162)
   	at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:286)
   	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
   	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
   	at java.lang.Thread.run(Thread.java:748)
   
   "KyuubiThriftBinaryFrontendServiceHandler-Pool: Thread-2024592" #2024592 prio=5 os_prio=0 tid=0x00007f83b402a800 nid=0x214c68 runnable [0x00007f837bbfe000]
      java.lang.Thread.State: RUNNABLE
   	at java.net.SocketInputStream.socketRead0(Native Method)
   	at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
   	at java.net.SocketInputStream.read(SocketInputStream.java:171)
   	at java.net.SocketInputStream.read(SocketInputStream.java:141)
   	at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
   	at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
   	at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
   	- locked <0x0000000269c69d58> (a java.io.BufferedInputStream)
   	at org.apache.thrift.transport.TIOStreamTransport.read(TIOStreamTransport.java:127)
   	at org.apache.thrift.transport.TTransport.readAll(TTransport.java:86)
   	at org.apache.thrift.transport.TSaslTransport.readLength(TSaslTransport.java:376)
   	at org.apache.thrift.transport.TSaslTransport.readFrame(TSaslTransport.java:453)
   	at org.apache.thrift.transport.TSaslTransport.read(TSaslTransport.java:435)
   	at org.apache.thrift.transport.TSaslServerTransport.read(TSaslServerTransport.java:41)
   	at org.apache.thrift.transport.TTransport.readAll(TTransport.java:86)
   	at org.apache.thrift.protocol.TBinaryProtocol.readAll(TBinaryProtocol.java:429)
   	at org.apache.thrift.protocol.TBinaryProtocol.readI32(TBinaryProtocol.java:318)
   	at org.apache.thrift.protocol.TBinaryProtocol.readMessageBegin(TBinaryProtocol.java:219)
   	at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:27)
   	at org.apache.kyuubi.service.authentication.HadoopThriftAuthBridgeServer$TUGIAssumingProcessor.process(HadoopThriftAuthBridgeServer.scala:162)
   	at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:286)
   	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
   	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
   	at java.lang.Thread.run(Thread.java:748)
   
   "KyuubiThriftBinaryFrontendServiceHandler-Pool: Thread-2024195" #2024195 prio=5 os_prio=0 tid=0x00007f83b401c000 nid=0x210bed runnable [0x00007f83781ce000]
      java.lang.Thread.State: RUNNABLE
   	at java.net.SocketInputStream.socketRead0(Native Method)
   	at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
   	at java.net.SocketInputStream.read(SocketInputStream.java:171)
   	at java.net.SocketInputStream.read(SocketInputStream.java:141)
   	at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
   	at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
   	at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
   	- locked <0x0000000269c9fb20> (a java.io.BufferedInputStream)
   	at org.apache.thrift.transport.TIOStreamTransport.read(TIOStreamTransport.java:127)
   	at org.apache.thrift.transport.TTransport.readAll(TTransport.java:86)
   	at org.apache.thrift.transport.TSaslTransport.readLength(TSaslTransport.java:376)
   	at org.apache.thrift.transport.TSaslTransport.readFrame(TSaslTransport.java:453)
   	at org.apache.thrift.transport.TSaslTransport.read(TSaslTransport.java:435)
   	at org.apache.thrift.transport.TSaslServerTransport.read(TSaslServerTransport.java:41)
   	at org.apache.thrift.transport.TTransport.readAll(TTransport.java:86)
   	at org.apache.thrift.protocol.TBinaryProtocol.readAll(TBinaryProtocol.java:429)
   	at org.apache.thrift.protocol.TBinaryProtocol.readI32(TBinaryProtocol.java:318)
   	at org.apache.thrift.protocol.TBinaryProtocol.readMessageBegin(TBinaryProtocol.java:219)
   	at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:27)
   	at org.apache.kyuubi.service.authentication.HadoopThriftAuthBridgeServer$TUGIAssumingProcessor.process(HadoopThriftAuthBridgeServer.scala:162)
   	at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:286)
   	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
   	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
   	at java.lang.Thread.run(Thread.java:748)
   
   "DestroyJavaVM" #97 prio=5 os_prio=0 tid=0x00007f85bc00c000 nid=0x333996 waiting on condition [0x0000000000000000]
      java.lang.Thread.State: RUNNABLE
   
   "Thread[Thread-5,5,main]" #71 daemon prio=5 os_prio=0 tid=0x00007f85be989000 nid=0x333a0c waiting on condition [0x00007f841e6f1000]
      java.lang.Thread.State: TIMED_WAITING (sleeping)
   	at java.lang.Thread.sleep(Native Method)
   	at org.apache.hadoop.security.token.delegation.AbstractDelegationTokenSecretManager$ExpiredTokenRemover.run(AbstractDelegationTokenSecretManager.java:705)
   	at java.lang.Thread.run(Thread.java:748)
   
   "org.apache.hadoop.fs.FileSystem$Statistics$StatisticsDataReferenceCleaner" #67 daemon prio=5 os_prio=0 tid=0x00007f85be65b800 nid=0x333a07 in Object.wait() [0x00007f841eff2000]
      java.lang.Thread.State: WAITING (on object monitor)
   	at java.lang.Object.wait(Native Method)
   	- waiting on <0x0000000260200c90> (a java.lang.ref.ReferenceQueue$Lock)
   	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:143)
   	- locked <0x0000000260200c90> (a java.lang.ref.ReferenceQueue$Lock)
   	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:164)
   	at org.apache.hadoop.fs.FileSystem$Statistics$StatisticsDataReferenceCleaner.run(FileSystem.java:4021)
   	at java.lang.Thread.run(Thread.java:748)
   
   "Service Thread" #21 daemon prio=9 os_prio=0 tid=0x00007f85bc25e800 nid=0x3339d2 runnable [0x0000000000000000]
      java.lang.Thread.State: RUNNABLE
   
   "C1 CompilerThread14" #20 daemon prio=9 os_prio=0 tid=0x00007f85bc25b800 nid=0x3339d1 waiting on condition [0x0000000000000000]
      java.lang.Thread.State: RUNNABLE
   
   "C1 CompilerThread13" #19 daemon prio=9 os_prio=0 tid=0x00007f85bc259800 nid=0x3339d0 waiting on condition [0x0000000000000000]
      java.lang.Thread.State: RUNNABLE
   
   "C1 CompilerThread12" #18 daemon prio=9 os_prio=0 tid=0x00007f85bc257800 nid=0x3339cf waiting on condition [0x0000000000000000]
      java.lang.Thread.State: RUNNABLE
   
   "C1 CompilerThread11" #17 daemon prio=9 os_prio=0 tid=0x00007f85bc255800 nid=0x3339ce waiting on condition [0x0000000000000000]
      java.lang.Thread.State: RUNNABLE
   
   "C1 CompilerThread10" #16 daemon prio=9 os_prio=0 tid=0x00007f85bc253800 nid=0x3339cd waiting on condition [0x0000000000000000]
      java.lang.Thread.State: RUNNABLE
   
   "C2 CompilerThread9" #15 daemon prio=9 os_prio=0 tid=0x00007f85bc251800 nid=0x3339cc waiting on condition [0x0000000000000000]
      java.lang.Thread.State: RUNNABLE
   
   "C2 CompilerThread8" #14 daemon prio=9 os_prio=0 tid=0x00007f85bc24e800 nid=0x3339cb waiting on condition [0x0000000000000000]
      java.lang.Thread.State: RUNNABLE
   
   "C2 CompilerThread7" #13 daemon prio=9 os_prio=0 tid=0x00007f85bc24c000 nid=0x3339ca waiting on condition [0x0000000000000000]
      java.lang.Thread.State: RUNNABLE
   
   "C2 CompilerThread6" #12 daemon prio=9 os_prio=0 tid=0x00007f85bc24a000 nid=0x3339c9 waiting on condition [0x0000000000000000]
      java.lang.Thread.State: RUNNABLE
   
   "C2 CompilerThread5" #11 daemon prio=9 os_prio=0 tid=0x00007f85bc248000 nid=0x3339c8 waiting on condition [0x0000000000000000]
      java.lang.Thread.State: RUNNABLE
   
   "C2 CompilerThread4" #10 daemon prio=9 os_prio=0 tid=0x00007f85bc245800 nid=0x3339c7 waiting on condition [0x0000000000000000]
      java.lang.Thread.State: RUNNABLE
   
   "C2 CompilerThread3" #9 daemon prio=9 os_prio=0 tid=0x00007f85bc23b800 nid=0x3339c6 waiting on condition [0x0000000000000000]
      java.lang.Thread.State: RUNNABLE
   
   "C2 CompilerThread2" #8 daemon prio=9 os_prio=0 tid=0x00007f85bc239000 nid=0x3339c5 waiting on condition [0x0000000000000000]
      java.lang.Thread.State: RUNNABLE
   
   "C2 CompilerThread1" #7 daemon prio=9 os_prio=0 tid=0x00007f85bc237000 nid=0x3339c4 waiting on condition [0x0000000000000000]
      java.lang.Thread.State: RUNNABLE
   
   "C2 CompilerThread0" #6 daemon prio=9 os_prio=0 tid=0x00007f85bc234800 nid=0x3339c3 waiting on condition [0x0000000000000000]
      java.lang.Thread.State: RUNNABLE
   
   "Signal Dispatcher" #5 daemon prio=9 os_prio=0 tid=0x00007f85bc232800 nid=0x3339c2 runnable [0x0000000000000000]
      java.lang.Thread.State: RUNNABLE
   
   "Surrogate Locker Thread (Concurrent GC)" #4 daemon prio=9 os_prio=0 tid=0x00007f85bc231000 nid=0x3339c1 waiting on condition [0x0000000000000000]
      java.lang.Thread.State: RUNNABLE
   
   "Finalizer" #3 daemon prio=8 os_prio=0 tid=0x00007f85bc1ff000 nid=0x3339c0 in Object.wait() [0x00007f84f5939000]
      java.lang.Thread.State: WAITING (on object monitor)
   	at java.lang.Object.wait(Native Method)
   	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:143)
   	- locked <0x00000002601ebed8> (a java.lang.ref.ReferenceQueue$Lock)
   	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:164)
   	at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:209)
   
   "Reference Handler" #2 daemon prio=10 os_prio=0 tid=0x00007f85bc1fa800 nid=0x3339bf in Object.wait() [0x00007f84f5a3a000]
      java.lang.Thread.State: WAITING (on object monitor)
   	at java.lang.Object.wait(Native Method)
   	at java.lang.Object.wait(Object.java:502)
   	at java.lang.ref.Reference.tryHandlePending(Reference.java:191)
   	- locked <0x00000002601eb540> (a java.lang.ref.Reference$Lock)
   	at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:153)
   
   "VM Thread" os_prio=0 tid=0x00007f85bc1f3000 nid=0x3339be runnable 
   
   "Gang worker#0 (Parallel GC Threads)" os_prio=0 tid=0x00007f85bc01d000 nid=0x333997 runnable 
   
   "Gang worker#1 (Parallel GC Threads)" os_prio=0 tid=0x00007f85bc01f000 nid=0x333998 runnable 
   
   "Gang worker#2 (Parallel GC Threads)" os_prio=0 tid=0x00007f85bc020800 nid=0x333999 runnable 
   
   "Gang worker#3 (Parallel GC Threads)" os_prio=0 tid=0x00007f85bc022800 nid=0x33399a runnable 
   
   "Gang worker#4 (Parallel GC Threads)" os_prio=0 tid=0x00007f85bc024800 nid=0x33399b runnable 
   
   "Gang worker#5 (Parallel GC Threads)" os_prio=0 tid=0x00007f85bc026000 nid=0x33399c runnable 
   
   "Gang worker#6 (Parallel GC Threads)" os_prio=0 tid=0x00007f85bc028000 nid=0x33399d runnable 
   
   "Gang worker#7 (Parallel GC Threads)" os_prio=0 tid=0x00007f85bc02a000 nid=0x33399e runnable 
   
   "Gang worker#8 (Parallel GC Threads)" os_prio=0 tid=0x00007f85bc02b800 nid=0x33399f runnable 
   
   "Gang worker#9 (Parallel GC Threads)" os_prio=0 tid=0x00007f85bc02d800 nid=0x3339a0 runnable 
   
   "Gang worker#10 (Parallel GC Threads)" os_prio=0 tid=0x00007f85bc02f000 nid=0x3339a1 runnable 
   
   "Gang worker#11 (Parallel GC Threads)" os_prio=0 tid=0x00007f85bc031000 nid=0x3339a2 runnable 
   
   "Gang worker#12 (Parallel GC Threads)" os_prio=0 tid=0x00007f85bc033000 nid=0x3339a3 runnable 
   
   "Gang worker#13 (Parallel GC Threads)" os_prio=0 tid=0x00007f85bc034800 nid=0x3339a4 runnable 
   
   "Gang worker#14 (Parallel GC Threads)" os_prio=0 tid=0x00007f85bc036800 nid=0x3339a5 runnable 
   
   "Gang worker#15 (Parallel GC Threads)" os_prio=0 tid=0x00007f85bc038800 nid=0x3339a6 runnable 
   
   "Gang worker#16 (Parallel GC Threads)" os_prio=0 tid=0x00007f85bc03a000 nid=0x3339a7 runnable 
   
   "Gang worker#17 (Parallel GC Threads)" os_prio=0 tid=0x00007f85bc03c000 nid=0x3339a8 runnable 
   
   "Gang worker#18 (Parallel GC Threads)" os_prio=0 tid=0x00007f85bc03e000 nid=0x3339a9 runnable 
   
   "Gang worker#19 (Parallel GC Threads)" os_prio=0 tid=0x00007f85bc03f800 nid=0x3339aa runnable 
   
   "Gang worker#20 (Parallel GC Threads)" os_prio=0 tid=0x00007f85bc041800 nid=0x3339ab runnable 
   
   "Gang worker#21 (Parallel GC Threads)" os_prio=0 tid=0x00007f85bc043000 nid=0x3339ac runnable 
   
   "Gang worker#22 (Parallel GC Threads)" os_prio=0 tid=0x00007f85bc045000 nid=0x3339ad runnable 
   
   "Gang worker#23 (Parallel GC Threads)" os_prio=0 tid=0x00007f85bc047000 nid=0x3339ae runnable 
   
   "Gang worker#24 (Parallel GC Threads)" os_prio=0 tid=0x00007f85bc048800 nid=0x3339af runnable 
   
   "Gang worker#25 (Parallel GC Threads)" os_prio=0 tid=0x00007f85bc04a800 nid=0x3339b0 runnable 
   
   "Gang worker#26 (Parallel GC Threads)" os_prio=0 tid=0x00007f85bc04c800 nid=0x3339b1 runnable 
   
   "Gang worker#27 (Parallel GC Threads)" os_prio=0 tid=0x00007f85bc04e000 nid=0x3339b2 runnable 
   
   "Concurrent Mark-Sweep GC Thread" os_prio=0 tid=0x00007f85bc19e800 nid=0x3339bd runnable 
   
   "Gang worker#0 (Parallel CMS Threads)" os_prio=0 tid=0x00007f85bc190000 nid=0x3339b6 runnable 
   
   "Gang worker#1 (Parallel CMS Threads)" os_prio=0 tid=0x00007f85bc192000 nid=0x3339b7 runnable 
   
   "Gang worker#2 (Parallel CMS Threads)" os_prio=0 tid=0x00007f85bc194000 nid=0x3339b8 runnable 
   
   "Gang worker#3 (Parallel CMS Threads)" os_prio=0 tid=0x00007f85bc195800 nid=0x3339b9 runnable 
   
   "Gang worker#4 (Parallel CMS Threads)" os_prio=0 tid=0x00007f85bc197800 nid=0x3339ba runnable 
   
   "Gang worker#5 (Parallel CMS Threads)" os_prio=0 tid=0x00007f85bc199000 nid=0x3339bb runnable 
   
   "Gang worker#6 (Parallel CMS Threads)" os_prio=0 tid=0x00007f85bc19b000 nid=0x3339bc runnable 
   
   "VM Periodic Task Thread" os_prio=0 tid=0x00007f85bc262000 nid=0x3339d3 waiting on condition 
   
   JNI global references: 2010
   
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org


[GitHub] [incubator-kyuubi] yaooqinn commented on issue #3242: [Improvement] Make KyuubiThriftBinaryFrontendService handler thread pool daemon

Posted by GitBox <gi...@apache.org>.
yaooqinn commented on issue #3242:
URL: https://github.com/apache/incubator-kyuubi/issues/3242#issuecomment-1216442666

   > I use kyuubi-ctl to delete kyuubi server but the process does not exit, and only KyuubiThriftBinaryFrontendServiceHandler-Pool is non-daemon.
   
   You mean after all connections are disconnected and the server `stop` being triggered?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org


[GitHub] [incubator-kyuubi] wForget commented on issue #3242: [Improvement] Make KyuubiThriftBinaryFrontendService handler thread pool daemon

Posted by GitBox <gi...@apache.org>.
wForget commented on issue #3242:
URL: https://github.com/apache/incubator-kyuubi/issues/3242#issuecomment-1216405573

   cc @yaooqinn, is this reasonable?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org


[GitHub] [incubator-kyuubi] yaooqinn commented on issue #3242: [Improvement] Make KyuubiThriftBinaryFrontendService handler thread pool daemon

Posted by GitBox <gi...@apache.org>.
yaooqinn commented on issue #3242:
URL: https://github.com/apache/incubator-kyuubi/issues/3242#issuecomment-1216421224

   What's the problem you have met?
   
   do we still need to wait after changing it to daemon?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org


[GitHub] [incubator-kyuubi] wForget commented on issue #3242: [Improvement] Make KyuubiThriftBinaryFrontendService handler thread pool daemon

Posted by GitBox <gi...@apache.org>.
wForget commented on issue #3242:
URL: https://github.com/apache/incubator-kyuubi/issues/3242#issuecomment-1216446009

   > You mean after all connections are disconnected and the server `stop` being triggered?
   
   yea, but I don't know why that thread doesn't end.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org


[GitHub] [incubator-kyuubi] wForget commented on issue #3242: [Improvement] Make KyuubiThriftBinaryFrontendService handler thread pool daemon

Posted by GitBox <gi...@apache.org>.
wForget commented on issue #3242:
URL: https://github.com/apache/incubator-kyuubi/issues/3242#issuecomment-1216433330

   > What's the problem you have met?
   
   I use kyuubi-ctl to delete kyuubi server but the process does not exit, and only KyuubiThriftBinaryFrontendServiceHandler-Pool is non-daemon.
   
   > do we still need to wait after changing it to daemon?
   
   `TThreadPoolServer#serve` implements wait, we don't seem to need to implement it.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org


[GitHub] [incubator-kyuubi] wForget commented on issue #3242: [Improvement] Make KyuubiThriftBinaryFrontendService handler thread pool daemon

Posted by GitBox <gi...@apache.org>.
wForget commented on issue #3242:
URL: https://github.com/apache/incubator-kyuubi/issues/3242#issuecomment-1217432374

   It seems to be caused by kyuubi server having cleaned up the timeout session/operation but the client has not closed the connection.
   
   ![image](https://user-images.githubusercontent.com/17894939/185030880-61cd9e9a-b0d4-431e-927a-398615718b91.png)
   ![image](https://user-images.githubusercontent.com/17894939/185029368-d211b559-1da7-4752-842e-8d744a9cb3c2.png)
   ![image](https://user-images.githubusercontent.com/17894939/185030785-461ead37-0da1-4c5e-ab1d-d32bf7765d35.png)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org