[ https://issues.apache.org/jira/browse/HBASE-16600?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15583496#comment-15583496 ]
Ted Yu commented on HBASE-16600: -------------------------------- Adding more log revealed the following: {code} 2016-10-17 21:10:13,184 WARN [main] replication.ReplicationPeersZKImpl(153): cannot remove org.apache.zookeeper.KeeperException$NotEmptyException: KeeperErrorCode = Directory not empty for /hbase/replication/peers/1 at org.apache.zookeeper.KeeperException.create(KeeperException.java:125) at org.apache.zookeeper.KeeperException.create(KeeperException.java:51) at org.apache.zookeeper.ZooKeeper.delete(ZooKeeper.java:873) at org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper.delete(RecoverableZooKeeper.java:178) at org.apache.hadoop.hbase.zookeeper.ZKUtil.deleteNodeFailSilent(ZKUtil.java:1265) at org.apache.hadoop.hbase.zookeeper.ZKUtil.processSequentially(ZKUtil.java:1709) at org.apache.hadoop.hbase.zookeeper.ZKUtil.multiOrSequential(ZKUtil.java:1698) at org.apache.hadoop.hbase.zookeeper.ZKUtil.deleteNodeRecursivelyMultiOrSequential(ZKUtil.java:1416) at org.apache.hadoop.hbase.zookeeper.ZKUtil.deleteNodeRecursively(ZKUtil.java:1283) at org.apache.hadoop.hbase.replication.ReplicationPeersZKImpl.removePeer(ReplicationPeersZKImpl.java:151) at org.apache.hadoop.hbase.client.replication.ReplicationAdmin.removePeer(ReplicationAdmin.java:229) {code} > [0.98] ReplicationAdminTest occasionally fails > ---------------------------------------------- > > Key: HBASE-16600 > URL: https://issues.apache.org/jira/browse/HBASE-16600 > Project: HBase > Issue Type: Test > Reporter: Ted Yu > Priority: Minor > Attachments: 16600-testShell-output.txt > > > When testing 0.98.22 RC, I saw the following test failure: > {code} > 1) Error: > test_add_peer:_single_zk_cluster_key(Hbase::ReplicationAdminTest): > NativeException: org.apache.hadoop.hbase.replication.ReplicationException: > Could not remove peer with id=1 > org/apache/hadoop/hbase/replication/ReplicationPeersZKImpl.java:153:in > `removePeer' > org/apache/hadoop/hbase/client/replication/ReplicationAdmin.java:229:in > `removePeer' > > /mnt/disk2/a/hbase-0.98.22/hbase-shell/src/main/ruby/hbase/replication_admin.rb:102:in > `remove_peer' > ./src/test/ruby/hbase/replication_admin_test.rb:84:in > `test_add_peer:_single_zk_cluster_key' > org/jruby/RubyProc.java:270:in `call' > org/jruby/RubyKernel.java:2105:in `send' > org/jruby/RubyArray.java:1620:in `each' > org/jruby/RubyArray.java:1620:in `each' > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)