You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@phoenix.apache.org by ap...@apache.org on 2017/04/21 01:20:58 UTC
[1/3] phoenix git commit: PHOENIX-3801 Demote extremely verbose logs
in ParallelWriterIndexCommitter from DEBUG to TRACE
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 <ap...@apache.org>
Authored: Wed Apr 19 18:43:51 2017 -0700
Committer: Andrew Purtell <ap...@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);
}
}
[2/3] phoenix git commit: PHOENIX-3801 Demote extremely verbose logs
in ParallelWriterIndexCommitter from DEBUG to TRACE
Posted by ap...@apache.org.
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 <ap...@apache.org>
Authored: Wed Apr 19 18:43:51 2017 -0700
Committer: Andrew Purtell <ap...@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());
[3/3] phoenix git commit: PHOENIX-3801 Demote extremely verbose logs
in ParallelWriterIndexCommitter from DEBUG to TRACE
Posted by ap...@apache.org.
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/679ff21b
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/679ff21b
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/679ff21b
Branch: refs/heads/master
Commit: 679ff21b78968a010db03c9428e60e7e00acb86e
Parents: 5bd7f79
Author: Andrew Purtell <ap...@apache.org>
Authored: Wed Apr 19 18:43:51 2017 -0700
Committer: Andrew Purtell <ap...@apache.org>
Committed: Thu Apr 20 18:20:08 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/679ff21b/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 1549d26..7510c5b 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 {
@@ -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/679ff21b/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 4f1a076..074d0b9 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
@@ -159,15 +159,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());