You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "naresh (JIRA)" <ji...@apache.org> on 2015/05/22 13:51:17 UTC
[jira] [Created] (CASSANDRA-9456) while starting cassandra using
cassandra -f ; encountered an errror ERROR 11:46:42 Exception in thread
Thread[MemtableFlushWriter:1,5,main]
naresh created CASSANDRA-9456:
---------------------------------
Summary: while starting cassandra using cassandra -f ; encountered an errror ERROR 11:46:42 Exception in thread Thread[MemtableFlushWriter:1,5,main]
Key: CASSANDRA-9456
URL: https://issues.apache.org/jira/browse/CASSANDRA-9456
Project: Cassandra
Issue Type: Bug
Components: Config
Environment: ubuntu14.10
Reporter: naresh
Fix For: 3.x
I am using openjdk7 and build cassandra successfully using source code from github(https://github.com/apache/cassandra.git)
afer successfuly I set the path for cassandra
and tried to start using cassandra -f
below is the errror encountered while startup
INFO 11:46:42 Token metadata:
INFO 11:46:42 Enqueuing flush of local: 653 (0%) on-heap, 0 (0%) off-heap
INFO 11:46:42 Writing Memtable-local@1257824677(110 serialized bytes, 3 ops, 0%/0% of on/off-heap limit)
ERROR 11:46:42 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:82) ~[main/:na]
at org.apache.cassandra.io.util.Memory.<init>(Memory.java:74) ~[main/:na]
at org.apache.cassandra.io.util.SafeMemory.<init>(SafeMemory.java:32) ~[main/:na]
at org.apache.cassandra.io.compress.CompressionMetadata$Writer.<init>(CompressionMetadata.java:274) ~[main/:na]
at org.apache.cassandra.io.compress.CompressionMetadata$Writer.open(CompressionMetadata.java:288) ~[main/:na]
at org.apache.cassandra.io.compress.CompressedSequentialWriter.<init>(CompressedSequentialWriter.java:75) ~[main/:na]
at org.apache.cassandra.io.util.SequentialWriter.open(SequentialWriter.java:168) ~[main/:na]
at org.apache.cassandra.io.sstable.format.big.BigTableWriter.<init>(BigTableWriter.java:74) ~[main/:na]
at org.apache.cassandra.io.sstable.format.big.BigFormat$WriterFactory.open(BigFormat.java:107) ~[main/:na]
at org.apache.cassandra.io.sstable.format.SSTableWriter.create(SSTableWriter.java:84) ~[main/:na]
at org.apache.cassandra.db.Memtable$FlushRunnable.createFlushWriter(Memtable.java:396) ~[main/:na]
at org.apache.cassandra.db.Memtable$FlushRunnable.writeSortedContents(Memtable.java:343) ~[main/:na]
at org.apache.cassandra.db.Memtable$FlushRunnable.runMayThrow(Memtable.java:328) ~[main/:na]
at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28) ~[main/:na]
at com.google.common.util.concurrent.MoreExecutors$SameThreadExecutorService.execute(MoreExecutors.java:297) ~[guava-16.0.jar:na]
at org.apache.cassandra.db.ColumnFamilyStore$Flush.run(ColumnFamilyStore.java:1085) ~[main/:na]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) ~[na:1.7.0_79]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) ~[na:1.7.0_79]
at java.lang.Thread.run(Thread.java:745) ~[na:1.7.0_79]
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)