[ 
https://issues.apache.org/jira/browse/CASSANDRA-17486?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Erick Ramirez updated CASSANDRA-17486:
--------------------------------------
    Description: 
Based on the [Quickstart guide|https://cassandra.apache.org/_/quickstart.html], 
I ran the following commands:

{noformat}
> 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
{noformat}

On executing the {{cqlsh}}, I got the following error:

{noformat}
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']",)})
{noformat}

{{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.

  was:
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.

 


> CQLSH broken in docker as per the quick start documentation
> -----------------------------------------------------------
>
>                 Key: CASSANDRA-17486
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-17486
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Documentation/Blog
>            Reporter: Sathyanarayanan Saravanamuthu
>            Priority: Normal
>              Labels: pull-request-available
>
> Based on the [Quickstart 
> guide|https://cassandra.apache.org/_/quickstart.html], I ran the following 
> commands:
> {noformat}
> > 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
> {noformat}
> On executing the {{cqlsh}}, I got the following error:
> {noformat}
> 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']",)})
> {noformat}
> {{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.7#820007)

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

Reply via email to