[
https://issues.apache.org/jira/browse/HBASE-3576?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
stack resolved HBASE-3576.
--------------------------
Resolution: Fixed
I committed this change. Thanks for reporting the issue Kazuki:
{code}
Index: src/main/java/org/apache/hadoop/hbase/client/HConnectionManager.java
===================================================================
--- src/main/java/org/apache/hadoop/hbase/client/HConnectionManager.java
(revision 1074909)
+++ src/main/java/org/apache/hadoop/hbase/client/HConnectionManager.java
(working copy)
@@ -300,7 +300,6 @@
// initialize zookeeper and master address manager
this.zooKeeper = getZooKeeperWatcher();
masterAddressTracker = new MasterAddressTracker(this.zooKeeper, this);
- zooKeeper.registerListener(masterAddressTracker);
masterAddressTracker.start();
this.rootRegionTracker = new RootRegionTracker(this.zooKeeper, this);
{code}
> MasterAddressTracker is registered to ZooKeeperWatcher twice
> ------------------------------------------------------------
>
> Key: HBASE-3576
> URL: https://issues.apache.org/jira/browse/HBASE-3576
> Project: HBase
> Issue Type: Improvement
> Components: client
> Reporter: Kazuki Ohta
> Assignee: Kazuki Ohta
> Attachments: HBASE3576-1.txt
>
>
> At setupZooKeeperTrackers() in HConnectionManager.java, MasterAddressTracker
> is registered twice to ZooKeeperWatcher.
> This causes the events are passed twice to the tracker, although this causes
> no actual problems.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira