hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Néstor Boscán <nesto...@gmail.com>
Subject Re: Is Thrift Java API Hbase.Client thread safe?
Date Fri, 28 Nov 2014 23:45:02 GMT
Hi

So if I use the HBase Java API is it Thread Safe?

Regards,

Néstor

On Fri, Nov 28, 2014 at 7:00 PM, Néstor Boscán <nestorjb@gmail.com> wrote:

> Hi Stack
>
> Thanks for the quick response.
>
> I tried using the Hbase Java API from my laptop connecting to my HBase
> installation in a server and it didn't work. I tried adding hbase-site.xml
> to the classpath but it couldn't find the hbase running on the server.
>
> Regards,
>
> Néstor
>
> On Fri, Nov 28, 2014 at 6:53 PM, Stack <stack@duboce.net> wrote:
>
>> You are doing java <-> thrift <-> hbase? (Why not just use the java client
>> directly rather than go via thrift?)
>>
>> Are you referring to the generated code
>> under src/main/java//org/apache/hadoop/hbase/thrift/generated/Hbase.java?
>> If so, it does not look thread safe. There are some shared data members
>> and
>> there are no synchronizes in the class.
>>
>> St.Ack
>>
>>
>> On Fri, Nov 28, 2014 at 12:57 PM, Néstor Boscán <nestorjb@gmail.com>
>> wrote:
>>
>> > Hi
>> >
>> > I'm using the Thrift Java API on a web application. Is the Hbase.Client
>> > thread safe?
>> >
>> > Regards,
>> >
>> > Néstor
>> >
>>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message