diff --git src/main/java/org/apache/hadoop/hbase/ipc/ExecRPCInvoker.java src/main/java/org/apache/hadoop/hbase/ipc/ExecRPCInvoker.java index b8b290c..8a3a45f 100644 --- src/main/java/org/apache/hadoop/hbase/ipc/ExecRPCInvoker.java +++ src/main/java/org/apache/hadoop/hbase/ipc/ExecRPCInvoker.java @@ -78,8 +78,10 @@ public class ExecRPCInvoker implements InvocationHandler { }; ExecResult result = callable.withRetries(); this.regionName = result.getRegionName(); - LOG.debug("Result is region="+ Bytes.toStringBinary(regionName) + + if(LOG.isDebugEnabled()){ + LOG.debug("Result is region="+ Bytes.toStringBinary(regionName) + ", value="+result.getValue()); + } return result.getValue(); } @@ -89,4 +91,4 @@ public class ExecRPCInvoker implements InvocationHandler { public byte[] getRegionName() { return regionName; } -} \ No newline at end of file +}