Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.8.3
-
None
Description
When the Netty client is used, the Java process hangs on System.exit if there is an open Zookeeper connection.
This is caused by the non-daemon threads created by Netty.
Exiting without closing the connection is not a good practice, but this hang does not happen with the NIO client, and I think ZK should behave the same regardless of the client implementation used.
The Netty ThreadFactory implementation is configurable, it shouldn't be too hard make sure that daemon threads are created.
Attachments
Issue Links
- causes
-
HBASE-28353 Close HBase connection on implicit exit from HBase shell
- Resolved
-
PHOENIX-7223 Make Sure Tools Always Close HBase Connections on Exit
- Resolved
- is related to
-
HBASE-28448 CompressionTest hangs when run over a Ozone ofs path
- Resolved
- links to