You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by la...@apache.org on 2014/09/19 19:14:18 UTC

git commit: HBASE-12022 Payloads on Failure attempt to serialize the byte[] into strings. (Vladimir Rodionov)

Repository: hbase
Updated Branches:
  refs/heads/0.94 cbc08ceed -> 0058e7aac


HBASE-12022 Payloads on Failure attempt to serialize the byte[] into strings. (Vladimir Rodionov)


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/0058e7aa
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/0058e7aa
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/0058e7aa

Branch: refs/heads/0.94
Commit: 0058e7aacee0a10d020590ce2c2485c53f54e270
Parents: cbc08ce
Author: Lars Hofhansl <la...@apache.org>
Authored: Fri Sep 19 10:14:08 2014 -0700
Committer: Lars Hofhansl <la...@apache.org>
Committed: Fri Sep 19 10:14:08 2014 -0700

----------------------------------------------------------------------
 src/main/java/org/apache/hadoop/hbase/ipc/HBaseServer.java | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/0058e7aa/src/main/java/org/apache/hadoop/hbase/ipc/HBaseServer.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/hadoop/hbase/ipc/HBaseServer.java b/src/main/java/org/apache/hadoop/hbase/ipc/HBaseServer.java
index d0d472f..261ce4a 100644
--- a/src/main/java/org/apache/hadoop/hbase/ipc/HBaseServer.java
+++ b/src/main/java/org/apache/hadoop/hbase/ipc/HBaseServer.java
@@ -1434,7 +1434,9 @@ public abstract class HBaseServer implements RpcServer {
             value = call(call.connection.protocol, call.param, call.timestamp, 
                 status);
           } catch (Throwable e) {
-            LOG.debug(getName()+", call "+call+": error: " + e, e);
+            if(LOG.isDebugEnabled()){
+              LOG.debug(getName()+", call "+call+": error: " + e, e);
+            }
             errorClass = e.getClass().getName();
             error = StringUtils.stringifyException(e);
           } finally {