2016-03-31 13 views
1

それはかなり言います。Cassandra 2.2.5から3.0.4へのアップグレードが失敗します

quiesceノードを停止し、cassandraを停止し、2.2.5から3.0.4にアップグレードしてからcassandraを起動します。復帰時:

INFO 13:02:50 Detected version upgrade from 2.2.5 to 3.0.4, snapshotting system keyspace 
INFO 13:02:50 Updating topology for all endpoints that have changed 
Exception (java.lang.RuntimeException) encountered during startup: org.codehaus.jackson.JsonParseException: Unexpected character ('K' (code 75)): expected a valid value (numbe 
r, String, array, object, 'true', 'false' or 'null') 
at [Source: [email protected]; line: 1, column: 2] 
java.lang.RuntimeException: org.codehaus.jackson.JsonParseException: Unexpected character ('K' (code 75)): expected a valid value (number, String, array, object, 'true', 'fals 
e' or 'null') 
at [Source: [email protected]; line: 1, column: 2] 
     at org.apache.cassandra.utils.FBUtilities.fromJsonMap(FBUtilities.java:561) 
     at org.apache.cassandra.schema.LegacySchemaMigrator.decodeTableParams(LegacySchemaMigrator.java:381) 
     at org.apache.cassandra.schema.LegacySchemaMigrator.decodeTableMetadata(LegacySchemaMigrator.java:363) 
     at org.apache.cassandra.schema.LegacySchemaMigrator.readTableMetadata(LegacySchemaMigrator.java:273) 
     at org.apache.cassandra.schema.LegacySchemaMigrator.readTable(LegacySchemaMigrator.java:244) 
     at org.apache.cassandra.schema.LegacySchemaMigrator.lambda$readTables$233(LegacySchemaMigrator.java:237) 
     at java.util.ArrayList.forEach(ArrayList.java:1249) 
     at org.apache.cassandra.schema.LegacySchemaMigrator.readTables(LegacySchemaMigrator.java:237) 
     at org.apache.cassandra.schema.LegacySchemaMigrator.readKeyspace(LegacySchemaMigrator.java:186) 
     at org.apache.cassandra.schema.LegacySchemaMigrator.lambda$readSchema$230(LegacySchemaMigrator.java:177) 
     at java.util.ArrayList.forEach(ArrayList.java:1249) 
     at org.apache.cassandra.schema.LegacySchemaMigrator.readSchema(LegacySchemaMigrator.java:177) 
     at org.apache.cassandra.schema.LegacySchemaMigrator.migrate(LegacySchemaMigrator.java:77) 
     at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:223) 
     at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:551) 
     at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:679) 

ノードが死ぬ。私は困惑している。

答えて

2

修正済み:datadir/system */*のすべてを削除して再構築してください。

関連する問題