cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Federico Piccinini (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-6894) During a rolling upgrade from 1.2.15 to 2.0.6 nodes throws a MarshalException while attempting to merge schema during a rolling upgrade to 2.0.6
Date Thu, 20 Mar 2014 11:28:43 GMT

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

Federico Piccinini updated CASSANDRA-6894:
------------------------------------------

    Summary: During a rolling upgrade from 1.2.15 to 2.0.6 nodes throws a MarshalException
while attempting to merge schema during a rolling upgrade to 2.0.6  (was: During a rolling
upgrade from 1.2.15 nodes throws a MarshalException while attempting to merge schema during
a rolling upgrade to 2.0.6)

> During a rolling upgrade from 1.2.15 to 2.0.6 nodes throws a MarshalException while attempting
to merge schema during a rolling upgrade to 2.0.6
> ------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-6894
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6894
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: Federico Piccinini
>
> During a rolling upgrade from 1.2.15 to 2.0.5 nodes running 1.2.15 throw a MarshalException:
> {noformat}
> ERROR [InternalResponseStage:28] 2014-03-17 13:18:28,505 CassandraDaemon.java (line 191)
Exception in thread Thread[InternalResponseStage:28,5,main]
> org.apache.cassandra.db.marshal.MarshalException: unable to make long from 'column1'
>         at org.apache.cassandra.db.marshal.LongType.fromString(LongType.java:87)
>         at org.apache.cassandra.config.ColumnDefinition.fromSchema(ColumnDefinition.java:231)
>         at org.apache.cassandra.config.CFMetaData.addColumnDefinitionSchema(CFMetaData.java:1524)
>         at org.apache.cassandra.config.CFMetaData.fromSchema(CFMetaData.java:1456)
>         at org.apache.cassandra.config.KSMetaData.deserializeColumnFamilies(KSMetaData.java:306)
>         at org.apache.cassandra.db.DefsTable.mergeColumnFamilies(DefsTable.java:481)
>         at org.apache.cassandra.db.DefsTable.mergeSchema(DefsTable.java:356)
>         at org.apache.cassandra.service.MigrationTask$1.response(MigrationTask.java:66)
>         at org.apache.cassandra.net.ResponseVerbHandler.doVerb(ResponseVerbHandler.java:47)
>         at org.apache.cassandra.net.MessageDeliveryTask.run(MessageDeliveryTask.java:56)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>         at java.lang.Thread.run(Thread.java:744)
> Caused by: java.lang.NumberFormatException: For input string: "column1"
>         at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
>         at java.lang.Long.parseLong(Long.java:441)
>         at java.lang.Long.parseLong(Long.java:483)
>         at org.apache.cassandra.db.marshal.LongType.fromString(LongType.java:83)
>         ... 12 more
> {noformat}
> In this context we have a multi-DC, nocql setup spanning 3 DCs. No columns are explicitly
defined. After the first node has been migrated to 2.0.6 and restarted, all other nodes running
1.2.15 have thrown at the same time.
> We also had to restart a 1.2.15 node during the upgrade (all other nodes up and running
stably, partially running 2.0.6, partially running 1.2.15). The node we had to restart refused
to boot up until it was upgraded to 2.0.6 throwing the following (seemingly related) exception:
> {noformat}
> ERROR [main] 2014-03-17 13:41:30,211 CassandraDaemon.java (line 464) Exception encountered
during startup
> org.apache.cassandra.db.marshal.MarshalException: unable to make long from 'column1'
> 	at org.apache.cassandra.db.marshal.LongType.fromString(LongType.java:87)
> 	at org.apache.cassandra.config.ColumnDefinition.fromSchema(ColumnDefinition.java:231)
> 	at org.apache.cassandra.config.CFMetaData.addColumnDefinitionSchema(CFMetaData.java:1524)
> 	at org.apache.cassandra.config.CFMetaData.fromSchema(CFMetaData.java:1456)
> 	at org.apache.cassandra.config.KSMetaData.deserializeColumnFamilies(KSMetaData.java:306)
> 	at org.apache.cassandra.config.KSMetaData.fromSchema(KSMetaData.java:287)
> 	at org.apache.cassandra.db.DefsTable.loadFromTable(DefsTable.java:154)
> 	at org.apache.cassandra.config.DatabaseDescriptor.loadSchemas(DatabaseDescriptor.java:588)
> 	at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:253)
> 	at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:447)
> 	at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:490)
> Caused by: java.lang.NumberFormatException: For input string: "column1"
> 	at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
> 	at java.lang.Long.parseLong(Long.java:441)
> 	at java.lang.Long.parseLong(Long.java:483)
> 	at org.apache.cassandra.db.marshal.LongType.fromString(LongType.java:83)
> 	... 10 more
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message