HBASE-16977 VerifyReplication should log a printable representation of the row keys
Signed-off-by: Gary Helmling <garyh@apache.org>
This commit is contained in:
parent
1160315e2f
commit
d4cbff58cc
|
@ -181,7 +181,8 @@ public class VerifyReplication extends Configured implements Tool {
|
||||||
Result.compareResults(value, currentCompareRowInPeerTable);
|
Result.compareResults(value, currentCompareRowInPeerTable);
|
||||||
context.getCounter(Counters.GOODROWS).increment(1);
|
context.getCounter(Counters.GOODROWS).increment(1);
|
||||||
if (verbose) {
|
if (verbose) {
|
||||||
LOG.info("Good row key: " + delimiter + Bytes.toString(value.getRow()) + delimiter);
|
LOG.info("Good row key: " + delimiter
|
||||||
|
+ Bytes.toStringBinary(value.getRow()) + delimiter);
|
||||||
}
|
}
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
logFailRowAndIncreaseCounter(context, Counters.CONTENT_DIFFERENT_ROWS, value);
|
logFailRowAndIncreaseCounter(context, Counters.CONTENT_DIFFERENT_ROWS, value);
|
||||||
|
|
Loading…
Reference in New Issue