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

Errors with Super Columns, mixup of 1.2 and 2.0

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Fix Version/s: 2.0.7
    • Component/s: None
    • Labels:
      None
    • Severity:
      Normal

      Description

      On our test cluster, we tried a upgrade of Cassandra from 1.2.11 to 2.0.6. During the time we were running with 2 different versions of cassandra, there was errors in the logs:

      ERROR [WRITE-/10.10.0.41] 2014-03-19 11:23:27,523 OutboundTcpConnection.java (line 234) error writing to /10.10.0.41
      java.lang.RuntimeException: Cannot convert filter to old super column format. Update all nodes to Cassandra 2.0 first.
      at org.apache.cassandra.db.SuperColumns.sliceFilterToSC(SuperColumns.java:357)
      at org.apache.cassandra.db.SuperColumns.filterToSC(SuperColumns.java:258)
      at org.apache.cassandra.db.ReadCommandSerializer.serializedSize(ReadCommand.java:192)
      at org.apache.cassandra.db.ReadCommandSerializer.serializedSize(ReadCommand.java:134)
      at org.apache.cassandra.net.MessageOut.serialize(MessageOut.java:116)
      at org.apache.cassandra.net.OutboundTcpConnection.writeInternal(OutboundTcpConnection.java:251)
      at org.apache.cassandra.net.OutboundTcpConnection.writeConnected(OutboundTcpConnection.java:203)
      at org.apache.cassandra.net.OutboundTcpConnection.run(OutboundTcpConnection.java:151)

      I confirm we do have old style super columns which were designed when cassandra was 1.0.x.

      Since in our test cluster the replication factor is 1, I can see errors on the client side, since 1 node among 2 was down. So I don't know for sure if this error in cassandra affected the client, the time frame is too short to be sure from the logs.

        Attachments

        1. 6966.txt
          2 kB
          Sylvain Lebresne
        2. 6966-bikeshed.txt
          3 kB
          Aleksey Yeschenko

          Issue Links

            Activity

              People

              • Assignee:
                slebresne Sylvain Lebresne
                Reporter:
                hibou Nicolas Lalevée
                Authors:
                Sylvain Lebresne
                Reviewers:
                Aleksey Yeschenko
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: