Repository: phoenix
Updated Branches:
  refs/heads/4.x-HBase-1.3 8a3295894 -> 7380c74d3


ScanningResultIterator metric RowsScanned not set. PHOENIX-5051


Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo
Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/7380c74d
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/7380c74d
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/7380c74d

Branch: refs/heads/4.x-HBase-1.3
Commit: 7380c74d3fc9a7ec0699b0a1de418bd80aaf2e34
Parents: 8a32958
Author: chfeng <chf...@tencent.com>
Authored: Wed Dec 5 10:40:29 2018 +0800
Committer: Thomas D'Silva <tdsi...@apache.org>
Committed: Wed Dec 5 10:05:14 2018 -0800

----------------------------------------------------------------------
 .../java/org/apache/phoenix/iterate/ScanningResultIterator.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/phoenix/blob/7380c74d/phoenix-core/src/main/java/org/apache/phoenix/iterate/ScanningResultIterator.java
----------------------------------------------------------------------
diff --git 
a/phoenix-core/src/main/java/org/apache/phoenix/iterate/ScanningResultIterator.java
 
b/phoenix-core/src/main/java/org/apache/phoenix/iterate/ScanningResultIterator.java
index f02e9d3..893eaa2 100644
--- 
a/phoenix-core/src/main/java/org/apache/phoenix/iterate/ScanningResultIterator.java
+++ 
b/phoenix-core/src/main/java/org/apache/phoenix/iterate/ScanningResultIterator.java
@@ -117,7 +117,7 @@ public class ScanningResultIterator implements 
ResultIterator {
                     scanMetricsMap.get(RPC_RETRIES_METRIC_NAME));
             changeMetric(scanMetricsHolder.getCountOfRemoteRPCRetries(),
                     scanMetricsMap.get(REMOTE_RPC_RETRIES_METRIC_NAME));
-            changeMetric(scanMetricsHolder.getCountOfRowsFiltered(),
+            changeMetric(scanMetricsHolder.getCountOfRowsScanned(),
                     scanMetricsMap.get(COUNT_OF_ROWS_SCANNED_KEY_METRIC_NAME));
             changeMetric(scanMetricsHolder.getCountOfRowsFiltered(),
                     
scanMetricsMap.get(COUNT_OF_ROWS_FILTERED_KEY_METRIC_NAME));

Reply via email to