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

incompatibility w/ 0.7 schemas

    XMLWordPrintableJSON

    Details

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

      Description

      If you create a SimpleStrategy keyspace under 0.7, then switch to 0.8, you will get this error on startup:

      ERROR 14:31:41,725 Exception encountered during startup.
      java.lang.RuntimeException: org.apache.cassandra.config.ConfigurationException: SimpleStrategy requires a replication_factor strategy option.
      	at org.apache.cassandra.db.Table.<init>(Table.java:277)
      	at org.apache.cassandra.db.Table.open(Table.java:109)
      	at org.apache.cassandra.service.AbstractCassandraDaemon.setup(AbstractCassandraDaemon.java:160)
      	at org.apache.cassandra.service.AbstractCassandraDaemon.activate(AbstractCassandraDaemon.java:314)
      	at org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:80)
      Caused by: org.apache.cassandra.config.ConfigurationException: SimpleStrategy requires a replication_factor strategy option.
      	at org.apache.cassandra.locator.SimpleStrategy.validateOptions(SimpleStrategy.java:75)
      	at org.apache.cassandra.locator.AbstractReplicationStrategy.createReplicationStrategy(AbstractReplicationStrategy.java:262)
      	at org.apache.cassandra.db.Table.createReplicationStrategy(Table.java:327)
      	at org.apache.cassandra.db.Table.<init>(Table.java:273)
      	... 4 more
      

        Attachments

        1. 2450.txt
          2 kB
          Jonathan Ellis

          Activity

            People

            • Assignee:
              jbellis Jonathan Ellis
              Reporter:
              jbellis Jonathan Ellis
              Authors:
              Jonathan Ellis
              Reviewers:
              Gary Dusbabek
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: