You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2021/10/04 09:51:25 UTC

[GitHub] [dolphinscheduler] ruanwenjun commented on pull request #6446: [Improvement-6445][Standalone] Run h2 in daemon mode

ruanwenjun commented on pull request #6446:
URL: https://github.com/apache/dolphinscheduler/pull/6446#issuecomment-933323897


   @kezhenxu94 
   When the creation is failed, it will throw an exception in line 58, but the application still running, I find there is a h2 thread is still running.
   ```java
   "H2 TCP Server (tcp://localhost:61958)@2086" prio=5 tid=0x10 nid=NA runnable
     java.lang.Thread.State: RUNNABLE
   	  at java.net.PlainSocketImpl.socketAccept(PlainSocketImpl.java:-1)
   	  at java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:409)
   	  at java.net.ServerSocket.implAccept(ServerSocket.java:560)
   	  at java.net.ServerSocket.accept(ServerSocket.java:528)
   	  at org.h2.server.TcpServer.listen(TcpServer.java:263)
   	  at org.h2.tools.Server.run(Server.java:610)
   	  at java.lang.Thread.run(Thread.java:748)
   ```
   
   https://github.com/apache/dolphinscheduler/blob/4fbee7dc4b178b13c4a795fa848a86ec94c5cd27/dolphinscheduler-standalone-server/src/main/java/org/apache/dolphinscheduler/server/StandaloneServer.java#L53-L71
   


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

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