hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Haidinyak <phaidin...@local.com>
Subject RE: HTable not thread safe
Date Wed, 20 Apr 2011 17:12:57 GMT
Sorry, my bad, I assumed each thread would have its own Table instance not using a shared instance.

Thanks 

-Pete

-----Original Message-----
From: Ted Yu [mailto:yuzhihong@gmail.com] 
Sent: Wednesday, April 20, 2011 10:10 AM
To: user@hbase.apache.org
Subject: Re: HTable not thread safe

Each thread should maintain its own HTable instance.

On Wed, Apr 20, 2011 at 10:08 AM, Peter Haidinyak <phaidinyak@local.com>wrote:

> If the HTable is not thread safe how would one use multiple threads to
> read/write to a table?
>
> Thanks
>
> -Pete
>

Mime
View raw message