HBASE-4451 Improve zk node naming (/hbase/shutdown)

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1434101 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2013-01-16 18:44:21 +00:00
parent ffe1cc792f
commit ee766c07f9
2 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@ message Master {
}
/**
* Content of the '/hbase/shutdown', cluster state, znode.
* Content of the '/hbase/running', cluster state, znode.
*/
message ClusterUp {
// If this znode is present, cluster is up. Currently

View File

@ -204,7 +204,7 @@ public class ZooKeeperWatcher implements Watcher, Abortable, Closeable {
backupMasterAddressesZNode = ZKUtil.joinZNode(baseZNode,
conf.get("zookeeper.znode.backup.masters", "backup-masters"));
clusterStateZNode = ZKUtil.joinZNode(baseZNode,
conf.get("zookeeper.znode.state", "shutdown"));
conf.get("zookeeper.znode.state", "running"));
assignmentZNode = ZKUtil.joinZNode(baseZNode,
conf.get("zookeeper.znode.unassigned", "unassigned"));
tableZNode = ZKUtil.joinZNode(baseZNode,