hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tsuna <tsuna...@gmail.com>
Subject Re: HTable thread safety in 0.20.6
Date Mon, 21 Feb 2011 06:18:40 GMT
On Fri, Feb 18, 2011 at 2:58 PM, Jean-Daniel Cryans <jdcryans@apache.org> wrote:
> Like the javadoc says:
> This class is not thread safe. Use one instance per thread.

Alternatively, you can look at asynchbase:
It's designed to be thread-safe from the ground up and very efficient
in a multi-threaded application that uses HBase as a backend.  It also
works with all HBase versions, whereas with HTable you need to change
the .jar and restart your application whenever you want to switch
between different versions.

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

View raw message