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

HBCK throws RejectedExecutionException when closing ZooKeeper resources

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.6.0, 3.0.0-alpha-3, 2.4.17, 2.5.4
    • 2.6.0, 3.0.0-alpha-4, 2.5.5, 2.4.18
    • hbck
    • None

    Description

      HBCK throws RejectedExecutionException at the end of run, because the order of closing ZooKeeper resources has been swapped inĀ HBASE-27426.

      In ZKWatcher.java close() method first it shuts down the zkEventProcessor and when it fully shut down, it closes the RecoverableZooKeeper (the ZK client). The watcher receives the close event which cannot be submitted to the event processor and throws exception.

      I think we need to check whether the executor is able to receive jobs before submitting.

      Attachments

        Issue Links

          Activity

            People

              andor Andor Molnar
              andor Andor Molnar
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: