PHOENIX-4786 Reduce log level to debug when logging new aggregate row key found and added results for scan ordered queries(Rajeshbabu)
Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/8cceea62 Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/8cceea62 Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/8cceea62 Branch: refs/heads/master Commit: 8cceea6214297659e79d89f762c07349f84b74e9 Parents: 61affd4 Author: Rajeshbabu Chintaguntla <rajeshb...@apache.org> Authored: Fri Jun 15 15:41:21 2018 -0700 Committer: Rajeshbabu Chintaguntla <rajeshb...@apache.org> Committed: Fri Jun 15 15:41:21 2018 -0700 ---------------------------------------------------------------------- .../phoenix/coprocessor/GroupedAggregateRegionObserver.java | 8 -------- 1 file changed, 8 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/phoenix/blob/8cceea62/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/GroupedAggregateRegionObserver.java ---------------------------------------------------------------------- diff --git a/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/GroupedAggregateRegionObserver.java b/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/GroupedAggregateRegionObserver.java index 1ded543..e58407f 100644 --- a/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/GroupedAggregateRegionObserver.java +++ b/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/GroupedAggregateRegionObserver.java @@ -542,14 +542,6 @@ public class GroupedAggregateRegionObserver extends BaseScannerRegionObserver im currentKey.getLength(), SINGLE_COLUMN_FAMILY, SINGLE_COLUMN, AGG_TIMESTAMP, value, 0, value.length); results.add(keyValue); - if (logger.isInfoEnabled()) { - logger.info(LogUtil.addCustomAnnotations("Adding new aggregate row: " - + keyValue - + ",for current key " - + Bytes.toStringBinary(currentKey.get(), currentKey.getOffset(), - currentKey.getLength()) + ", aggregated values: " - + Arrays.asList(rowAggregators), ScanUtil.getCustomAnnotations(scan))); - } // If we're at an aggregation boundary, reset the // aggregators and // aggregate with the current result (which is not a part of