You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Sylvain Lebresne (JIRA)" <ji...@apache.org> on 2012/06/01 10:53:22 UTC
[jira] [Updated] (CASSANDRA-4294) Upgrading encounters:
'SimpleStrategy requires a replication_factor strategy option.' and refuses
to start
[ https://issues.apache.org/jira/browse/CASSANDRA-4294?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sylvain Lebresne updated CASSANDRA-4294:
----------------------------------------
Attachment: 4294.txt
Attaching patch that adds back {{maybeAddReplicationFactor}} for compatibility sake as suggested in previous comment.
> Upgrading encounters: 'SimpleStrategy requires a replication_factor strategy option.' and refuses to start
> ----------------------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-4294
> URL: https://issues.apache.org/jira/browse/CASSANDRA-4294
> Project: Cassandra
> Issue Type: Bug
> Affects Versions: 1.1.0
> Reporter: Brandon Williams
> Fix For: 1.1.1
>
> Attachments: 4294.txt
>
>
> I've seen this reported quite a few times now:
> {noformat}
> ERROR [main] 2012-05-29 19:33:40,589 AbstractCassandraDaemon.java (line 370) 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:275)
> at org.apache.cassandra.db.Table.open(Table.java:114)
> at org.apache.cassandra.db.Table.open(Table.java:97)
> at org.apache.cassandra.service.AbstractCassandraDaemon.setup(AbstractCassandraDaemon.java:204)
> at org.apache.cassandra.service.AbstractCassandraDaemon.activate(AbstractCassandraDaemon.java:353)
> at org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:106)
> Caused by: org.apache.cassandra.config.ConfigurationException: SimpleStrategy requires a replication_factor strategy option.
> at org.apache.cassandra.locator.SimpleStrategy.validateOptions(SimpleStrategy.java:71)
> at org.apache.cassandra.locator.AbstractReplicationStrategy.createReplicationStrategy(AbstractReplicationStrategy.java:218)
> at org.apache.cassandra.db.Table.createReplicationStrategy(Table.java:295)
> at org.apache.cassandra.db.Table.<init>(Table.java:271)
> ... 5 more
> {noformat}
> The common thread seems to be old lineage, from at least 0.7. 1.0.x works fine, but upgrading to 1.1 causes the problem.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira