Hi Andy,
you give me two ways to install (or configure) thriftserver , first
is showed @http://abloz.com/2012/06/01/python-operating-hbase-thrift-to.html
second way @
http://abloz.com/2012/05/31/example-thrift-installation.html, i prefer the
first one, but seems the second one if official?
which one is better, or both works?
Best R.
beatls
On Mon, Dec 24, 2012 at 7:49 PM, 周梦想 <[email protected]> wrote:
> hi beatls,
>
> for your question, the answer is YES!
> if you just need a c++ client to access HBase,
> just run thrift server like this:
> in hbase home dir, run
> bin/hbase-daemon.sh start thrift
> or
> bin/hbase-daemon.sh start thrift2
>
> then you can using your c++ thrift client to connect.
> I have some articles about via thrift connect hbase in Chinese:
> http://abloz.com/2012/06/01/python-operating-hbase-thrift-to.html
> http://abloz.com/2012/10/18/php-thrift-access-hbase-two.html
> http://abloz.com/2012/05/31/example-thrift-installation.html
>
> I'm using python and php connect hbase,not c++.
> I also translate part of the HBase document to Chinese,url is:
>
> http://abloz.com/hbase/book.html
>
> for your reference.
>
> Thanks.
> Andy Zhou
>
> 2012/12/24 hua beatls <[email protected]>
>
> > Hi,
> > we have a c++ client, and the thrift server was installed on the
> > Ndatanode ®ionservers.
> > ( from the official document we know that it is not recommended for
> > the thrift colocated with nn &jobtracker).
> > as we understand the processs from client to hbase shown below:
> > client--->thrift server----->zookeeper---->hbase.
> > my quesiton: can thrift server deploy on a stangalone server( do not
> > colocated with NN&Jobtracker);
> >
> > Many Thanks!
> >
> >
> > beatls
> >
> >
> >
> > On Sun, Dec 23, 2012 at 7:52 AM, Lukáš Drbal <[email protected]>
> > wrote:
> >
> > > Hi Xiang,
> > > please don't send question like this ... nobody can't response message
> > like
> > > this.
> > > This is one of questions were response can be: "yes, you can, go it"
> > > I write this message only because we have many client for access to
> HBase
> > > via thrift and i want share our experience and take some new ideas.
> > >
> > > What's your client language?
> > >
> > > Here is many options, for exaple we have enabled
> > > hbase.regionserver.export.thrift
> > > and we use all region servers from client side (this is maybe bad, i
> don'
> > > know)
> > >
> > > LesTR
> > > --
> > > send from lower keyboard, please excuse my typos
> > >
> > >
> > >
> > > **
> > > 2012/12/22 Xiang Hua <[email protected]>
> > >
> > > > Hi,
> > > > how can thrift server connect to hbase, through zookeeper? how to
> > > > config it?
> > > >
> > > >
> > > > Thanks!
> > > >
> > > >
> > > > beatls
> > > >
> > >
> > >
> > >
> > > --
> > > Save The World - http://www.worldcommunitygrid.org/
> > >
> http://www.worldcommunitygrid.org/stat/viewMemberInfo.do?userName=LesTR
> > >
> > > LesTR
> > >
> >
>