hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r1098861 - in /hbase/trunk: CHANGES.txt src/main/java/org/apache/hadoop/hbase/ipc/ExecRPCInvoker.java src/main/java/org/apache/hadoop/hbase/ipc/WritableRpcEngine.java
Date Mon, 02 May 2011 23:37:54 GMT
Author: stack
Date: Mon May  2 23:37:54 2011
New Revision: 1098861

URL: http://svn.apache.org/viewvc?rev=1098861&view=rev
Log:
HBASE-3847 Turn off DEBUG logging of RPCs in WriteableRPCEngine on TRUNK

Modified:
    hbase/trunk/CHANGES.txt
    hbase/trunk/src/main/java/org/apache/hadoop/hbase/ipc/ExecRPCInvoker.java
    hbase/trunk/src/main/java/org/apache/hadoop/hbase/ipc/WritableRpcEngine.java

Modified: hbase/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hbase/trunk/CHANGES.txt?rev=1098861&r1=1098860&r2=1098861&view=diff
==============================================================================
--- hbase/trunk/CHANGES.txt (original)
+++ hbase/trunk/CHANGES.txt Mon May  2 23:37:54 2011
@@ -95,6 +95,7 @@ Release 0.91.0 - Unreleased
    HBASE-3843  splitLogWorker starts too early (Prakash Khemani)
    HBASE-3838  RegionCoprocesorHost.preWALRestore throws npe in case there is
                no RegionObserver registered (Himanshu Vashishtha)
+   HBASE-3847  Turn off DEBUG logging of RPCs in WriteableRPCEngine on TRUNK
 
   IMPROVEMENTS
    HBASE-3290  Max Compaction Size (Nicolas Spiegelberg via Stack)  

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/ipc/ExecRPCInvoker.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/ipc/ExecRPCInvoker.java?rev=1098861&r1=1098860&r2=1098861&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/ipc/ExecRPCInvoker.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/ipc/ExecRPCInvoker.java Mon May  2 23:37:54
2011
@@ -37,7 +37,9 @@ import java.lang.reflect.Method;
  * {@link org.apache.hadoop.hbase.client.ServerCallable} instance).
  */
 public class ExecRPCInvoker implements InvocationHandler {
-  private static final Log LOG = LogFactory.getLog(ExecRPCInvoker.class);
+  // LOG is NOT in hbase subpackage intentionally so that the default HBase
+  // DEBUG log level does NOT emit RPC-level logging. 
+  private static final Log LOG = LogFactory.getLog("org.apache.hadoop.ipc.ExecRPCInvoker");
 
   private Configuration conf;
   private final HConnection connection;

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/ipc/WritableRpcEngine.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/ipc/WritableRpcEngine.java?rev=1098861&r1=1098860&r2=1098861&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/ipc/WritableRpcEngine.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/ipc/WritableRpcEngine.java Mon May 
2 23:37:54 2011
@@ -44,7 +44,9 @@ import org.apache.hadoop.conf.*;
 
 /** An RpcEngine implementation for Writable data. */
 class WritableRpcEngine implements RpcEngine {
-  private static final Log LOG = LogFactory.getLog(HBaseRPC.class);
+  // LOG is NOT in hbase subpackage intentionally so that the default HBase
+  // DEBUG log level does NOT emit RPC-level logging. 
+  private static final Log LOG = LogFactory.getLog("org.apache.hadoop.ipc.RPCEngine");
 
   /* Cache a client using its socket factory as the hash key */
   static private class ClientCache {



Mime
View raw message