Repository: phoenix Updated Branches: refs/heads/4.x-HBase-0.98 d18abb01f -> 452867b2c refs/heads/4.x-HBase-1.1 e3ea3b17a -> 785c4680e refs/heads/master 5bd7f79b5 -> 679ff21b7
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/452867b2 Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/452867b2 Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/452867b2 Branch: refs/heads/4.x-HBase-0.98 Commit: 452867b2c495ea975875513fc9bafe6f928deb07 Parents: d18abb0 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:11 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/452867b2/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 7ef58a4..b912772 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 @@ -146,8 +146,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 { @@ -158,8 +158,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/452867b2/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 8aa3b78..3a3f32d 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 @@ -149,8 +149,8 @@ public class TrackingParallelWriterIndexCommitter implements IndexCommitter { try { // this may have been queued, but there was an abort/stop so we try to early exit 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); } if (allowLocalUpdates && env!=null && tableReference.getTableName().equals( env.getRegion().getTableDesc().getNameAsString())) { @@ -160,8 +160,8 @@ 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); } }