cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benedict (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:55:35 GMT

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

Benedict commented on CASSANDRA-8462:
-------------------------------------

I just pushed a change to 2.0, 2.1 and trunk, and this change seemed not to have been merged
with 2.1. It looks like the changes are minor, and may not even apply to 2.1. I backed them
out to what 2.1 was prior to my merge. If somebody could have a look and check what should
have been applied to 2.1, it would be appreciated.

> 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.0.12, 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