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

MiniHBaseCluster.shutdown() doesn't work if no active master

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.92.0
    • None
    • None
    • Reviewed

    Description

      Running tests over in HBASE-4014 brought up this issue. If the active master in a MiniHBaseCluster has aborted, then calling MiniHBaseCluster.shutdown() will just hang in JVMClusterUtil.shutdown(), waiting to join each of the region server threads.

      Seems like we should explicitly stop each region server instead of just relying on an active master instance deleting the cluster status znode?

      Attachments

        1. HBASE-4472.delete-zk-cluster-node-on-master-abort.patch
          0.7 kB
          Eugene Joseph Koontz
        2. HBASE-4472.patch
          0.8 kB
          Gary Helmling
        3. jstack.txt
          110 kB
          Eugene Joseph Koontz

        Activity

          People

            ghelmling Gary Helmling
            ghelmling Gary Helmling
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: