You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Jignesh Patel <ji...@gmail.com> on 2011/10/28 10:35:14 UTC

JBoss 7 with Thrift or Avro

Has anybody tried deploying thrift or avro inside JBoss Application server?

-Jignesh

Re: JBoss 7 with Thrift or Avro

Posted by Jignesh Patel <ji...@gmail.com>.
Thanks Stack and Doug,
I am able to deploy a sample app on JBoss 7.0.2 and able to directly
connect with HBase using HTablePools. If anybody needs sample code let me
know.

-Jignesh

On Fri, Oct 28, 2011 at 3:02 PM, Doug Meil <do...@explorysmedical.com>wrote:

>
> See...
>
> http://hbase.apache.org/book.html#client
>
> ... The hbase client talks directly to the RegionServers.
>
>
>
>
> On 10/28/11 2:24 PM, "Jignesh Patel" <ji...@gmail.com> wrote:
>
> >If I use Java there will be 1-1 mapping between 1 JVM to 1 region server.
> >
> >While I am not sure, I thought(presume) using thrift gateway it will able
> >to
> >transfer request randomly to cluster of region server. So say I have 1 JVM
> >but can able to talk to 3 region servers?
> >
> >Moreover I thought having thrift server will improve performance compared
> >to
> >java directly talking to HBase.
> >
> >
> >-Jignesh
> >
> >On Fri, Oct 28, 2011 at 12:17 PM, Stack <st...@duboce.net> wrote:
> >
> >> Why would you deploy thrift inside JBOSS?  JBOSS is a java container
> >> last time I checked so deploying thrift makes no sense -- just do
> >> java.
> >>
> >> St.Ack
> >>
> >> On Fri, Oct 28, 2011 at 1:35 AM, Jignesh Patel <jigneshmpatel@gmail.com
> >
> >> wrote:
> >> > Has anybody tried deploying thrift or avro inside JBoss Application
> >> server?
> >> >
> >> > -Jignesh
> >> >
> >>
>
>
>

Re: JBoss 7 with Thrift or Avro

Posted by Doug Meil <do...@explorysmedical.com>.
See...

http://hbase.apache.org/book.html#client

... The hbase client talks directly to the RegionServers.




On 10/28/11 2:24 PM, "Jignesh Patel" <ji...@gmail.com> wrote:

>If I use Java there will be 1-1 mapping between 1 JVM to 1 region server.
>
>While I am not sure, I thought(presume) using thrift gateway it will able
>to
>transfer request randomly to cluster of region server. So say I have 1 JVM
>but can able to talk to 3 region servers?
>
>Moreover I thought having thrift server will improve performance compared
>to
>java directly talking to HBase.
>
>
>-Jignesh
>
>On Fri, Oct 28, 2011 at 12:17 PM, Stack <st...@duboce.net> wrote:
>
>> Why would you deploy thrift inside JBOSS?  JBOSS is a java container
>> last time I checked so deploying thrift makes no sense -- just do
>> java.
>>
>> St.Ack
>>
>> On Fri, Oct 28, 2011 at 1:35 AM, Jignesh Patel <ji...@gmail.com>
>> wrote:
>> > Has anybody tried deploying thrift or avro inside JBoss Application
>> server?
>> >
>> > -Jignesh
>> >
>>



Re: JBoss 7 with Thrift or Avro

Posted by Jignesh Patel <ji...@gmail.com>.
If I use Java there will be 1-1 mapping between 1 JVM to 1 region server.

While I am not sure, I thought(presume) using thrift gateway it will able to
transfer request randomly to cluster of region server. So say I have 1 JVM
but can able to talk to 3 region servers?

Moreover I thought having thrift server will improve performance compared to
java directly talking to HBase.


-Jignesh

On Fri, Oct 28, 2011 at 12:17 PM, Stack <st...@duboce.net> wrote:

> Why would you deploy thrift inside JBOSS?  JBOSS is a java container
> last time I checked so deploying thrift makes no sense -- just do
> java.
>
> St.Ack
>
> On Fri, Oct 28, 2011 at 1:35 AM, Jignesh Patel <ji...@gmail.com>
> wrote:
> > Has anybody tried deploying thrift or avro inside JBoss Application
> server?
> >
> > -Jignesh
> >
>

Re: JBoss 7 with Thrift or Avro

Posted by Stack <st...@duboce.net>.
Why would you deploy thrift inside JBOSS?  JBOSS is a java container
last time I checked so deploying thrift makes no sense -- just do
java.

St.Ack

On Fri, Oct 28, 2011 at 1:35 AM, Jignesh Patel <ji...@gmail.com> wrote:
> Has anybody tried deploying thrift or avro inside JBoss Application server?
>
> -Jignesh
>