[
https://issues.apache.org/jira/browse/HBASE-7632?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13558511#comment-13558511
]
Feng Honghua commented on HBASE-7632:
-------------------------------------
attach the call stack:
2013-01-10 09:22:03,084 ERROR
org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper: Node
/hbase/sdtst-miliao/replication/peers/34/peer-state already exists and this is
not a retry
2013-01-10 09:22:03,084 ERROR
org.apache.hadoop.hbase.replication.regionserver.ReplicationSourceManager:
Error while adding a new peer
org.apache.zookeeper.KeeperException$NodeExistsException: KeeperErrorCode =
NodeExists for /hbase/sdtst-miliao/replication/peers/34/peer-state
at org.apache.zookeeper.KeeperException.create(KeeperException.java:119)
at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
at org.apache.zookeeper.ZooKeeper.create(ZooKeeper.java:778)
at
org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper.createNonSequential(RecoverableZooKeeper.java:420)
at
org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper.create(RecoverableZooKeeper.java:402)
at
org.apache.hadoop.hbase.zookeeper.ZKUtil.createAndWatch(ZKUtil.java:852)
at
org.apache.hadoop.hbase.replication.ReplicationPeer.startStateTracker(ReplicationPeer.java:82)
at
org.apache.hadoop.hbase.replication.ReplicationZookeeper.getPeer(ReplicationZookeeper.java:344)
at
org.apache.hadoop.hbase.replication.ReplicationZookeeper.connectToPeer(ReplicationZookeeper.java:307)
at
org.apache.hadoop.hbase.replication.regionserver.ReplicationSourceManager$PeersWatcher.nodeChildrenChanged(ReplicationSourceManager.java:511)
at
org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher.process(ZooKeeperWatcher.java:316)
at
org.apache.zookeeper.ClientCnxn$EventThread.processEvent(ClientCnxn.java:519)
> fail to create ReplicationSource if ReplicationPeer.startStateTracker
> checkExists(peerStateNode) and find not exist but fails in createAndWatch due
> to client/shell is done creating it then, now throws exception and results in
> addPeer fail
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: HBASE-7632
> URL: https://issues.apache.org/jira/browse/HBASE-7632
> Project: HBase
> Issue Type: Bug
> Components: Replication
> Affects Versions: 0.94.2, 0.94.3, 0.94.4
> Reporter: Feng Honghua
> Original Estimate: 48h
> Remaining Estimate: 48h
>
> fail to create ReplicationSource if ReplicationPeer.startStateTracker
> checkExists(peerStateNode) and find not exist but fails in createAndWatch due
> to client/shell is done creating it then, now throws exception and results in
> addPeer fail
--
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