Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-28345

Close HBase connection on exit from HBase Shell

    XMLWordPrintableJSON

Details

    Description

      When using Netty for the ZK client, hbase shell hangs on exit.
      This is caused by the non-deamon Netty threads that ZK creates.

      Wheter ZK should create daemon threads for Netty or not is debatable, but explicitly closing the connection in hbase shell on exit fixes the issue.

      Attachments

        Issue Links

          Activity

            People

              stoty Istvan Toth
              stoty Istvan Toth
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: