cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcus Eriksson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-10788) Upgrade from 2.2.1 to 3.0.0 fails with NullPointerException
Date Fri, 04 Dec 2015 08:11:11 GMT

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

Marcus Eriksson commented on CASSANDRA-10788:
---------------------------------------------

I needed a tiny fix to be able to run the unit test alone from IDE: https://github.com/krummas/cassandra/commits/stef/10788-3.0

other than that, I am +1 and will commit once dtests pass

> Upgrade from 2.2.1 to 3.0.0 fails with NullPointerException
> -----------------------------------------------------------
>
>                 Key: CASSANDRA-10788
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10788
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Lifecycle
>            Reporter: Tomas Ramanauskas
>            Assignee: Stefania
>             Fix For: 3.0.1, 3.1
>
>
> I tried to upgrade Cassandra from 2.2.1 to 3.0.0, however, I get this error on startup
after Cassandra 3.0 software was installed:
> {code}
> ERROR [main] 2015-11-30 15:44:50,164 CassandraDaemon.java:702 - Exception encountered
during startup
> java.lang.NullPointerException: null
> 	at org.apache.cassandra.io.util.FileUtils.delete(FileUtils.java:374) ~[apache-cassandra-3.0.0.jar:3.0.0]
> 	at org.apache.cassandra.db.SystemKeyspace.migrateDataDirs(SystemKeyspace.java:1341)
~[apache-cassandra-3.0.0.jar:3.0.0]
> 	at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:180) [apache-cassandra-3.0.0.jar:3.0.0]
> 	at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:561) [apache-cassandra-3.0.0.jar:3.0.0]
> 	at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:689) [apache-cassandra-3.0.0.jar:3.0.0]
> {code}



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

Mime
View raw message