HBASE-7577 Review names of all znodes in zk to make sure they are sensible before 0.96
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1435995 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ea245beac7
commit
c56eeb9598
|
@ -206,7 +206,7 @@ public class ZooKeeperWatcher implements Watcher, Abortable, Closeable {
|
|||
clusterStateZNode = ZKUtil.joinZNode(baseZNode,
|
||||
conf.get("zookeeper.znode.state", "running"));
|
||||
assignmentZNode = ZKUtil.joinZNode(baseZNode,
|
||||
conf.get("zookeeper.znode.unassigned", "unassigned"));
|
||||
conf.get("zookeeper.znode.unassigned", "region-in-transition"));
|
||||
tableZNode = ZKUtil.joinZNode(baseZNode,
|
||||
conf.get("zookeeper.znode.tableEnableDisable", "table"));
|
||||
clusterIdZNode = ZKUtil.joinZNode(baseZNode,
|
||||
|
|
|
@ -689,7 +689,7 @@ public class TestAssignmentManager {
|
|||
};
|
||||
((ZooKeeperWatcher) zkw).registerListener(am);
|
||||
Mockito.doThrow(new InterruptedException()).when(recoverableZk)
|
||||
.getChildren("/hbase/unassigned", null);
|
||||
.getChildren("/hbase/region-in-transition", null);
|
||||
am.setWatcher((ZooKeeperWatcher) zkw);
|
||||
try {
|
||||
am.processDeadServersAndRegionsInTransition(null);
|
||||
|
|
|
@ -69,7 +69,7 @@ public class TestRecoverableZooKeeper {
|
|||
|
||||
@Test
|
||||
public void testSetDataVersionMismatchInLoop() throws Exception {
|
||||
String znode = "/hbase/unassigned/9af7cfc9b15910a0b3d714bf40a3248f";
|
||||
String znode = "/hbase/region-in-transition/9af7cfc9b15910a0b3d714bf40a3248f";
|
||||
Configuration conf = TEST_UTIL.getConfiguration();
|
||||
Properties properties = ZKConfig.makeZKProps(conf);
|
||||
ZooKeeperWatcher zkw = new ZooKeeperWatcher(conf, "testSetDataVersionMismatchInLoop",
|
||||
|
|
Loading…
Reference in New Issue