NihalJain commented on code in PR #6435: URL: https://github.com/apache/hbase/pull/6435#discussion_r1843191380
########## 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: But this is not intuitive as we have no way of counting when delete markers is disabled within the job. If another tool is to be leveraged for counting cells, same should be update to work for deleted rows also -- 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: issues-unsubscr...@hbase.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org