cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ionut Chisanovici (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-11232) CentOS 7.1 cassandra startup - Exception in thread
Date Thu, 25 Feb 2016 11:12:18 GMT
Ionut Chisanovici created CASSANDRA-11232:
---------------------------------------------

             Summary: CentOS 7.1 cassandra startup - Exception in thread
                 Key: CASSANDRA-11232
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-11232
             Project: Cassandra
          Issue Type: Bug
            Reporter: Ionut Chisanovici


Hi,

I'm having issues in starting cassandra30 on a CentOS 7.1 box.
Below is the error:
ERROR 10:54:28 Exception in thread Thread[MemtableFlushWriter:1,5,main]
java.lang.NoClassDefFoundError: Could not initialize class com.sun.jna.Native
	at org.apache.cassandra.utils.memory.MemoryUtil.allocate(MemoryUtil.java:95) ~[apache-cassandra-3.0.3.jar:3.0.3]
	at org.apache.cassandra.io.util.Memory.<init>(Memory.java:74) ~[apache-cassandra-3.0.3.jar:3.0.3]
	at org.apache.cassandra.io.util.SafeMemory.<init>(SafeMemory.java:32) ~[apache-cassandra-3.0.3.jar:3.0.3]
	at org.apache.cassandra.io.compress.CompressionMetadata$Writer.<init>(CompressionMetadata.java:316)
~[apache-cassandra-3.0.3.jar:3.0.3]
	at org.apache.cassandra.io.compress.CompressionMetadata$Writer.open(CompressionMetadata.java:330)
~[apache-cassandra-3.0.3.jar:3.0.3]
	at org.apache.cassandra.io.compress.CompressedSequentialWriter.<init>(CompressedSequentialWriter.java:76)
~[apache-cassandra-3.0.3.jar:3.0.3]
	at org.apache.cassandra.io.util.SequentialWriter.open(SequentialWriter.java:163) ~[apache-cassandra-3.0.3.jar:3.0.3]
	at org.apache.cassandra.io.sstable.format.big.BigTableWriter.<init>(BigTableWriter.java:73)
~[apache-cassandra-3.0.3.jar:3.0.3]
	at org.apache.cassandra.io.sstable.format.big.BigFormat$WriterFactory.open(BigFormat.java:93)
~[apache-cassandra-3.0.3.jar:3.0.3]
	at org.apache.cassandra.io.sstable.format.SSTableWriter.create(SSTableWriter.java:96) ~[apache-cassandra-3.0.3.jar:3.0.3]
	at org.apache.cassandra.io.sstable.SimpleSSTableMultiWriter.create(SimpleSSTableMultiWriter.java:114)
~[apache-cassandra-3.0.3.jar:3.0.3]
	at org.apache.cassandra.db.compaction.AbstractCompactionStrategy.createSSTableMultiWriter(AbstractCompactionStrategy.java:514)
~[apache-cassandra-3.0.3.jar:3.0.3]
	at org.apache.cassandra.db.compaction.CompactionStrategyManager.createSSTableMultiWriter(CompactionStrategyManager.java:506)
~[apache-cassandra-3.0.3.jar:3.0.3]
	at org.apache.cassandra.db.ColumnFamilyStore.createSSTableMultiWriter(ColumnFamilyStore.java:472)
~[apache-cassandra-3.0.3.jar:3.0.3]
	at org.apache.cassandra.db.Memtable$FlushRunnable.createFlushWriter(Memtable.java:441) ~[apache-cassandra-3.0.3.jar:3.0.3]
	at org.apache.cassandra.db.Memtable$FlushRunnable.writeSortedContents(Memtable.java:375)
~[apache-cassandra-3.0.3.jar:3.0.3]
	at org.apache.cassandra.db.Memtable$FlushRunnable.runMayThrow(Memtable.java:361) ~[apache-cassandra-3.0.3.jar:3.0.3]
	at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28) ~[apache-cassandra-3.0.3.jar:3.0.3]
	at com.google.common.util.concurrent.MoreExecutors$DirectExecutorService.execute(MoreExecutors.java:299)
~[guava-18.0.jar:na]
	at org.apache.cassandra.db.ColumnFamilyStore$Flush.run(ColumnFamilyStore.java:1037) ~[apache-cassandra-3.0.3.jar:3.0.3]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) ~[na:1.8.0_31]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) ~[na:1.8.0_31]
	at java.lang.Thread.run(Thread.java:745) ~[na:1.8.0_31]

OS informations:
# cat /etc/redhat-release
CentOS Linux release 7.1.1503 (Core)
# java -version
openjdk version "1.8.0_31"
OpenJDK Runtime Environment (build 1.8.0_31-b13)
OpenJDK 64-Bit Server VM (build 25.31-b07, mixed mode)

Cassandra installation was done from the official datastax.repo:
yum install dsc30 cassandra30-tools

Thank you,
Ionut



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

Mime
View raw message