Andor Molnar created HBASE-27810:
------------------------------------

             Summary: HBCK throws RejectedExecutionException when closing 
ZooKeeper resources
                 Key: HBASE-27810
                 URL: https://issues.apache.org/jira/browse/HBASE-27810
             Project: HBase
          Issue Type: Bug
          Components: hbck
    Affects Versions: 2.5.4, 2.4.17, 3.0.0-alpha-3, 2.6.0
            Reporter: Andor Molnar
            Assignee: Andor Molnar


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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to