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:
parent
ffe1cc792f
commit
ee766c07f9
|
@ -44,7 +44,7 @@ message Master {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Content of the '/hbase/shutdown', cluster state, znode.
|
* Content of the '/hbase/running', cluster state, znode.
|
||||||
*/
|
*/
|
||||||
message ClusterUp {
|
message ClusterUp {
|
||||||
// If this znode is present, cluster is up. Currently
|
// If this znode is present, cluster is up. Currently
|
||||||
|
|
|
@ -204,7 +204,7 @@ public class ZooKeeperWatcher implements Watcher, Abortable, Closeable {
|
||||||
backupMasterAddressesZNode = ZKUtil.joinZNode(baseZNode,
|
backupMasterAddressesZNode = ZKUtil.joinZNode(baseZNode,
|
||||||
conf.get("zookeeper.znode.backup.masters", "backup-masters"));
|
conf.get("zookeeper.znode.backup.masters", "backup-masters"));
|
||||||
clusterStateZNode = ZKUtil.joinZNode(baseZNode,
|
clusterStateZNode = ZKUtil.joinZNode(baseZNode,
|
||||||
conf.get("zookeeper.znode.state", "shutdown"));
|
conf.get("zookeeper.znode.state", "running"));
|
||||||
assignmentZNode = ZKUtil.joinZNode(baseZNode,
|
assignmentZNode = ZKUtil.joinZNode(baseZNode,
|
||||||
conf.get("zookeeper.znode.unassigned", "unassigned"));
|
conf.get("zookeeper.znode.unassigned", "unassigned"));
|
||||||
tableZNode = ZKUtil.joinZNode(baseZNode,
|
tableZNode = ZKUtil.joinZNode(baseZNode,
|
||||||
|
|
Loading…
Reference in New Issue