[
https://issues.apache.org/jira/browse/HBASE-3767?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13018726#comment-13018726
]
Ted Yu commented on HBASE-3767:
-------------------------------
The number of region servers in the cluster is used in the following:
{code}
int nrThreads = conf.getInt("hbase.htable.threads.max", getCurrentNrHRS());
...
this.pool = new ThreadPoolExecutor(nrThreads, nrThreads,
{code}
Can we default the value for hbase.htable.threads.max using a multiple of the
available processors ?
> Cache the number of RS in HTable
> --------------------------------
>
> Key: HBASE-3767
> URL: https://issues.apache.org/jira/browse/HBASE-3767
> Project: HBase
> Issue Type: Improvement
> Affects Versions: 0.90.2
> Reporter: Jean-Daniel Cryans
> Fix For: 0.90.3
>
>
> When creating a new HTable we have to query ZK to learn about the number of
> region servers in the cluster. That is done for every single one of them, I
> think instead we should do it once per JVM and then reuse that number for all
> the others.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira