Class ReplicationChecker
java.lang.Object
org.apache.hadoop.hbase.util.hbck.ReplicationChecker
Check and fix undeleted replication queues for removed peerId.
-
Field Summary
Modifier and TypeFieldDescriptionprivate final HbckErrorReporter
private static final org.slf4j.Logger
private final ReplicationPeerStorage
private final ReplicationQueueStorage
private Map<ServerName,
List<String>> -
Constructor Summary
ConstructorDescriptionReplicationChecker
(org.apache.hadoop.conf.Configuration conf, ZKWatcher zkw, HbckErrorReporter errorReporter) -
Method Summary
-
Field Details
-
LOG
-
errorReporter
-
undeletedQueueIds
-
undeletedHFileRefsPeerIds
-
peerStorage
-
queueStorage
-
-
Constructor Details
-
ReplicationChecker
public ReplicationChecker(org.apache.hadoop.conf.Configuration conf, ZKWatcher zkw, HbckErrorReporter errorReporter) throws IOException - Throws:
IOException
-
-
Method Details
-
hasUnDeletedQueues
-
getUnDeletedQueues
- Throws:
ReplicationException
-
getUndeletedHFileRefsPeers
- Throws:
ReplicationException
-
checkUnDeletedQueues
- Throws:
ReplicationException
-
fixUnDeletedQueues
- Throws:
ReplicationException
-