You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Paulo Motta (Jira)" <ji...@apache.org> on 2021/03/21 23:32:00 UTC

[jira] [Issue Comment Deleted] (CASSANDRA-16292) upgraded nodes encountered "Unknown column kind" RuntimeException during upgrade C* from 3.0 to 3.2

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

Paulo Motta updated CASSANDRA-16292:
------------------------------------
    Comment: was deleted

(was: [~zagol] thanks for the report. can you check if it's reproducible on 3.11.latest?)

> upgraded nodes encountered "Unknown column kind" RuntimeException during upgrade C* from 3.0 to 3.2
> ---------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-16292
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-16292
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Yongle Zhang
>            Priority: Normal
>
> We tried to upgrade a 3.0.21 C* cluster to 3.2 and run into the following runtime exception. 
>  
> Error message: 
>  
> {code:java}
> INFO  04:56:43 Initializing system_schema.dropped_columns
> ERROR 04:56:43 Exception in thread Thread[SSTableBatchOpen:2,5,main]
> java.lang.RuntimeException: Unknown column kind during deserialization
>   at org.apache.cassandra.db.SerializationHeader$Component.toHeader(SerializationHeader.java:331) ~[main/:na]
>   at org.apache.cassandra.io.sstable.format.SSTableReader.open(SSTableReader.java:477) ~[main/:na]
>   at org.apache.cassandra.io.sstable.format.SSTableReader.open(SSTableReader.java:366) ~[main/:na]
>   at org.apache.cassandra.io.sstable.format.SSTableReader$4.run(SSTableReader.java:525) ~[main/:na]
>   at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[na:1.8.0_252]
>   at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[na:1.8.0_252]
>   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[na:1.8.0_252]
>   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_252]
>   at java.lang.Thread.run(Thread.java:748) [na:1.8.0_252]
> {code}
>  
> Steps to reproduce: 
>  # Start up a cluster of version 3.0 with 3 nodes and one seed
>  # Run these commands to create keyspaces and tables:
> {code:java}
> CREATE KEYSPACE ks WITH replication = { 'class':'SimpleStrategy', 'replication_factor':1}  AND DURABLE_WRITES = true";{code}
>  
> {code:java}
> CREATE KEYSPACE IF NOT EXISTS foo WITH replication = {'class': 'SimpleStrategy', 'replication_factor': '1'}{code}
>  
> {code:java}
> CREATE TABLE foo.bar (key text PRIMARY KEY, val int);{code}
>  
> {code:java}
> CREATE TABLE testTable (pk int PRIMARY KEY, val text){code}
>  # Drop one of the keyspaces
> {code:java}
> DROP KEYSPACE foo;{code}
>  # stopp all the nodes, and started the C* nodes running C* compiled from 3.2 
>  # After upgrading, we noticed some of the nodes encountered the RuntimeException (Unknown column kind during deserialization)
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org