shubham-roy commented on code in PR #6435:
URL: https://github.com/apache/hbase/pull/6435#discussion_r1845877365
##########
hbase-mapreduce/src/main/java/org/apache/hadoop/hbase/mapreduce/RowCounter.java:
##########
@@ -95,6 +118,36 @@ public static enum Counters {
public void map(ImmutableBytesWritable row, Result values, Context
context) throws IOException {
// Count every row containing data, whether it's in qualifiers or values
context.getCounter(Counters.ROWS).increment(1);
+
+ if (countDeleteMarkers) {
+ context.getCounter(Counters.CELLS).increment(values.size());
Review Comment:
On second thoughts, I have removed cell counter altogether because it will
not make much sense if we have multiple versions for a given column as the scan
used in RowCounter is set to show only 1 version. Having it will cause more
confusion as to what it's value represents.
--
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]