[
https://issues.apache.org/jira/browse/HBASE-10274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13863704#comment-13863704
]
Enis Soztutar commented on HBASE-10274:
---------------------------------------
For the killOneBackupZooKeeperServer(), I think you are closing the the
ZKDatabase for the active server instead of the backupZkServer:
{code}
+ zooKeeperServers.get(activeZKServerIndex).getZKDatabase().close();
+
// remove this backup zk server
standaloneServerFactoryList.remove(backupZKServerIndex);
{code}
> MiniZookeeperCluster should close ZKDatabase when shutdown ZooKeeperServers
> ---------------------------------------------------------------------------
>
> Key: HBASE-10274
> URL: https://issues.apache.org/jira/browse/HBASE-10274
> Project: HBase
> Issue Type: Bug
> Affects Versions: 0.94.3
> Reporter: chendihao
> Assignee: chendihao
> Priority: Minor
> Attachments: HBASE-10274-0.94-v1.patch, HBASE-10274-truck-v1.patch
>
>
> HBASE-6820 points out the problem but not fix completely.
> killCurrentActiveZooKeeperServer() and killOneBackupZooKeeperServer() will
> shutdown the ZooKeeperServer and need to close ZKDatabase as well.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)