incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vivek Mishra <mishra.v...@gmail.com>
Subject CQL binary protocol error
Date Fri, 25 Jan 2013 10:49:06 GMT
I have enabled *start_native_transport: true*  in cassandra.yaml and then
tried to connect from cqlsh as:

*/home/vivek/vivek/apache-cassandra-1.2.0/bin/cqlsh -3 localhost 9042*

But i am getting below error:

*
vivek@vivek-pc ~/source/apache-cassandra-1.2.0-src $
/home/vivek/vivek/apache-cassandra-1.2.0/bin/cqlsh -3 localhost 9042
Traceback (most recent call last):
  File "/home/vivek/vivek/apache-cassandra-1.2.0/bin/cqlsh", line 2247, in
<module>
    main(*read_options(sys.argv[1:], os.environ))
  File "/home/vivek/vivek/apache-cassandra-1.2.0/bin/cqlsh", line 2233, in
main
    display_float_precision=options.float_precision)
  File "/home/vivek/vivek/apache-cassandra-1.2.0/bin/cqlsh", line 482, in
__init__
    cql_version=cqlver, transport=transport)
  File
"/home/vivek/vivek/apache-cassandra-1.2.0/bin/../lib/cql-internal-only-1.4.0.zip/cql-1.4.0/cql/connection.py",
line 143, in connect
  File
"/home/vivek/vivek/apache-cassandra-1.2.0/bin/../lib/cql-internal-only-1.4.0.zip/cql-1.4.0/cql/connection.py",
line 59, in __init__
  File
"/home/vivek/vivek/apache-cassandra-1.2.0/bin/../lib/cql-internal-only-1.4.0.zip/cql-1.4.0/cql/thrifteries.py",
line 159, in establish_connection
  File
"/home/vivek/vivek/apache-cassandra-1.2.0/bin/../lib/cql-internal-only-1.4.0.zip/cql-1.4.0/cql/cassandra/Cassandra.py",
line 1255, in describe_version
  File
"/home/vivek/vivek/apache-cassandra-1.2.0/bin/../lib/cql-internal-only-1.4.0.zip/cql-1.4.0/cql/cassandra/Cassandra.py",
line 1265, in recv_describe_version
  File
"/home/vivek/vivek/apache-cassandra-1.2.0/bin/../lib/thrift-python-internal-only-0.7.0.zip/thrift/protocol/TBinaryProtocol.py",
line 126, in readMessageBegin
  File
"/home/vivek/vivek/apache-cassandra-1.2.0/bin/../lib/thrift-python-internal-only-0.7.0.zip/thrift/protocol/TBinaryProtocol.py",
line 203, in readI32
  File
"/home/vivek/vivek/apache-cassandra-1.2.0/bin/../lib/thrift-python-internal-only-0.7.0.zip/thrift/transport/TTransport.py",
line 63, in readAll
EOFError
*

Any idea?

-Vivek

Mime
View raw message