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-5934) Startup fails with cryptic error message
Date Tue, 29 Jul 2014 17:16:39 GMT

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

Michael Shuler resolved CASSANDRA-5934.
---------------------------------------

    Resolution: Cannot Reproduce

Closing as can't repro.  If you can come up with concrete repoduction steps on the latest
1.2.x/2.0.x versions, feel free to re-open.  Thanks!

> Startup fails with cryptic error message
> ----------------------------------------
>
>                 Key: CASSANDRA-5934
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5934
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Jacob Rhoden
>
> Cassandra was down this morning, I wasn't sure why, but starting it up now fails with
the following error:
>  INFO 04:45:53,973 Data files directories: [/tap/db/data]
>  INFO 04:45:53,973 Commit log directory: /tap/db/commitlog
>  INFO 04:45:53,974 DiskAccessMode 'auto' determined to be mmap, indexAccessMode is mmap
>  INFO 04:45:53,974 disk_failure_policy is stop
>  INFO 04:45:53,989 Global memtable threshold is enabled at 96MB
>  INFO 04:45:54,209 Not using multi-threaded compaction
>  INFO 04:45:54,890 Initializing key cache with capacity of 14 MBs.
>  INFO 04:45:54,904 Scheduling key cache save to each 14400 seconds (going to save all
keys).
>  INFO 04:45:54,906 Initializing row cache with capacity of 0 MBs and provider org.apache.cassandra.cache.SerializingCacheProvider
>  INFO 04:45:54,916 Scheduling row cache save to each 0 seconds (going to save all keys).
>  INFO 04:45:55,180 Opening /tap/db/data/system/schema_keyspaces/system-schema_keyspaces-ic-5
(347 bytes)
>  INFO 04:45:55,181 Opening /tap/db/data/system/schema_keyspaces/system-schema_keyspaces-ic-5
(347 bytes)
>  INFO 04:45:55,245 reading saved cache /tap/db/saved_caches/system-schema_keyspaces-KeyCache-b.db
>  INFO 04:45:55,319 Opening /tap/db/data/system/schema_columnfamilies/system-schema_columnfamilies-ic-81
(14515 bytes)
>  INFO 04:45:55,319 Opening /tap/db/data/system/schema_columnfamilies/system-schema_columnfamilies-ic-81
(14515 bytes)
>  INFO 04:45:55,326 reading saved cache /tap/db/saved_caches/system-schema_columnfamilies-KeyCache-b.db
>  INFO 04:45:55,342 Opening /tap/db/data/system/schema_columns/system-schema_columns-ic-74
(208 bytes)
>  INFO 04:45:55,343 Opening /tap/db/data/system/schema_columns/system-schema_columns-ic-74
(208 bytes)
>  INFO 04:45:55,350 Opening /tap/db/data/system/schema_columns/system-schema_columns-ic-75
(207 bytes)
>  INFO 04:45:55,351 Opening /tap/db/data/system/schema_columns/system-schema_columns-ic-75
(207 bytes)
>  INFO 04:45:55,354 Opening /tap/db/data/system/schema_columns/system-schema_columns-ic-73
(208 bytes)
>  INFO 04:45:55,354 Opening /tap/db/data/system/schema_columns/system-schema_columns-ic-73
(208 bytes)
>  INFO 04:45:55,357 Opening /tap/db/data/system/schema_columns/system-schema_columns-ic-72
(9060 bytes)
>  INFO 04:45:55,357 Opening /tap/db/data/system/schema_columns/system-schema_columns-ic-72
(9060 bytes)
>  INFO 04:45:55,362 reading saved cache /tap/db/saved_caches/system-schema_columns-KeyCache-b.db
>  INFO 04:45:55,423 Opening /tap/db/data/system/IndexInfo/system-IndexInfo-ic-25 (396
bytes)
>  INFO 04:45:55,424 Opening /tap/db/data/system/IndexInfo/system-IndexInfo-ic-25 (396
bytes)
>  INFO 04:45:55,430 reading saved cache /tap/db/saved_caches/system-IndexInfo-KeyCache-b.db
>  INFO 04:45:55,449 Opening /tap/db/data/system/local/system-local-ic-12 (105 bytes)
>  INFO 04:45:55,455 Opening /tap/db/data/system/local/system-local-ic-12 (105 bytes)
>  INFO 04:45:55,461 Opening /tap/db/data/system/local/system-local-ic-10 (82 bytes)
>  INFO 04:45:55,469 Opening /tap/db/data/system/local/system-local-ic-10 (82 bytes)
>  INFO 04:45:55,471 Opening /tap/db/data/system/local/system-local-ic-11 (528 bytes)
>  INFO 04:45:55,475 Opening /tap/db/data/system/local/system-local-ic-11 (528 bytes)
>  INFO 04:45:55,482 reading saved cache /tap/db/saved_caches/system-local-KeyCache-b.db
>  INFO 04:45:57,615 reading saved cache /tap/db/saved_caches/tap-audit_event-KeyCache-b.db
>  INFO 04:45:57,717 completed pre-loading (16 keys) key cache.
>  INFO 04:45:57,741 Replaying /tap/db/commitlog/CommitLog-2-1376599578986.log, /tap/db/commitlog/CommitLog-2-1376599578987.log,
/tap/db/commitlog/CommitLog-2-1377405665599.log, /tap/db/commitlog/CommitLog-2-1377405697477.log,
/tap/db/commitlog/CommitLog-2-1377405840146.log
>  INFO 04:45:57,771 Replaying /tap/db/commitlog/CommitLog-2-1376599578986.log
>  INFO 04:45:58,032 Finished reading /tap/db/commitlog/CommitLog-2-1376599578986.log
> ERROR 04:45:58,033 Exception encountered during startup
> java.lang.IndexOutOfBoundsException
> 	at java.nio.Buffer.checkIndex(Unknown Source)
> 	at java.nio.HeapByteBuffer.get(Unknown Source)
> 	at org.apache.cassandra.db.marshal.TimeUUIDType.compareTimestampBytes(TimeUUIDType.java:68)
> 	at org.apache.cassandra.db.marshal.TimeUUIDType.compare(TimeUUIDType.java:57)
> 	at org.apache.cassandra.db.marshal.TimeUUIDType.compare(TimeUUIDType.java:29)
> 	at org.apache.cassandra.db.marshal.AbstractType.compareCollectionMembers(AbstractType.java:229)
> 	at org.apache.cassandra.db.marshal.AbstractCompositeType.compare(AbstractCompositeType.java:81)
> 	at org.apache.cassandra.db.marshal.AbstractCompositeType.compare(AbstractCompositeType.java:31)
> 	at java.util.TreeMap.put(Unknown Source)
> 	at org.apache.cassandra.db.TreeMapBackedSortedColumns.addColumn(TreeMapBackedSortedColumns.java:102)
> 	at org.apache.cassandra.db.TreeMapBackedSortedColumns.addColumn(TreeMapBackedSortedColumns.java:88)
> 	at org.apache.cassandra.db.AbstractColumnContainer.addColumn(AbstractColumnContainer.java:119)
> 	at org.apache.cassandra.db.AbstractColumnContainer.addColumn(AbstractColumnContainer.java:114)
> 	at org.apache.cassandra.db.ColumnFamilySerializer.deserialize(ColumnFamilySerializer.java:101)
> 	at org.apache.cassandra.db.RowMutation$RowMutationSerializer.deserialize(RowMutation.java:402)
> 	at org.apache.cassandra.db.commitlog.CommitLogReplayer.recover(CommitLogReplayer.java:202)
> 	at org.apache.cassandra.db.commitlog.CommitLogReplayer.recover(CommitLogReplayer.java:97)
> 	at org.apache.cassandra.db.commitlog.CommitLog.recover(CommitLog.java:146)
> 	at org.apache.cassandra.db.commitlog.CommitLog.recover(CommitLog.java:126)
> 	at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:304)
> 	at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:447)
> 	at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:490)
> java.lang.IndexOutOfBoundsException
> 	at java.nio.Buffer.checkIndex(Unknown Source)
> 	at java.nio.HeapByteBuffer.get(Unknown Source)
> 	at org.apache.cassandra.db.marshal.TimeUUIDType.compareTimestampBytes(TimeUUIDType.java:68)
> 	at org.apache.cassandra.db.marshal.TimeUUIDType.compare(TimeUUIDType.java:57)
> 	at org.apache.cassandra.db.marshal.TimeUUIDType.compare(TimeUUIDType.java:29)
> 	at org.apache.cassandra.db.marshal.AbstractType.compareCollectionMembers(AbstractType.java:229)
> 	at org.apache.cassandra.db.marshal.AbstractCompositeType.compare(AbstractCompositeType.java:81)
> 	at org.apache.cassandra.db.marshal.AbstractCompositeType.compare(AbstractCompositeType.java:31)
> 	at java.util.TreeMap.put(Unknown Source)
> 	at org.apache.cassandra.db.TreeMapBackedSortedColumns.addColumn(TreeMapBackedSortedColumns.java:102)
> 	at org.apache.cassandra.db.TreeMapBackedSortedColumns.addColumn(TreeMapBackedSortedColumns.java:88)
> 	at org.apache.cassandra.db.AbstractColumnContainer.addColumn(AbstractColumnContainer.java:119)
> 	at org.apache.cassandra.db.AbstractColumnContainer.addColumn(AbstractColumnContainer.java:114)
> 	at org.apache.cassandra.db.ColumnFamilySerializer.deserialize(ColumnFamilySerializer.java:101)
> 	at org.apache.cassandra.db.RowMutation$RowMutationSerializer.deserialize(RowMutation.java:402)
> 	at org.apache.cassandra.db.commitlog.CommitLogReplayer.recover(CommitLogReplayer.java:202)
> 	at org.apache.cassandra.db.commitlog.CommitLogReplayer.recover(CommitLogReplayer.java:97)
> 	at org.apache.cassandra.db.commitlog.CommitLog.recover(CommitLog.java:146)
> 	at org.apache.cassandra.db.commitlog.CommitLog.recover(CommitLog.java:126)
> 	at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:304)
> 	at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:447)
> 	at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:490)
> Exception encountered during startup: null



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

Mime
View raw message