hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tsuna <tsuna...@gmail.com>
Subject Re: HTable not thread safe
Date Wed, 20 Apr 2011 20:28:16 GMT
On Wed, Apr 20, 2011 at 10:12 AM, Peter Haidinyak <phaidinyak@local.com> wrote:
> Sorry, my bad, I assumed each thread would have its own Table instance not using a shared

Yeah you'd need to use one HTable instance per thread.

<plug>Alternatively, you can look at asynchbase, an alternative HBase
client that's fully asynchronous and non-blocking and written from the
ground-up to be thread safe.  It performs much better than HTable for
high-throughput low-latency multi-threaded applications:
github.com/stumbleupon/asynchbase </plug>

Benoit "tsuna" Sigoure
Software Engineer @ www.StumbleUpon.com

View raw message