StorageGRID reports Exception encountered during startup from cassandra service
Applies to
StorageGRID Webscale 10.3
Issue
The following errors are seen when booting a storage node in /var/local/log/cassandra/system.log
:
INFO [StorageServiceShutdownHook] 2018-01-15 01:23:53,912 MessagingService.java (line 731) Waiting for messaging service to quiesce
INFO [ACCEPT-localhost-grid/<IP_ADDR>] 2018-01-15 01:23:53,915 MessagingService.java (line 1001) MessagingService has terminated the accept() thread
.......
INFO [main] 2018-01-15 01:24:00,220 CassandraDaemon.java (line 141) Logging initialized
......
INFO [main] 2018-01-15 01:24:04,768 ColumnFamilyStore.java (line 263) Initializing system.range_xfers
INFO [main] 2018-01-15 01:24:04,771 ColumnFamilyStore.java (line 263) Initializing system.schema_keyspaces
INFO [SSTableBatchOpen:1] 2018-01-15 01:24:04,772 SSTableReader.java (line 239) Opening /var/local/cassandra/data/0/system/schema_keyspaces/system-schema_keyspaces-jb-77 (376 bytes)
ERROR [main] 2018-01-15 01:24:05,897 CassandraDaemon.java (line 571) Exception encountered during startup
java.lang.NegativeArraySizeException
at org.apache.cassandra.utils.EstimatedHistogram$EstimatedHistogramSerializer.deserialize(EstimatedHistogram.java:335)
at org.apache.cassandra.io.sstable.SSTableMetadata$SSTableMetadataSerializer.deserialize(SSTableMetadata.java:463)
at org.apache.cassandra.io.sstable.SSTableMetadata$SSTableMetadataSerializer.deserialize(SSTableMetadata.java:448)
at org.apache.cassandra.io.sstable.SSTableMetadata$SSTableMetadataSerializer.deserialize(SSTableMetadata.java:432)
at org.apache.cassandra.db.ColumnFamilyStore.removeUnfinishedCompactionLeftovers(ColumnFamilyStore.java:558)
at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:344)
at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:554)
at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:643)