[
https://issues.apache.org/jira/browse/HBASE-2196?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13104705#comment-13104705
]
Ted Yu commented on HBASE-2196:
-------------------------------
In ReplicationZookeeper.java:
{code}
+ * @return list of all peers
+ */
+ public Map<String,String> listPeers() {
{code}
The javadoc should match the return value of the method.
{code}
+ ids = ZKUtil.listChildrenAndWatchThem(this.zookeeper, this.peersZNode);
{code}
I think ZKUtil.listChildrenNoWatch() should suffice above.
Also, the new convention is not to have year in file header.
Nice work, Lars.
> Support more than one slave cluster
> -----------------------------------
>
> Key: HBASE-2196
> URL: https://issues.apache.org/jira/browse/HBASE-2196
> Project: HBase
> Issue Type: Sub-task
> Components: replication
> Reporter: Jean-Daniel Cryans
> Fix For: 0.92.0
>
> Attachments: 2196-v2.txt, 2196-v5.txt, 2196.txt, HBASE-2196-wip.patch
>
>
> Currently replication supports only 1 slave cluster, need to ability to add
> more.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira