@InterfaceAudience.Private @InterfaceStability.Unstable public class ReplicationPeerConfigUpgrader extends ReplicationStateZKBase
abortable, conf, DISABLED_ZNODE_BYTES, ENABLED_ZNODE_BYTES, hfileRefsZNode, ourClusterKey, peerStateNodeName, peersZNode, queuesZNode, replicationZNode, tableCFsNodeName, zookeeper, ZOOKEEPER_ZNODE_REPLICATION_HFILE_REFS_DEFAULT, ZOOKEEPER_ZNODE_REPLICATION_HFILE_REFS_KEY| Constructor and Description |
|---|
ReplicationPeerConfigUpgrader(ZKWatcher zookeeper,
org.apache.hadoop.conf.Configuration conf,
Abortable abortable) |
| Modifier and Type | Method and Description |
|---|---|
void |
copyTableCFs() |
boolean |
copyTableCFs(String peerId) |
static void |
main(String[] args) |
void |
upgrade() |
getListOfReplicatorsZK, getPeerNode, getPeerStateNode, getTableCFsNode, isPeerPath, peerExists, toByteArrayCopyright © 2007–2018 The Apache Software Foundation. All rights reserved.