Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Cassandra Issues with perl while reading cassandra with key validation is longType

by Rushi (Initiate)
on Mar 19, 2013 at 11:20 UTC ( #1024267=perlquestion: print w/ replies, xml ) Need Help??
Rushi has asked for the wisdom of the Perl Monks concerning the following question:

My question is i have one cassandra where we have declare key validation class as "LongType". So whenever i am trying to retrieve the data from cassandra , it is giving me below mentioned error.

Error is : $VAR1 = bless( { 'code' => 0, 'message' => 'TSocket: Could not read 4 bytes from lo +calhost:9160' }, 'Net::GenThrift::Thrift::TException' );
we have declare Key_validationclass as : LongType. So could you please tell me how to resolve this error? My whole automation is stuck for this.

Comment on Cassandra Issues with perl while reading cassandra with key validation is longType
Download Code
Re: Cassandra Issues with perl while reading cassandra with key validation is longType
by Anonymous Monk on Mar 19, 2013 at 11:57 UTC

    So could you please tell me how to resolve this error?

    No

    My whole automation is stuck for this.

    Have you heard of block eval? It will keep your program from dieing

      I written program in eval only but still facing the same problem

Re: Cassandra Issues with perl while reading cassandra with key validation is longType
by Jenda (Abbot) on Mar 21, 2013 at 17:49 UTC

    You have one what? I guess the "database management system developed by Facebook", right? You should be clear about that, this is not something "well known".

    The review of the current, almost three years old, version of Net::Cassandra::Easy says "This might be a good module if it were updated, but this version is too old to be useful. It appears this module will not work with any version of Cassandra above 5.x." It's a little strange since the current version of Cassandra is 1.2.3, but I guess John meant 0.5.0. Especially since the docs of the module say "Net::Cassandra::Easy WILL NOT WORK WITH 0.6.x RELEASES OF Cassandra.".

    Looks like there is no supported Perl interface to this database.

    Jenda
    Enoch was right!
    Enjoy the last years of Rome.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (8)
As of 2014-08-23 10:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (173 votes), past polls