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<ReplicationQueueId>> -
Constructor Summary
ConstructorDescriptionReplicationChecker
(org.apache.hadoop.conf.Configuration conf, ZKWatcher zkw, Connection conn, HbckErrorReporter errorReporter) -
Method Summary
Modifier and TypeMethodDescriptionboolean
void
void
private Map<ServerName,
List<ReplicationQueueId>> boolean
-
Field Details
-
LOG
-
errorReporter
-
undeletedQueueIds
-
undeletedHFileRefsPeerIds
-
peerStorage
-
queueStorage
-
-
Constructor Details
-
ReplicationChecker
public ReplicationChecker(org.apache.hadoop.conf.Configuration conf, ZKWatcher zkw, Connection conn, HbckErrorReporter errorReporter) throws IOException - Throws:
IOException
-
-
Method Details
-
hasUnDeletedQueues
-
getUnDeletedQueues
- Throws:
ReplicationException
-
getUndeletedHFileRefsPeers
- Throws:
ReplicationException
-
checkUnDeletedQueues
- Throws:
ReplicationException
-
fixUnDeletedQueues
- Throws:
ReplicationException
-
checkHasDataInQueues
- Throws:
ReplicationException
-