Class VerifyReplicationRecompareRunnable
java.lang.Object
org.apache.hadoop.hbase.mapreduce.replication.VerifyReplicationRecompareRunnable
- All Implemented Interfaces:
Runnable
-
Field Summary
Modifier and TypeFieldDescriptionprivate final org.apache.hadoop.mapreduce.Mapper.Context
private final String
private static final org.slf4j.Logger
private final VerifyReplication.Verifier.Counters
private final int
private final int
private Result
private final Table
private final byte[]
private final int
private Result
private final Table
private final Scan
private final boolean
-
Constructor Summary
ConstructorDescriptionVerifyReplicationRecompareRunnable
(org.apache.hadoop.mapreduce.Mapper.Context context, Result sourceResult, Result replicatedResult, VerifyReplication.Verifier.Counters originalCounter, String delimiter, Scan tableScan, Table sourceTable, Table replicatedTable, int reCompareTries, int sleepMsBeforeReCompare, int reCompareBackoffExponent, boolean verbose) -
Method Summary
Modifier and TypeMethodDescriptionvoid
fail()
private boolean
fetchLatestRows
(Get get) private void
private boolean
matches
(Result original, Result updated, VerifyReplication.Verifier.Counters failCounter) void
run()
-
Field Details
-
LOG
-
context
-
originalCounter
-
delimiter
-
row
-
tableScan
-
sourceTable
-
replicatedTable
-
reCompareTries
-
sleepMsBeforeReCompare
-
reCompareBackoffExponent
-
verbose
-
sourceResult
-
replicatedResult
-
-
Constructor Details
-
VerifyReplicationRecompareRunnable
public VerifyReplicationRecompareRunnable(org.apache.hadoop.mapreduce.Mapper.Context context, Result sourceResult, Result replicatedResult, VerifyReplication.Verifier.Counters originalCounter, String delimiter, Scan tableScan, Table sourceTable, Table replicatedTable, int reCompareTries, int sleepMsBeforeReCompare, int reCompareBackoffExponent, boolean verbose)
-
-
Method Details
-
run
-
fail
-
fetchLatestRows
- Throws:
IOException
-
matches
private boolean matches(Result original, Result updated, VerifyReplication.Verifier.Counters failCounter) -
incrementOriginalAndBadCounter
-