hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zhang...@apache.org
Subject hbase git commit: HBASE-16165 Decrease RpcServer.callQueueSize before writeResponse causes OOM (Guanghao Zhang)
Date Sun, 18 Sep 2016 02:21:31 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1.3 55d3dc415 -> e9a5c60d1


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/e9a5c60d
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/e9a5c60d
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/e9a5c60d

Branch: refs/heads/branch-1.3
Commit: e9a5c60d139dd12cd5d395ef80344591242842c5
Parents: 55d3dc4
Author: zhangduo <zhangduo@apache.org>
Authored: Sun Sep 18 10:05:27 2016 +0800
Committer: zhangduo <zhangduo@apache.org>
Committed: Sun Sep 18 10:05:54 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/e9a5c60d/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 1576c2a..72d2531 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
@@ -574,6 +574,8 @@ public class RpcServer implements RpcServerInterface, ConfigurationObserver
{
     }
 
     public synchronized void sendResponseIfReady() throws IOException {
+      // set param null to reduce memory pressure
+      this.param = null;
       this.responder.doRespond(this);
     }
 


Mime
View raw message