liuxiaocs7 commented on code in PR #7756:
URL: https://github.com/apache/hbase/pull/7756#discussion_r2807760241
##########
hbase-examples/src/test/java/org/apache/hadoop/hbase/coprocessor/example/row/stats/TestRowStatisticsCompactionObserver.java:
##########
@@ -184,9 +182,10 @@ public static class TestableRowStatisticsRecorder
implements RowStatisticsRecord
@Override
public void record(RowStatisticsImpl stats, Optional<byte[]>
fullRegionName) {
- System.out.println("Record called with isMajor=" + stats.isMajor() + ",
stats=" + stats
- + ", fullRegionName=" + fullRegionName);
+ LOG.info("Record called with isMajor={}, stats={}, fullRegionName={}",
stats.isMajor(), stats,
+ fullRegionName);
lastStats = stats;
+ lastIsMajor = stats.isMajor();
Review Comment:
L188 is the fix
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]