HBase
  1. HBase
  2. HBASE-2133

Increase default number of client handlers

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.20.3, 0.90.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Any reason not to just go ahead and change hbase-default.xml to include:

      <property>
          <name>hbase.regionserver.handler.count</name>
          <value>100</value>
      </property>
      
      <property>
          <name>hbase.zookeeper.property.maxClientCnxns</name>
          <value>100</value>
      </property>
      

      ?

      The current default for both, 10, is anemic.

        Activity

        Andrew Purtell created issue -
        Hide
        Andrew Purtell added a comment -

        Patrick Hunt reminds that hbase.zookeeper.property.maxClientCnxns is a per host limit, so just ignore that bit.

        Show
        Andrew Purtell added a comment - Patrick Hunt reminds that hbase.zookeeper.property.maxClientCnxns is a per host limit, so just ignore that bit.
        Hide
        stack added a comment -

        100 may be a bit much. I thought we'd set this up once before already but I just looked at TRUNK and its 10. 25? Default in datanode is 3 or something. That should go up too.

        Show
        stack added a comment - 100 may be a bit much. I thought we'd set this up once before already but I just looked at TRUNK and its 10. 25? Default in datanode is 3 or something. That should go up too.
        Hide
        stack added a comment -

        hmmm its 10 in branch too...

        Show
        stack added a comment - hmmm its 10 in branch too...
        Hide
        Andrew Purtell added a comment -

        Committed following change to trunk and 0.20 branch:

        --- conf/hbase-default.xml      (revision 899849)
        +++ conf/hbase-default.xml      (working copy)
        @@ -153,10 +153,10 @@
           </property>
           <property>
             <name>hbase.regionserver.handler.count</name>
        -    <value>10</value>
        +    <value>25</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.
        +    Default is 25.
             </description>
           </property>
           <property>
        

        We might want to increase this again depending on user feedback. I know I needed 100 to avoid trouble with high read/write load once above ~200 regions/server.

        Show
        Andrew Purtell added a comment - Committed following change to trunk and 0.20 branch: --- conf/hbase-default.xml (revision 899849) +++ conf/hbase-default.xml (working copy) @@ -153,10 +153,10 @@ </property> <property> <name>hbase.regionserver.handler.count</name> - <value>10</value> + <value>25</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. + Default is 25. </description> </property> <property> We might want to increase this again depending on user feedback. I know I needed 100 to avoid trouble with high read/write load once above ~200 regions/server.
        Andrew Purtell made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Hadoop Flags [Reviewed]
        Resolution Fixed [ 1 ]
        stack made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        5h 41m 1 Andrew Purtell 16/Jan/10 01:01
        Resolved Resolved Closed Closed
        1000d 5h 13m 1 stack 12/Oct/12 07:14

          People

          • Assignee:
            Andrew Purtell
            Reporter:
            Andrew Purtell
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development