Class ReplicationChecker
java.lang.Object
org.apache.hadoop.hbase.util.hbck.ReplicationChecker
Check and fix undeleted replication queues for removed peerId.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final HbckErrorReporterprivate static final org.slf4j.Loggerprivate final ReplicationPeerStorageprivate final ReplicationQueueStorageprivate Map<ServerName,List<ReplicationQueueId>> -
Constructor Summary
ConstructorsConstructorDescriptionReplicationChecker(org.apache.hadoop.conf.Configuration conf, ZKWatcher zkw, Connection conn, HbckErrorReporter errorReporter) -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidvoidprivate 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
-