Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
DefaultStatisticsCollector#collectStatistics() method increments a counter to keep track of unique rows that has been read. However, currently we increment the counter twice for a table with two column families. Since the row key remains same across CF's, the counter should be incremented once only. famMap is the local variable to keep track of CF's seen so far across all cells from the result.
The relevant piece of code is:
if (famMap.get(cfKey) == null) { famMap.put(cfKey, true); gps.getSecond().incrementRowCount(); }