Re: Is HBase Thread-Safety?

2012-04-13 Thread Doug Meil
; >>> > Which part? The server certainly is thread safe. >>> > The client is not, at least not all the way through. >>> > >>> > The main consideration is HTable, which is not thread safe, you need >>>to >>> > create one instance for each thread >

Fwd: Is HBase Thread-Safety?

2012-04-13 Thread Bing Li
t; > (HBASE-4805 makes that much cheaper), store the HTable in a ThreadLocal >> > after creation, or use HTablePool. >> > >> > Please let me know if that answers your question. >> > >> > Thanks. >> > >> > -- Lars >> &g

Re: Is HBase Thread-Safety?

2012-04-13 Thread Bing Li
t; > (HBASE-4805 makes that much cheaper), store the HTable in a ThreadLocal >> > after creation, or use HTablePool. >> > >> > Please let me know if that answers your question. >> > >> > Thanks. >> > >> > -- Lars >> &g

Re: Is HBase Thread-Safety?

2012-04-12 Thread NNever
hread > > (HBASE-4805 makes that much cheaper), store the HTable in a ThreadLocal > > after creation, or use HTablePool. > > > > Please let me know if that answers your question. > > > > Thanks. > > > > -- Lars > > > > > > - Original Message

Re: Is HBase Thread-Safety?

2012-04-12 Thread Bing Li
answers your question. > > Thanks. > > -- Lars > > > - Original Message - > From: Bing Li > To: hbase-u...@hadoop.apache.org; user > Cc: > Sent: Thursday, April 12, 2012 3:10 PM > Subject: Is HBase Thread-Safety? > > Dear all, > > Is HBase thr

Re: Is HBase Thread-Safety?

2012-04-12 Thread lars hofhansl
after creation, or use HTablePool. Please let me know if that answers your question. Thanks. -- Lars - Original Message - From: Bing Li To: hbase-u...@hadoop.apache.org; user Cc: Sent: Thursday, April 12, 2012 3:10 PM Subject: Is HBase Thread-Safety? Dear all, Is HBase thread-safety

Re: Is HBase Thread-Safety?

2012-04-12 Thread Doug Meil
re: "Is HBase thread-safety?" HTable instances are not thread safe, though. http://hbase.apache.org/apidocs/org/apache/hadoop/hbase/client/HTable.html On 4/12/12 6:10 PM, "Bing Li" wrote: >Dear all, > >Is HBase thread-safety? Do I need to consid

Re: Is HBase Thread-Safety?

2012-04-12 Thread Sean Bigdatafun
There only 'transaction' HBase provides is row-level transaction. On Thu, Apr 12, 2012 at 3:10 PM, Bing Li wrote: > Dear all, > > Is HBase thread-safety? Do I need to consider the consistency issue when > manipulating HBase? > > Thanks so much! > > Best regards, > Bing > -- --Sean