You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Rajeshbabu Chintaguntla (Jira)" <ji...@apache.org> on 2023/05/01 15:54:00 UTC
[jira] [Resolved] (HBASE-27810) HBCK throws RejectedExecutionException when closing ZooKeeper resources
[ https://issues.apache.org/jira/browse/HBASE-27810?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rajeshbabu Chintaguntla resolved HBASE-27810.
---------------------------------------------
Resolution: Fixed
Pushed to branch-2.4+
Thanks [~andor] for the patch.
> 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.6.0, 3.0.0-alpha-3, 2.4.17, 2.5.4
> Reporter: Andor Molnar
> Assignee: Andor Molnar
> Priority: Major
> Fix For: 2.6.0, 3.0.0-alpha-4, 2.5.5, 2.4.18
>
>
> 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)