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:
Michael Stack 2013-01-20 22:56:15 +00:00
parent ea245beac7
commit c56eeb9598
3 changed files with 3 additions and 3 deletions

View File

@ -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,

View File

@ -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);

View File

@ -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",