Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

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


Copy link to this message
-
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.
   1.
   https://github.com/apache/hbase/blob/trunk/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HTable.java#L183
   2.
   https://github.com/apache/hbase/blob/trunk/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HTable.java#L202

Thanks
+
lars hofhansl 2013-04-03, 01:16
+
Elliott Clark 2013-04-03, 04:28
+
Bijieshan 2013-04-03, 01:15
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB