You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Arya Goudarzi (JIRA)" <ji...@apache.org> on 2010/07/29 02:08:15 UTC
[jira] Created: (CASSANDRA-1333) cassandra-cli cannot connect
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.0
Environment: CentOS 5.2
trunk
Reporter: Arya Goudarzi
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.
[jira] Updated: (CASSANDRA-1333) cassandra-cli cannot connect
Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-1333?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Ellis updated CASSANDRA-1333:
--------------------------------------
Assignee: Jonathan Ellis
Fix Version/s: 0.7 beta 1
Affects Version/s: 0.7 beta 1
(was: 0.7.0)
> 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.
[jira] Resolved: (CASSANDRA-1333) cassandra-cli cannot connect
Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-1333?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Ellis resolved CASSANDRA-1333.
---------------------------------------
Resolution: Fixed
fixed in r980285. thanks!
> 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.
[jira] Commented: (CASSANDRA-1333) cassandra-cli cannot connect
Posted by "Arya Goudarzi (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-1333?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12893440#action_12893440 ]
Arya Goudarzi commented on CASSANDRA-1333:
------------------------------------------
More Info:
The server log says my client is old! But I am using the latest build from trunc:
ERROR [pool-1-thread-22] 2010-07-28 17:09:54,688 CustomTThreadPoolServer.java (line 175) Thrift error occurred during processing of message.
org.apache.thrift.protocol.TProtocolException: Missing version in readMessageBegin, old client?
at org.apache.thrift.protocol.TBinaryProtocol.readMessageBegin(TBinaryProtocol.java:211)
at org.apache.cassandra.thrift.Cassandra$Processor.process(Cassandra.java:2587)
at org.apache.cassandra.thrift.CustomTThreadPoolServer$WorkerProcess.run(CustomTThreadPoolServer.java:167)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:636)
> 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.0
> Environment: CentOS 5.2
> trunk
> Reporter: Arya Goudarzi
>
> 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.