We could add a metric that did an iteration of handlers in HBaseServer emitting how many were in progress. There is no provision for doing this currently. Would have to add accessors, etc. Its a good idea. As a metric, we might miss a burst of requests filling all slots but sustained high request numbers would show.
St.Ack On Sun, Jan 17, 2010 at 10:17 AM, Lars George <lars.geo...@gmail.com> wrote: > Hi Andrew, > > I have it at 30. What I would like to know is how to detect this sort > of shortage? I also have the feeling we need this sort of indicators > as metrics to the various servers so that the max and current can be > graphed. What do you think? > > Thanks, > Lars > > On Sat, Jan 16, 2010 at 2:02 AM, Andrew Purtell (JIRA) <j...@apache.org> > wrote: > > > > [ > https://issues.apache.org/jira/browse/HBASE-2133?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel] > > > > Andrew Purtell resolved HBASE-2133. > > ----------------------------------- > > > > Resolution: Fixed > > Hadoop Flags: [Reviewed] > > > > Committed following change to trunk and 0.20 branch: > > \\ > > {noformat} > > --- 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> > > {noformat} > > > > 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. > > > >> Increase default number of client handlers > >> ------------------------------------------ > >> > >> Key: HBASE-2133 > >> URL: https://issues.apache.org/jira/browse/HBASE-2133 > >> Project: Hadoop HBase > >> Issue Type: Improvement > >> Reporter: Andrew Purtell > >> Assignee: Andrew Purtell > >> Fix For: 0.20.3, 0.21.0 > >> > >> > >> Any reason not to just go ahead and change hbase-default.xml to include: > >> {noformat} > >> <property> > >> <name>hbase.regionserver.handler.count</name> > >> <value>100</value> > >> </property> > >> <property> > >> <name>hbase.zookeeper.property.maxClientCnxns</name> > >> <value>100</value> > >> </property> > >> {noformat} > >> ? > >> The current default for both, 10, is anemic. > > > > -- > > This message is automatically generated by JIRA. > > - > > You can reply to this email to add a comment to the issue online. > > > > >