Sathyanarayanan Saravanamuthu created CASSANDRA-17486:
---------------------------------------------------------

             Summary: CQLSH broken as per the quick start documentation
                 Key: CASSANDRA-17486
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-17486
             Project: Cassandra
          Issue Type: Bug
            Reporter: Sathyanarayanan Saravanamuthu


Based on the quick start guide, I ran the following commands:

> docker network create cassandra

> docker run --rm -d --name cassandra --hostname cassandra --network cassandra 
> cassandra

> docker run -it --network cassandra -v "$(pwd)/data.cql:/scripts/data.cql" -e 
> CQLSH_HOST=cassandra -e CQLSH_PORT=9042 nuvo/docker-cqlsh sh

On executing the `cqlsh`, I got the following error:

`Connection error: ('Unable to connect to any servers', \{'172.18.0.2': 
ProtocolError("cql_version '3.3.1' is not supported by remote (w/ native 
protocol). Supported versions: [u'3.4.5']",)})`

`nuvo/docker-cqlsh` uses version `3.3.1` and the server supports `3.4.5`.

 

The documentation is broken in current state and needs to be fixed.

 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to