HBASE-9436 hbase.regionserver.handler.count default

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1521166 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
nkeywal 2013-09-09 15:56:06 +00:00
parent 9de8402281
commit ecedb57f7e
3 changed files with 4 additions and 8 deletions

View File

@ -753,7 +753,7 @@ public final class HConstants {
public static final boolean DEFAULT_DISALLOW_WRITES_IN_RECOVERING_CONFIG = false;
public static final String REGION_SERVER_HANDLER_COUNT = "hbase.regionserver.handler.count";
public static final int DEFAULT_REGION_SERVER_HANDLER_COUNT = 10;
public static final int DEFAULT_REGION_SERVER_HANDLER_COUNT = 30;
public static final String REGION_SERVER_META_HANDLER_COUNT =
"hbase.regionserver.metahandler.count";

View File

@ -49,10 +49,6 @@
<property>
<name>hbase.regionserver.handler.count</name>
<value>5</value>
<description>Count of RPC Server instances spun up on RegionServers
Same property is used by the HMaster for count of master handlers.
Default is 10.
</description>
</property>
<property>
<name>hbase.master.info.port</name>

View File

@ -972,11 +972,11 @@ index e70ebc6..96f8c27 100644
<section xml:id="hbase.regionserver.handler.count"><title><varname>hbase.regionserver.handler.count</varname></title>
<para>
This setting defines the number of threads that are kept open to answer
incoming requests to user tables. The default of 10 is rather low in order to
prevent users from killing their region servers when using large write buffers
with a high number of concurrent clients. The rule of thumb is to keep this
incoming requests to user tables. The rule of thumb is to keep this
number low when the payload per request approaches the MB (big puts, scans using
a large cache) and high when the payload is small (gets, small puts, ICVs, deletes).
The total size of the queries in progress is limited by the setting
"ipc.server.max.callqueue.size".
</para>
<para>
It is safe to set that number to the