private class ReplicationZKNodeCleaner.ReplicationQueueDeletor 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 |
|---|
ReplicationQueueDeletor(ZKWatcher zk,
org.apache.hadoop.conf.Configuration conf,
Abortable abortable) |
| Modifier and Type | Method and Description |
|---|---|
(package private) String |
getHfileRefsZNode() |
void |
removeHFileRefsQueue(String hfileRefsQueueId) |
void |
removeQueue(String replicator,
String queueId) |
getListOfReplicatorsZK, getPeerNode, getPeerStateNode, getTableCFsNode, isPeerPath, peerExists, toByteArraypublic ReplicationQueueDeletor(ZKWatcher zk, org.apache.hadoop.conf.Configuration conf, Abortable abortable)
public void removeQueue(String replicator, String queueId) throws IOException
replicator - The regionserver which has undeleted queuequeueId - The undeleted queue idIOExceptionpublic void removeHFileRefsQueue(String hfileRefsQueueId) throws IOException
hfileRefsQueueId - The undeleted hfile-refs queue idIOExceptionString getHfileRefsZNode()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.