You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (JIRA)" <ji...@apache.org> on 2011/04/11 21:34:05 UTC

[jira] [Created] (CASSANDRA-2450) incompatibility w/ 0.7 schemas

incompatibility w/ 0.7 schemas
------------------------------

                 Key: CASSANDRA-2450
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2450
             Project: Cassandra
          Issue Type: Bug
          Components: Core
    Affects Versions: 0.8
            Reporter: Jonathan Ellis
            Assignee: Jon Hermes
             Fix For: 0.8


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

{noformat}
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
{noformat}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (CASSANDRA-2450) incompatibility w/ 0.7 schemas

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-2450?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Ellis updated CASSANDRA-2450:
--------------------------------------

    Reviewer: gdusbabek  (was: jhermes)

> incompatibility w/ 0.7 schemas
> ------------------------------
>
>                 Key: CASSANDRA-2450
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2450
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.8
>            Reporter: Jonathan Ellis
>            Assignee: Jonathan Ellis
>             Fix For: 0.8
>
>         Attachments: 2450.txt
>
>
> If you create a SimpleStrategy keyspace under 0.7, then switch to 0.8, you will get this error on startup:
> {noformat}
> 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
> {noformat}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CASSANDRA-2450) incompatibility w/ 0.7 schemas

Posted by "Gary Dusbabek (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-2450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13020309#comment-13020309 ] 

Gary Dusbabek commented on CASSANDRA-2450:
------------------------------------------

+1

> incompatibility w/ 0.7 schemas
> ------------------------------
>
>                 Key: CASSANDRA-2450
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2450
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.8
>            Reporter: Jonathan Ellis
>            Assignee: Jonathan Ellis
>             Fix For: 0.8
>
>         Attachments: 2450.txt
>
>
> If you create a SimpleStrategy keyspace under 0.7, then switch to 0.8, you will get this error on startup:
> {noformat}
> 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
> {noformat}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (CASSANDRA-2450) incompatibility w/ 0.7 schemas

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-2450?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Ellis updated CASSANDRA-2450:
--------------------------------------

    Attachment: 2450.txt

patch add back replication_factor to the avro class as union { int, null } so we can upgrade old-style schema information seamlessly in KSMetaData.

> incompatibility w/ 0.7 schemas
> ------------------------------
>
>                 Key: CASSANDRA-2450
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2450
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.8
>            Reporter: Jonathan Ellis
>            Assignee: Jon Hermes
>             Fix For: 0.8
>
>         Attachments: 2450.txt
>
>
> If you create a SimpleStrategy keyspace under 0.7, then switch to 0.8, you will get this error on startup:
> {noformat}
> 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
> {noformat}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira