You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Joshua Partogi (JIRA)" <ji...@apache.org> on 2010/11/21 14:07:14 UTC

[jira] Commented: (CASSANDRA-1333) cassandra-cli cannot connect

    [ https://issues.apache.org/jira/browse/CASSANDRA-1333?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12934266#action_12934266 ] 

Joshua Partogi commented on CASSANDRA-1333:
-------------------------------------------

Is this broken in 0.7.0-beta3 again?

I am getting this error when trying to connect from CLI:
[default@unknown] connect localhost/9160 
Exception retrieving information about the cassandra node, check you have connected to the thrift port.

Cassandra is running and thrift is bound to port 9160

> cassandra-cli cannot connect 
> -----------------------------
>
>                 Key: CASSANDRA-1333
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1333
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.7 beta 1
>         Environment: CentOS 5.2
> trunk
>            Reporter: Arya Goudarzi
>            Assignee: Jonathan Ellis
>             Fix For: 0.7 beta 1
>
>
> I cannot connect to any of my nodes using Cassandra-CLI. I think this has happened about 2 weeks ago:
> [agoudarzi@cas-test1 bin]$ cassandra-cli --host 10.50.26.132 --port 9160 --debug
> Exception retrieving information about the cassandra node, check you have connected to the thrift port.
> org.apache.thrift.transport.TTransportException
> 	at org.apache.thrift.transport.TIOStreamTransport.read(TIOStreamTransport.java:132)
> 	at org.apache.thrift.transport.TTransport.readAll(TTransport.java:84)
> 	at org.apache.thrift.transport.TFramedTransport.readFrame(TFramedTransport.java:129)
> 	at org.apache.thrift.transport.TFramedTransport.read(TFramedTransport.java:101)
> 	at org.apache.thrift.transport.TTransport.readAll(TTransport.java:84)
> 	at org.apache.thrift.protocol.TBinaryProtocol.readAll(TBinaryProtocol.java:369)
> 	at org.apache.thrift.protocol.TBinaryProtocol.readI32(TBinaryProtocol.java:295)
> 	at org.apache.thrift.protocol.TBinaryProtocol.readMessageBegin(TBinaryProtocol.java:202)
> 	at org.apache.cassandra.thrift.Cassandra$Client.recv_describe_cluster_name(Cassandra.java:1117)
> 	at org.apache.cassandra.thrift.Cassandra$Client.describe_cluster_name(Cassandra.java:1103)
> 	at org.apache.cassandra.cli.CliMain.connect(CliMain.java:164)
> 	at org.apache.cassandra.cli.CliMain.main(CliMain.java:255)
> Welcome to cassandra CLI.
> Type 'help' or '?' for help. Type 'quit' or 'exit' to quit.
> [default@unknown] exit                     
> However using Thrift PHP Client I have no problem connecting and executing describe_cluster_name().
> I have configured Cassandra RPC port and IP as follows:
> # The address to bind the Thrift RPC service to
> rpc_address: 10.50.26.132
> # port for Thrift to listen on
> rpc_port: 9160
> Steps to Reproduce:
> 1. Start from a clean setup;
> 2. Run py_stress to insert some keys and create the default keyspace;
> 3. Try connecting using cassandra-cli like command above. You'll get the Exception.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.