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

Error when upgrading from 2.2.6 to 2.2.7

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Duplicate
    • None
    • None
    • None
    • Low

    Description

      When upgrading my cluster from 2.2.6 -> 2.2.7, I got the following error on most of my nodes:
      https://gist.github.com/dcparker88/7789a749271486428d2ccb52030cf186

      {"@timestamp":"2016-09-01T12:54:37.398-05:00","@version":1,"message":"Detected version upgrade from 2.2.6 to 2.2.7, snapshotting system keyspace","logger_name":"org.apache.cassandra.db.SystemKeyspace","thread_name":"main","level":"INFO","level_value":20000,"HOSTNAME":"u-ebmslx1078.ttce.stage.es.target.com"}
      {"@timestamp":"2016-09-01T12:54:37.529-05:00","@version":1,"message":"Exception encountered during startup","logger_name":"org.apache.cassandra.service.CassandraDaemon","thread_name":"main","level":"ERROR","level_value":40000,"stack_trace":"java.lang.IllegalStateException: One row required, 0 found\n\tat org.apache.cassandra.cql3.UntypedResultSet$FromResultSet.one(UntypedResultSet.java:77) ~[apache-cassandra-2.2.7.jar:2.2.7]\n\tat org.apache.cassandra.schema.LegacySchemaTables.createKeyspaceFromSchemaPartition(LegacySchemaTables.java:758) ~[apache-cassandra-2.2.7.jar:2.2.7]\n\tat org.apache.cassandra.schema.LegacySchemaTables.createKeyspaceFromSchemaPartitions(LegacySchemaTables.java:737) ~[apache-cassandra-2.2.7.jar:2.2.7]\n\tat org.apache.cassandra.schema.LegacySchemaTables.readSchemaFromSystemTables(LegacySchemaTables.java:219) ~[apache-cassandra-2.2.7.jar:2.2.7]\n\tat org.apache.cassandra.config.Schema.loadFromDisk(Schema.java:117) ~[apache-cassandra-2.2.7.jar:2.2.7]\n\tat org.apache.cassandra.config.Schema.loadFromDisk(Schema.java:107) ~[apache-cassandra-2.2.7.jar:2.2.7]\n\tat org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:215) [apache-cassandra-2.2.7.jar:2.2.7]\n\tat org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:522) [apache-cassandra-2.2.7.jar:2.2.7]\n\tat org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:631) [apache-cassandra-2.2.7.jar:2.2.7]\n","HOSTNAME":"u-ebmslx1078.ttce.stage.es.target.com"}
      

      I have also attached my system/ keyspace sstables.

      In IRC, https://issues.apache.org/jira/browse/CASSANDRA-11742 was being investigated as related.

      Attachments

        1. system-sstables.tar.gz
          1013 kB
          Daniel Parker

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dcparker88@gmail.com Daniel Parker
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: