[ https://issues.apache.org/jira/browse/HBASE-6904?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13488309#comment-13488309 ]
Aleksandr Shulman commented on HBASE-6904: ------------------------------------------ Ah ok, thanks for clarifying. I don't know if there is such a call, but perhaps we should check if the node exists ourselves instead of relying on an NodeExistsException. This makes it seem fragile. If there is no such call (e.g. ZK.existsNode(...) ), then I suppose this is the way to do it. > In the HBase shell, an error is thrown that states replication-related znodes > already exist > ------------------------------------------------------------------------------------------- > > Key: HBASE-6904 > URL: https://issues.apache.org/jira/browse/HBASE-6904 > Project: HBase > Issue Type: Bug > Components: Replication, Zookeeper > Affects Versions: 0.92.0, 0.92.1, 0.96.0 > Reporter: Aleksandr Shulman > Assignee: Gregory Chanan > Priority: Minor > Fix For: 0.94.3, 0.96.0 > > Attachments: HBASE-6904-94.patch, HBASE-6904.patch > > > On a replication-enabled cluster, querying the list_peers produces the error > lines shown below. It doesn't appear that anything is broken in terms of > functionality. > Stack trace: > hbase(main):001:0> list_peers > 12/09/29 14:41:03 ERROR zookeeper.RecoverableZooKeeper: Node > /hbase/replication/peers already exists and this is not a retry > 12/09/29 14:41:03 ERROR zookeeper.RecoverableZooKeeper: Node > /hbase/replication/rs already exists and this is not a retry > PEER ID CLUSTER KEY > 0 row(s) in 0.4650 seconds -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira