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

cqlsh shows old version native protocol but other nodes of cluster shows correct

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Invalid
    • None
    • CQL/Interpreter
    • None
    • All
    • None

    Description

      Team,

      we got a weird issue, we are getting below error 

      com.datastax.driver.core.exceptions.CodecNotFoundException: Codec not found for requested operation: ['org.apache.cassandra.db.marshal.ShortType' <-> java.lang.Short]

      com.datastax.driver.core.Connection - DEBUG: Got unsupported protocol version error from /<ipad>:9042 for version V4 server supports version V3

      cassandra]$ cqlsh <ipadress> -u cassandra
      Password:
      \Connected to social-graph-cassandra-cluster at <ip>:9042.
      [cqlsh 5.0.1 | Cassandra 3.11.5 | CQL spec 3.4.4 | Native protocol v3]
      Use HELP for help.
      cassandra@cqlsh> select native_protocol_version from system.local; native_protocol_version
      -------------------------
      4(1 rows)
      cassandra@cqlsh>

      but other clusters shows correct version of Native protocols.

      we are not using any cqlshrc config files as well. any help in identifying above issue would be appreciated.

      Regards,

      Srinivas

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            srinivasp Srinivas P
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: