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 >> Heads up, HTablePool will be deprecated in 0.94, 0.95/0.96, and removed in 0.98


+
lars hofhansl 2013-08-03, 04:29
+
Ted Yu 2013-08-03, 05:31
+
lars hofhansl 2013-08-03, 05:54
+
Ted Yu 2013-08-03, 14:20
+
Ted Yu 2013-08-04, 03:52
+
Nick Dimiduk 2013-08-04, 03:56
+
lars hofhansl 2013-08-04, 05:41
+
Ted Yu 2013-08-04, 23:27
+
lars hofhansl 2013-08-05, 02:23
+
Ted Yu 2013-08-05, 02:39
+
lars hofhansl 2013-08-05, 02:56
+
Stack 2013-08-05, 15:25
+
Andrew Purtell 2013-08-05, 17:31
+
Gary Helmling 2013-08-05, 17:45
+
Suraj Varma 2013-08-05, 20:21
+
Enis Söztutar 2013-08-05, 21:30
+
Ted Yu 2013-08-05, 22:17
+
Andrew Purtell 2013-08-06, 00:27
+
lars hofhansl 2013-08-06, 00:51
+
Ted Yu 2013-08-05, 03:08
+
lars hofhansl 2013-08-05, 03:32
+
Jesse Yates 2013-08-03, 06:50
Copy link to this message
-
Re: Heads up, HTablePool will be deprecated in 0.94, 0.95/0.96, and removed in 0.98
On Fri, Aug 2, 2013 at 9:29 PM, lars hofhansl <[EMAIL PROTECTED]> wrote:

> * HConnection:
>     public HTableInterface getTable(byte[] tableName) throws IOException
>     public HTableInterface getTable(byte[] tableName, ExecutorService
> pool) throws IOException
>     public HTableInterface getTable(String tableName) throws IOException
>

Mind adding `public HTableInterface getTable(String tableName,
ExecutorService pool) throws IOException` to the permutations?

HTableInterfaces are retrieved from the HConnection. By default the
> HConnection's ExecutorService is used, but optionally that can be
> overridden for each HTable.
>

This sounds great!

// HConnection.getTable(...) is lightweight. The table is really just a
> convenient place to call table method and for a temporary batch cache.
>

Do the semantics of the batch cache change at all, with respect to
accumulating mutations per Table/RegionServer/Region?

// The HTableInterface returned is not thread safe as before.
>

I haven't looked at the patch -- can this be placed in big bold letters in
the class and/or constructor javadoc?

// It's fine to get 1000's of these.
>

Nice!
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