hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From la...@apache.org
Subject [34/50] hbase git commit: HBASE-16165 Decrease RpcServer.callQueueSize before writeResponse causes OOM (Guanghao Zhang)
Date Tue, 01 Nov 2016 19:48:12 GMT
HBASE-16165 Decrease RpcServer.callQueueSize before writeResponse causes OOM (Guanghao Zhang)


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

Branch: refs/heads/0.98
Commit: efd1ba157a13f18113ca9cb9aca5f76e6df1209b
Parents: 73fa9d6
Author: zhangduo <zhangduo@apache.org>
Authored: Sun Sep 18 10:06:50 2016 +0800
Committer: zhangduo <zhangduo@apache.org>
Committed: Sun Sep 18 10:07:19 2016 +0800

----------------------------------------------------------------------
 .../src/main/java/org/apache/hadoop/hbase/ipc/RpcServer.java       | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/efd1ba15/hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/RpcServer.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/RpcServer.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/RpcServer.java
index 50e16c0..f946753 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/RpcServer.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/RpcServer.java
@@ -580,6 +580,8 @@ public class RpcServer implements RpcServerInterface {
      * called by the RPC code in the context of the Handler thread.
      */
     public synchronized void sendResponseIfReady() throws IOException {
+      // set param null to reduce memory pressure
+      this.param = null;
       if (!this.delayResponse) {
         this.responder.doRespond(this);
       }


Mime
View raw message