You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Benedict (JIRA)" <ji...@apache.org> on 2015/01/07 21:04:35 UTC

[jira] [Comment Edited] (CASSANDRA-8462) Upgrading a 2.0 to 2.1 breaks CFMetaData on 2.0 nodes

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

Benedict edited comment on CASSANDRA-8462 at 1/7/15 8:04 PM:
-------------------------------------------------------------

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

Nevermind. We appear to have hit a lengthy race condition, and my upload was slow enough to be rejected.


was (Author: benedict):
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)