cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tyler Hobbs (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-8462) Upgrading a 2.0 to 2.1 breaks CFMetaData on 2.0 nodes
Date Wed, 07 Jan 2015 19:16:34 GMT

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

Tyler Hobbs commented on CASSANDRA-8462:
----------------------------------------

+1 with a nit: you're missing "time" in "There is a chance that quite some [time] could have
passed"

> Upgrading a 2.0 to 2.1 breaks CFMetaData on 2.0 nodes
> -----------------------------------------------------
>
>                 Key: CASSANDRA-8462
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8462
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: Rick Branson
>            Assignee: Aleksey Yeschenko
>             Fix For: 2.1.3
>
>         Attachments: 8462.txt
>
>
> Added a 2.1.2 node to a cluster running 2.0.11. Didn't make any schema changes. When
I tried to reboot one of the 2.0 nodes, it failed to boot with this exception. Besides an
obvious fix, any workarounds for this?
> {noformat}
> java.lang.IllegalArgumentException: No enum constant org.apache.cassandra.config.CFMetaData.Caching.{"keys":"ALL",
"rows_per_partition":"NONE"}
>         at java.lang.Enum.valueOf(Enum.java:236)
>         at org.apache.cassandra.config.CFMetaData$Caching.valueOf(CFMetaData.java:286)
>         at org.apache.cassandra.config.CFMetaData.fromSchemaNoColumnsNoTriggers(CFMetaData.java:1713)
>         at org.apache.cassandra.config.CFMetaData.fromSchema(CFMetaData.java:1793)
>         at org.apache.cassandra.config.KSMetaData.deserializeColumnFamilies(KSMetaData.java:307)
>         at org.apache.cassandra.config.KSMetaData.fromSchema(KSMetaData.java:288)
>         at org.apache.cassandra.db.DefsTables.loadFromKeyspace(DefsTables.java:131)
>         at org.apache.cassandra.config.DatabaseDescriptor.loadSchemas(DatabaseDescriptor.java:529)
>         at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:270)
>         at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:496)
>         at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:585)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message