cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksey Yeschenko (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (CASSANDRA-11008) Null Pointer Exception when upgrading from 2.1.12 to 3.0.2
Date Fri, 15 Jan 2016 16:12:39 GMT

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

Aleksey Yeschenko reassigned CASSANDRA-11008:
---------------------------------------------

    Assignee: Aleksey Yeschenko

> Null Pointer Exception when upgrading from 2.1.12 to 3.0.2
> ----------------------------------------------------------
>
>                 Key: CASSANDRA-11008
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-11008
>             Project: Cassandra
>          Issue Type: Bug
>         Environment: Ubuntu 12.04.5 LTS (GNU/Linux 3.13.0-44-generic x86_64)
>            Reporter: Nimi Wariboko Jr.
>            Assignee: Aleksey Yeschenko
>
> When upgrading a node from 2.1.12 to 3.0.2, I get a NPE during startup.
> {code}
> INFO  [main] 2016-01-13 19:25:52,566 LegacyHintsMigrator.java:88 - Migrating legacy hints
to new storage
> INFO  [main] 2016-01-13 19:25:52,566 LegacyHintsMigrator.java:91 - Forcing a major compaction
of system.hints table
> WARN  [CompactionExecutor:2] 2016-01-13 19:26:05,372 BigTableWriter.java:171 - Writing
large partition system/hints:4dbdaab0-f52d-46db-9367-b350567c89b8 (2548854721 bytes)
> INFO  [main] 2016-01-13 19:26:05,528 LegacyHintsMigrator.java:95 - Writing legacy hints
to the new storage
> ERROR [main] 2016-01-13 19:26:08,777 CassandraDaemon.java:690 - Exception encountered
during startup
> java.lang.NullPointerException: null
> 	at org.apache.cassandra.serializers.Int32Serializer.deserialize(Int32Serializer.java:31)
~[apache-cassandra-3.0.2.jar:3.0.2]
> 	at org.apache.cassandra.serializers.Int32Serializer.deserialize(Int32Serializer.java:25)
~[apache-cassandra-3.0.2.jar:3.0.2]
> 	at org.apache.cassandra.db.marshal.AbstractType.compose(AbstractType.java:114) ~[apache-cassandra-3.0.2.jar:3.0.2]
> 	at org.apache.cassandra.cql3.UntypedResultSet$Row.getInt(UntypedResultSet.java:287)
~[apache-cassandra-3.0.2.jar:3.0.2]
> 	at org.apache.cassandra.hints.LegacyHintsMigrator.convertLegacyHint(LegacyHintsMigrator.java:197)
~[apache-cassandra-3.0.2.jar:3.0.2]
> 	at org.apache.cassandra.hints.LegacyHintsMigrator.migrateLegacyHintsInternal(LegacyHintsMigrator.java:175)
~[apache-cassandra-3.0.2.jar:3.0.2]
> 	at org.apache.cassandra.hints.LegacyHintsMigrator.migrateLegacyHints(LegacyHintsMigrator.java:158)
~[apache-cassandra-3.0.2.jar:3.0.2]
> 	at org.apache.cassandra.hints.LegacyHintsMigrator.migrateLegacyHints(LegacyHintsMigrator.java:151)
~[apache-cassandra-3.0.2.jar:3.0.2]
> 	at org.apache.cassandra.hints.LegacyHintsMigrator.migrateLegacyHints(LegacyHintsMigrator.java:142)
~[apache-cassandra-3.0.2.jar:3.0.2]
> 	at org.apache.cassandra.hints.LegacyHintsMigrator.lambda$migrateLegacyHints$201(LegacyHintsMigrator.java:128)
~[apache-cassandra-3.0.2.jar:3.0.2]
> 	at org.apache.cassandra.hints.LegacyHintsMigrator$$Lambda$140/892745204.accept(Unknown
Source) ~[na:na]
> 	at java.lang.Iterable.forEach(Iterable.java:75) ~[na:1.8.0_45]
> 	at org.apache.cassandra.hints.LegacyHintsMigrator.migrateLegacyHints(LegacyHintsMigrator.java:128)
~[apache-cassandra-3.0.2.jar:3.0.2]
> 	at org.apache.cassandra.hints.LegacyHintsMigrator.migrate(LegacyHintsMigrator.java:96)
~[apache-cassandra-3.0.2.jar:3.0.2]
> 	at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:294) [apache-cassandra-3.0.2.jar:3.0.2]
> 	at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:549) [apache-cassandra-3.0.2.jar:3.0.2]
> 	at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:677) [apache-cassandra-3.0.2.jar:3.0.2]
> INFO  [main] 2016-01-13 19:29:10,940 YamlConfigurationLoader.java:92 - Loading settings
from file:/etc/cassandra/cassandra.yaml
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message