Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: Searching for AE for Thrift

by bash (Scribe)
on Apr 06, 2015 at 22:45 UTC ( #1122623=note: print w/replies, xml ) Need Help??


in reply to Re: Searching for AE for Thrift
in thread Searching for AE for Thrift

Yep, but it doesn't work from box.
I've tried to change
$protocol = Thrift::BinaryProtocol->new($transport);
to
$protocol = Thrift::XS::BinaryProtocol->new($transport);
Got error:
Can't call method "write" on an undefined value at /home/dev01/lib/Hbase/Hbase.pm line 9858

 9855 sub send_getTableNames{
 9856   my $self = shift;
 9857 
 9858   $self->{output}->writeMessageBegin('getTableNames', TMessageType::CALL, $self->{seqid});
 9859   my $args = new Hbase::Hbase_getTableNames_args();
 9860   $args->write($self->{output});
 9861   $self->{output}->writeMessageEnd();
 9862   $self->{output}->getTransport()->flush();
 9863 }

Looks like it requires additional changes, like custom transport and socket :(

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1122623]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (5)
As of 2020-07-13 05:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?