PHOENIX-3801 Demote extremely verbose logs in ParallelWriterIndexCommitter from 
DEBUG to TRACE


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

Branch: refs/heads/4.x-HBase-1.1
Commit: 785c4680ebc389ae51bc0852536237bd94de1d6c
Parents: e3ea3b1
Author: Andrew Purtell <apurt...@apache.org>
Authored: Wed Apr 19 18:43:51 2017 -0700
Committer: Andrew Purtell <apurt...@apache.org>
Committed: Thu Apr 20 18:17:43 2017 -0700

----------------------------------------------------------------------
 .../hbase/index/write/ParallelWriterIndexCommitter.java      | 8 ++++----
 .../write/recovery/TrackingParallelWriterIndexCommitter.java | 8 ++++----
 2 files changed, 8 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/phoenix/blob/785c4680/phoenix-core/src/main/java/org/apache/phoenix/hbase/index/write/ParallelWriterIndexCommitter.java
----------------------------------------------------------------------
diff --git 
a/phoenix-core/src/main/java/org/apache/phoenix/hbase/index/write/ParallelWriterIndexCommitter.java
 
b/phoenix-core/src/main/java/org/apache/phoenix/hbase/index/write/ParallelWriterIndexCommitter.java
index 1ab7338..5823bd9 100644
--- 
a/phoenix-core/src/main/java/org/apache/phoenix/hbase/index/write/ParallelWriterIndexCommitter.java
+++ 
b/phoenix-core/src/main/java/org/apache/phoenix/hbase/index/write/ParallelWriterIndexCommitter.java
@@ -143,8 +143,8 @@ public class ParallelWriterIndexCommitter implements 
IndexCommitter {
                     // early exit, if that's the case
                     throwFailureIfDone();
 
-                    if (LOG.isDebugEnabled()) {
-                        LOG.debug("Writing index update:" + mutations + " to 
table: " + tableReference);
+                    if (LOG.isTraceEnabled()) {
+                        LOG.trace("Writing index update:" + mutations + " to 
table: " + tableReference);
                     }
                     HTableInterface table = null;
                     try {
@@ -155,8 +155,8 @@ public class ParallelWriterIndexCommitter implements 
IndexCommitter {
                                    return null;
                                } catch (IOException ignord) {
                                    // when it's failed we fall back to the 
standard & slow way
-                                   if (LOG.isDebugEnabled()) {
-                                       LOG.debug("indexRegion.batchMutate 
failed and fall back to HTable.batch(). Got error="
+                                   if (LOG.isTraceEnabled()) {
+                                       LOG.trace("indexRegion.batchMutate 
failed and fall back to HTable.batch(). Got error="
                                                + ignord);
                                    }
                                }

http://git-wip-us.apache.org/repos/asf/phoenix/blob/785c4680/phoenix-core/src/main/java/org/apache/phoenix/hbase/index/write/recovery/TrackingParallelWriterIndexCommitter.java
----------------------------------------------------------------------
diff --git 
a/phoenix-core/src/main/java/org/apache/phoenix/hbase/index/write/recovery/TrackingParallelWriterIndexCommitter.java
 
b/phoenix-core/src/main/java/org/apache/phoenix/hbase/index/write/recovery/TrackingParallelWriterIndexCommitter.java
index d244d66..ed12d2f 100644
--- 
a/phoenix-core/src/main/java/org/apache/phoenix/hbase/index/write/recovery/TrackingParallelWriterIndexCommitter.java
+++ 
b/phoenix-core/src/main/java/org/apache/phoenix/hbase/index/write/recovery/TrackingParallelWriterIndexCommitter.java
@@ -157,15 +157,15 @@ public class TrackingParallelWriterIndexCommitter 
implements IndexCommitter {
                                 return Boolean.TRUE;
                             } catch (IOException ignord) {
                                 // when it's failed we fall back to the 
standard & slow way
-                                if (LOG.isDebugEnabled()) {
-                                    LOG.debug("indexRegion.batchMutate failed 
and fall back to HTable.batch(). Got error="
+                                if (LOG.isTraceEnabled()) {
+                                    LOG.trace("indexRegion.batchMutate failed 
and fall back to HTable.batch(). Got error="
                                             + ignord);
                                 }
                             }
                         }
 
-                        if (LOG.isDebugEnabled()) {
-                            LOG.debug("Writing index update:" + mutations + " 
to table: " + tableReference);
+                        if (LOG.isTraceEnabled()) {
+                            LOG.trace("Writing index update:" + mutations + " 
to table: " + tableReference);
                         }
 
                         table = factory.getTable(tableReference.get());

Reply via email to