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

Switch to Threaded View
HBase >> mail # user >> setAutoFlush in HTableDescriptor


Copy link to this message
-
Re: setAutoFlush in HTableDescriptor
Not really a good idea.

JDC hit the nail on the head.

You want to handle the setting on the HTable instance and not on the pool.

Just saying...

On Oct 10, 2012, at 3:09 AM, Jeroen Hoek <[EMAIL PROTECTED]> wrote:

> If you want to disable auto-flush in 0.92.1, one approach is to
> override the HTableInterfaceFactory in HTablePool:
>
> https://gist.github.com/3863946
>
> This was suggested last year on this mailing-list. Newer versions of
> HBase add the missing setAutoFlush(boolean) to HTableInterface.
>
> 2012/10/10 Mohit Anchlia <[EMAIL PROTECTED]>:
>> I am using 92.1 HTableDescriptor and I don't see setAutoFlush method. I am
>> using HTablePool
>