hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nkey...@apache.org
Subject svn commit: r1519861 - /hbase/branches/0.96/hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/RpcServer.java
Date Tue, 03 Sep 2013 21:44:05 GMT
Author: nkeywal
Date: Tue Sep  3 21:44:04 2013
New Revision: 1519861

URL: http://svn.apache.org/r1519861
Log:
HBASE-9415  In rpcServer, replicationQueue is initialized with the max queue size instead
of the max queue lenght

Modified:
    hbase/branches/0.96/hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/RpcServer.java

Modified: hbase/branches/0.96/hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/RpcServer.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.96/hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/RpcServer.java?rev=1519861&r1=1519860&r2=1519861&view=diff
==============================================================================
--- hbase/branches/0.96/hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/RpcServer.java
(original)
+++ hbase/branches/0.96/hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/RpcServer.java
Tue Sep  3 21:44:04 2013
@@ -1982,7 +1982,7 @@ public class RpcServer implements RpcSer
       2 * HConstants.DEFAULT_HBASE_RPC_TIMEOUT);
     this.numOfReplicationHandlers = conf.getInt("hbase.regionserver.replication.handler.count",
3);
     if (numOfReplicationHandlers > 0) {
-      this.replicationQueue = new LinkedBlockingQueue<Call>(maxQueueSize);
+      this.replicationQueue = new LinkedBlockingQueue<Call>(maxQueueLength);
     }
 
     this.warnResponseTime = conf.getInt(WARN_RESPONSE_TIME, DEFAULT_WARN_RESPONSE_TIME);



Mime
View raw message