[ 
https://issues.apache.org/jira/browse/CASSANDRA-4795?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pavel Yaskevich reopened CASSANDRA-4795:
----------------------------------------

        Tester: xedin

Also, All of the old users how were adding custom properties to replication 
strategy (at least) wouldn't be able to start-up after upgrade to 1.2.1 because 
validation is also done on Table initialization.

{noformat}
java.lang.RuntimeException: 
org.apache.cassandra.exceptions.ConfigurationException: Unrecognized strategy 
option {titan-version} passed to SimpleStrategy for keyspace titan
        at org.apache.cassandra.db.Table.<init>(Table.java:269)
        at org.apache.cassandra.db.Table.open(Table.java:110)
        at org.apache.cassandra.db.Table.open(Table.java:88)
        at 
org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:223)
        at 
org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:379)
        at 
org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:422)
Caused by: org.apache.cassandra.exceptions.ConfigurationException: Unrecognized 
strategy option {titan-version} passed to SimpleStrategy for keyspace titan
        at 
org.apache.cassandra.locator.AbstractReplicationStrategy.validateExpectedOptions(AbstractReplicationStrategy.java:281)
        at 
org.apache.cassandra.locator.SimpleStrategy.validateOptions(SimpleStrategy.java:72)
        at 
org.apache.cassandra.locator.AbstractReplicationStrategy.createReplicationStrategy(AbstractReplicationStrategy.java:234)
        at 
org.apache.cassandra.db.Table.createReplicationStrategy(Table.java:288)
        at org.apache.cassandra.db.Table.<init>(Table.java:265)
        ... 5 more
{noformat}
                
> replication, compaction, compression? options are not validated
> ---------------------------------------------------------------
>
>                 Key: CASSANDRA-4795
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4795
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.1.0
>            Reporter: Brandon Williams
>            Assignee: Dave Brosius
>            Priority: Minor
>             Fix For: 1.2.1
>
>         Attachments: 4795.compaction_strategy.txt, 
> 4795_compaction_strategy_v2.txt, 4795_compaction_strategy_v3.txt, 
> 4795.replication_strategy.txt
>
>
> When creating a keyspace and specifying strategy options, you can pass any 
> k/v pair you like.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to