Thanks for dropping in here Ferdy.

On Wed, Apr 4, 2012 at 9:34 AM, Ferdy Galema <ferdy.gal...@kalooga.com>wrote:

> There should be an option to turn of
> autoflushing when creating the HBaseStore. I think the gora properties file
> is a nice place for this option.
>

+1


>
> The solution for the flushing
> problem would be to use a readwrite lock so that all threads can use their
> HTable instance freely (read-lock) except when flushing, because that will
> block actions until the flush is done (write-lock). That way all HTable
> instances will get flushed.


Sounds reasonable, but yeah I'm all for doing a bit of investigation into
best practice for this as you mention below.


> A nicer solution would be to see if there are
> other (best-practices) ways to implement multithreading HBase client code.
>

Lewis

Reply via email to