Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
HBase >> mail # dev >> Shared ThreadPoolExecutor in HTable by default.

Elliott Clark 2013-04-02, 22:44
Copy link to this message
Re: Shared ThreadPoolExecutor in HTable by default.
I think it'd make it hard to size the pool correctly.
There is a proposed patch here: https://issues.apache.org/jira/browse/HBASE-6580 where we'd tie the threadpool to an HConnection, I think that would be the correct going forward.

-- Lars

 From: Elliott Clark <[EMAIL PROTECTED]>
Sent: Tuesday, April 2, 2013 3:44 PM
Subject: Shared ThreadPoolExecutor in HTable by default.
Is there any reason that the ThreadPoolExecutor used in HTable[1] couldn't
be a singleton. That would mean that by default htables share threads (as I
would argue is correct), but still give advanced users the ability to
override this using the  more explicit[2] constructor.

Elliott Clark 2013-04-03, 04:28
Bijieshan 2013-04-03, 01:15