cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-5186) Schema NPEs in 1.1.6. Upgrading to 1.1.9 causes IllegalArgumentException loading Schema
Date Tue, 05 Feb 2013 23:17:13 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-5186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13571878#comment-13571878
] 

Jonathan Ellis commented on CASSANDRA-5186:
-------------------------------------------

If you've done concurrent schema changes such that two CFs got the same ID on different machines
you're SOL on any version.  You'll need to blow away the schema and recreate it. (1.2 should
avoid getting into this situation in the first place, but upgrading won't fix it once you're
already there.)
                
> Schema NPEs in 1.1.6.  Upgrading to 1.1.9 causes IllegalArgumentException loading Schema
> ----------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-5186
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5186
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.1.9
>            Reporter: Michael Harris
>            Priority: Critical
>         Attachments: 5186.patch
>
>
> We experienced the problems described in CASSANDRA-4219 in version 1.1.6.  We were told
to upgrade to 1.1.9.  Now the schema fails to load with the following error:
> java.lang.IllegalArgumentException: value already present: 1105
> at com.google.common.base.Preconditions.checkArgument(Preconditions.java:115)
> at com.google.common.collect.AbstractBiMap.putInBothMaps(AbstractBiMap.java:112)
> at com.google.common.collect.AbstractBiMap.put(AbstractBiMap.java:96)
> at com.google.common.collect.HashBiMap.put(HashBiMap.java:85)
> at org.apache.cassandra.config.Schema.load(Schema.java:399)
> at org.apache.cassandra.config.Schema.load(Schema.java:120)
> at org.apache.cassandra.config.Schema.load(Schema.java:105)
> at org.apache.cassandra.config.DatabaseDescriptor.loadSchemas(DatabaseDescriptor.java:534)
> at org.apache.cassandra.service.AbstractCassandraDaemon.setup(AbstractCassandraDaemon.java:183)
> at com.palantir.phoenix.datastore.cass.server.PTCassandraServer$PTCassandraDaemon.setup(PTCassandraServer.java:64)
> at org.apache.cassandra.service.AbstractCassandraDaemon.activate(AbstractCassandraDaemon.java:389)

--
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

Mime
View raw message