cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Shuler (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CASSANDRA-7497) Cassandra crash on startup
Date Sat, 05 Jul 2014 16:23:34 GMT

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

Michael Shuler resolved CASSANDRA-7497.
---------------------------------------

    Resolution: Not a Problem

This does not appear to be a scratch install of 2.0.9, but an upgrade, since you have existing
data:

{{Current version jb is unable to read file: /var/lib/cassandra/data/system/compaction_history/system-compaction_history-ka-1.
Please run upgradesstables.}}

If you intended this to be a scratch install, and you have no important data, a simple {{rm
-r /var/lib/cassandra/*}} will delete everything in the Cassandra data directory and give
you a fresh start.  Otherwise, go through the normal upgrade process, which includes running
upgradesstables, as the error indicates.

Feel free to reopen this ticket, if with zero existing data on a truly fresh install, there
is some sort of reproducible error on startup. 

> Cassandra crash on startup
> --------------------------
>
>                 Key: CASSANDRA-7497
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7497
>             Project: Cassandra
>          Issue Type: Bug
>         Environment: Ubuntu 14.04 with 3.13.0-24 Kernel
> java version "1.7.0_60"
> Java(TM) SE Runtime Environment (build 1.7.0_60-b19)
> Java HotSpot(TM) 64-Bit Server VM (build 24.60-b09, mixed mode)
>            Reporter: Rafael Lara Trillo
>            Priority: Minor
>             Fix For: 2.0.9
>
>
> I´m installing Cassandra 2.0.9 from scratch and when I startup it with cassandra -f
doesn´t work and I obtain this info:
> paradise@MASK1:~$ cassandra -f
>  INFO 01:28:09,095 Logging initialized
>  INFO 01:28:09,134 Loading settings from file:/etc/cassandra/cassandra.yaml
>  INFO 01:28:09,475 Data files directories: [/var/lib/cassandra/data]
>  INFO 01:28:09,477 Commit log directory: /var/lib/cassandra/commitlog
>  INFO 01:28:09,477 DiskAccessMode 'auto' determined to be mmap, indexAccessMode is mmap
>  INFO 01:28:09,477 disk_failure_policy is stop
>  INFO 01:28:09,477 commit_failure_policy is stop
>  INFO 01:28:09,482 Global memtable threshold is enabled at 1988MB
>  INFO 01:28:09,600 Not using multi-threaded compaction
>  INFO 01:28:09,832 JVM vendor/version: Java HotSpot(TM) 64-Bit Server VM/1.7.0_60
>  INFO 01:28:09,832 Heap size: 8339324928/8340373504
>  INFO 01:28:09,832 Code Cache Non-heap memory: init = 2555904(2496K) used = 662528(647K)
committed = 2555904(2496K) max = 50331648(49152K)
>  INFO 01:28:09,832 Par Eden Space Heap memory: init = 671088640(655360K) used = 120827640(117995K)
committed = 671088640(655360K) max = 671088640(655360K)
>  INFO 01:28:09,833 Par Survivor Space Heap memory: init = 83886080(81920K) used = 0(0K)
committed = 83886080(81920K) max = 83886080(81920K)
>  INFO 01:28:09,833 CMS Old Gen Heap memory: init = 7584350208(7406592K) used = 0(0K)
committed = 7584350208(7406592K) max = 7585398784(7407616K)
>  INFO 01:28:09,833 CMS Perm Gen Non-heap memory: init = 21757952(21248K) used = 14340320(14004K)
committed = 21757952(21248K) max = 85983232(83968K)
>  INFO 01:28:09,837 Classpath: /etc/cassandra:/usr/share/cassandra/lib/antlr-3.2.jar:/usr/share/cassandra/lib/commons-cli-1.1.jar:/usr/share/cassandra/lib/commons-codec-1.2.jar:/usr/share/cassandra/lib/commons-lang3-3.1.jar:/usr/share/cassandra/lib/compress-lzf-0.8.4.jar:/usr/share/cassandra/lib/concurrentlinkedhashmap-lru-1.3.jar:/usr/share/cassandra/lib/disruptor-3.0.1.jar:/usr/share/cassandra/lib/guava-15.0.jar:/usr/share/cassandra/lib/high-scale-lib-1.1.2.jar:/usr/share/cassandra/lib/jackson-core-asl-1.9.2.jar:/usr/share/cassandra/lib/jackson-mapper-asl-1.9.2.jar:/usr/share/cassandra/lib/jamm-0.2.5.jar:/usr/share/cassandra/lib/jbcrypt-0.3m.jar:/usr/share/cassandra/lib/jline-1.0.jar:/usr/share/cassandra/lib/json-simple-1.1.jar:/usr/share/cassandra/lib/libthrift-0.9.1.jar:/usr/share/cassandra/lib/log4j-1.2.16.jar:/usr/share/cassandra/lib/lz4-1.2.0.jar:/usr/share/cassandra/lib/metrics-core-2.2.0.jar:/usr/share/cassandra/lib/netty-3.6.6.Final.jar:/usr/share/cassandra/lib/reporter-config-2.1.0.jar:/usr/share/cassandra/lib/servlet-api-2.5-20081211.jar:/usr/share/cassandra/lib/slf4j-api-1.7.2.jar:/usr/share/cassandra/lib/slf4j-log4j12-1.7.2.jar:/usr/share/cassandra/lib/snakeyaml-1.11.jar:/usr/share/cassandra/lib/snappy-java-1.0.5.jar:/usr/share/cassandra/lib/snaptree-0.1.jar:/usr/share/cassandra/lib/super-csv-2.1.0.jar:/usr/share/cassandra/lib/thrift-server-internal-only-0.3.3.jar:/usr/share/cassandra/apache-cassandra-2.0.9.jar:/usr/share/cassandra/apache-cassandra-thrift-2.0.9.jar:/usr/share/cassandra/apache-cassandra.jar:/usr/share/cassandra/stress.jar::/usr/share/cassandra/lib/jamm-0.2.5.jar
>  INFO 01:28:09,839 JNA not found. Native methods will be disabled.
>  INFO 01:28:09,855 Initializing key cache with capacity of 100 MBs.
>  INFO 01:28:09,865 Scheduling key cache save to each 14400 seconds (going to save all
keys).
>  INFO 01:28:09,865 Initializing row cache with capacity of 0 MBs
>  INFO 01:28:09,872 Scheduling row cache save to each 0 seconds (going to save all keys).
>  INFO 01:28:10,028 Initializing system.schema_triggers
> ERROR 01:28:10,051 Exception encountered during startup
> java.lang.RuntimeException: Incompatible SSTable found.  Current version jb is unable
to read file: /var/lib/cassandra/data/system/compaction_history/system-compaction_history-ka-1.
 Please run upgradesstables.
>         at org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:415)
>         at org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:392)
>         at org.apache.cassandra.db.Keyspace.initCf(Keyspace.java:315)
>         at org.apache.cassandra.db.Keyspace.<init>(Keyspace.java:272)
>         at org.apache.cassandra.db.Keyspace.open(Keyspace.java:114)
>         at org.apache.cassandra.db.Keyspace.open(Keyspace.java:92)
>         at org.apache.cassandra.db.SystemKeyspace.checkHealth(SystemKeyspace.java:536)
>         at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:261)
>         at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:496)
>         at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:585)
> java.lang.RuntimeException: Incompatible SSTable found.  Current version jb is unable
to read file: /var/lib/cassandra/data/system/compaction_history/system-compaction_history-ka-1.
 Please run upgradesstables.
>         at org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:415)
>         at org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:392)
>         at org.apache.cassandra.db.Keyspace.initCf(Keyspace.java:315)
>         at org.apache.cassandra.db.Keyspace.<init>(Keyspace.java:272)
>         at org.apache.cassandra.db.Keyspace.open(Keyspace.java:114)
>         at org.apache.cassandra.db.Keyspace.open(Keyspace.java:92)
>         at org.apache.cassandra.db.SystemKeyspace.checkHealth(SystemKeyspace.java:536)
>         at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:261)
>         at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:496)
>         at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:585)
> Exception encountered during startup: Incompatible SSTable found.  Current version jb
is unable to read file: /var/lib/cassandra/data/system/compaction_history/system-compaction_history-ka-1.
 Please run upgradesstables.
> The /var/lib/cassandra/data/system/compaction_history/system-compaction_history-ka-1
file not exist and is imposible to run nodetool to do ugradesstables.



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

Mime
View raw message