churly lin 2014-01-09, 08:09
Stack 2014-01-09, 19:10
churly lin 2014-01-10, 02:37
-Re: Python access HBase using Thrift Error:Internal error processing getTableNames
Stack 2014-01-10, 19:16
On Thu, Jan 9, 2014 at 6:37 PM, churly lin <[EMAIL PROTECTED]> wrote:
> Hi Stack:
> Thanks for your reply.
> I will try to lower the version of thrift ^ ^
> Does the HBase 0.94.2-cdh4.2.1's thrift version is 0.8.0?
I believe so. Check the pom.xml.
> Update for some information with thrift 0.8.0:
> 1. client.getRow() works fine, but getTableNames()
> and getColumnDescriptors() fail.
> 2. Last night, I restart the hbase. getTableNames()
> and getColumnDescriptors() is working then!
> 3. This morning, these two functions fail again.
Exceptions? What do logs say?
> 2014/1/10 Stack <[EMAIL PROTECTED]>
> > On Thu, Jan 9, 2014 at 12:09 AM, churly lin <[EMAIL PROTECTED]> wrote:
> > >
> > > My thrfit version is 0.9.0.
> > >
> > >
> > Try using the thrift version that hbase 0.94 uses, 0.8.0.
> > You might also look at http://happybase.readthedocs.org/en/latest/ and
> > take
> > advantage of Wouter's nice work.
> > St.Ack