Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-17486

DOC - Incorrect CQL version for Docker cqlsh command in Quickstart guide

    XMLWordPrintableJSON

Details

    Description

      Based on the Quickstart 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.

      Attachments

        1. c17486-02-fixed_quickstart.png
          860 kB
          Erick Ramirez
        2. c17486-01-incorrect_versions_in_sample_output.png
          131 kB
          Erick Ramirez

        Issue Links

          Activity

            People

              erickramirezau Erick Ramirez
              sathyakplm Sathyanarayanan Saravanamuthu
              Erick Ramirez, Sathyanarayanan Saravanamuthu
              Erick Ramirez
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: