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

Jim Witschey commented on CASSANDRA-10278:
------------------------------------------

[~puneet] Is this still a problem for you? I can't reproduce locally with ccm:

{code}
$ ccm create repro-10278 -v binary:2.1.9 -n 3 ; ccm start 
--wait-for-binary-proto ; ccm node1 cqlsh
Current cluster is now: repro-10278
Connected to repro-10278 at 127.0.0.1:9042.
[cqlsh 5.0.1 | Cassandra 2.1.9 | CQL spec 3.2.0 | Native protocol v3]
Use HELP for help.
cqlsh> 
$
{code}

This indicates to me that Cassandra 2.1.9's binary distribution uses the 
correct CQL protocol version, so I don't think your explanation is valid. Carl 
pointed out that {{cqlsh}} connects to 9042 by default. What command did you 
use to start {{cqlsh}}? Unless you specified the port as 9046 when you started 
{{cqlsh}}, you likely connected to a 2.2 node on 9042.

> CQLSH version is not supported by Remote
> ----------------------------------------
>
>                 Key: CASSANDRA-10278
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10278
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: Puneet Pant
>              Labels: cqlsh
>             Fix For: 2.1.x
>
>
> Although the CASSANDRA 2.1.9 sever runs successfully as:
> INFO  14:27:31 Starting listening for CQL clients on 
> localhost/127.0.0.1:9046...
> INFO  14:27:31 Binding thrift service to localhost/127.0.0.1:9160
> INFO  14:27:31 Listening for thrift clients...
> But CQLSH can not connect to it. This is because  the shipped version of 
> CQLSH with cassandra is 3.2.0 whereas the supported by remote is 3.3.0 so the 
> default shipped version of CQL need to be upgraded in cassandra or it should 
> provide backward compatibility.
> Here is the CQLSH error:
> {code}
> Connection error: ('Unable to connect to any servers', {'127.0.0.1': 
> ProtocolError("cql_version '3.2.0' is not supported by remote (w/ native 
> protocol). Supported versions: [u'3.3.0']",)})
> {code}
> Note:9046 is just changed to fix conflicts.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to