HBASE-25171 Remove ZNodePaths.namespaceZNode (#2526)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
This commit is contained in:
XinSun 2020-10-10 16:09:12 +08:00 committed by GitHub
parent f34ba06468
commit b815207096
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 4 deletions

View File

@ -74,8 +74,6 @@ public class ZNodePaths {
public final String regionNormalizerZNode; public final String regionNormalizerZNode;
// znode containing the state of all switches, currently there are split and merge child node. // znode containing the state of all switches, currently there are split and merge child node.
public final String switchZNode; public final String switchZNode;
// znode containing namespace descriptors
public final String namespaceZNode;
// znode of indicating master maintenance mode // znode of indicating master maintenance mode
public final String masterMaintZNode; public final String masterMaintZNode;
@ -106,7 +104,6 @@ public class ZNodePaths {
regionNormalizerZNode = regionNormalizerZNode =
joinZNode(baseZNode, conf.get("zookeeper.znode.regionNormalizer", "normalizer")); joinZNode(baseZNode, conf.get("zookeeper.znode.regionNormalizer", "normalizer"));
switchZNode = joinZNode(baseZNode, conf.get("zookeeper.znode.switch", "switch")); switchZNode = joinZNode(baseZNode, conf.get("zookeeper.znode.switch", "switch"));
namespaceZNode = joinZNode(baseZNode, conf.get("zookeeper.znode.namespace", "namespace"));
masterMaintZNode = masterMaintZNode =
joinZNode(baseZNode, conf.get("zookeeper.znode.masterMaintenance", "master-maintenance")); joinZNode(baseZNode, conf.get("zookeeper.znode.masterMaintenance", "master-maintenance"));
replicationZNode = joinZNode(baseZNode, conf.get("zookeeper.znode.replication", "replication")); replicationZNode = joinZNode(baseZNode, conf.get("zookeeper.znode.replication", "replication"));
@ -134,7 +131,6 @@ public class ZNodePaths {
.append(", balancerZNode=").append(balancerZNode) .append(", balancerZNode=").append(balancerZNode)
.append(", regionNormalizerZNode=").append(regionNormalizerZNode) .append(", regionNormalizerZNode=").append(regionNormalizerZNode)
.append(", switchZNode=").append(switchZNode) .append(", switchZNode=").append(switchZNode)
.append(", namespaceZNode=").append(namespaceZNode)
.append(", masterMaintZNode=").append(masterMaintZNode) .append(", masterMaintZNode=").append(masterMaintZNode)
.append(", replicationZNode=").append(replicationZNode) .append(", replicationZNode=").append(replicationZNode)
.append(", peersZNode=").append(peersZNode) .append(", peersZNode=").append(peersZNode)