cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Lerer (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CASSANDRA-13072) Cassandra failed to run on Linux-aarch64
Date Tue, 30 May 2017 14:13:04 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-13072?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16029437#comment-16029437
] 

Benjamin Lerer edited comment on CASSANDRA-13072 at 5/30/17 2:12 PM:
---------------------------------------------------------------------

bq. More importantly, I thought we didn't upgrade the dependencies until major revs, which
in this case would be 3.11 and 4.0 (trunk).

In case of problem like this one where some people cannot even start C*, I think it really
makes sense to allow it. 


was (Author: blerer):
bq. More importantly, I thought we didn't upgrade the dependencies until major revs, which
in this case would be 3.11 and 4.0 (trunk).

In case of problem like this one were some people cannot even start C*, I think it really
make sense to allow it. 

> Cassandra failed to run on Linux-aarch64
> ----------------------------------------
>
>                 Key: CASSANDRA-13072
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13072
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>         Environment: Hardware: ARM aarch64
> OS: Ubuntu 16.04.1 LTS
>            Reporter: Jun He
>            Assignee: Benjamin Lerer
>              Labels: incompatible
>         Attachments: compat_report.html
>
>
> Steps to reproduce:
> 1. Download cassandra latest source
> 2. Build it with "ant"
> 3. Run with "./bin/cassandra". Daemon is crashed with following error message:
> {quote}
> INFO  05:30:21 Initializing system.schema_functions
> INFO  05:30:21 Initializing system.schema_aggregates
> ERROR 05:30:22 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:97)
~[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:316)
~[main/:na]
>         at org.apache.cassandra.io.compress.CompressionMetadata$Writer.open(CompressionMetadata.java:330)
~[main/:na]
>         at org.apache.cassandra.io.compress.CompressedSequentialWriter.<init>(CompressedSequentialWriter.java:76)
~[main/:na]
>         at org.apache.cassandra.io.util.SequentialWriter.open(SequentialWriter.java:163)
~[main/:na]
>         at org.apache.cassandra.io.sstable.format.big.BigTableWriter.<init>(BigTableWriter.java:73)
~[main/:na]
>         at org.apache.cassandra.io.sstable.format.big.BigFormat$WriterFactory.open(BigFormat.java:93)
~[main/:na]
>         at org.apache.cassandra.io.sstable.format.SSTableWriter.create(SSTableWriter.java:96)
~[main/:na]
>         at org.apache.cassandra.io.sstable.SimpleSSTableMultiWriter.create(SimpleSSTableMultiWriter.java:114)
~[main/:na]
>         at org.apache.cassandra.db.compaction.AbstractCompactionStrategy.createSSTableMultiWriter(AbstractCompactionStrategy.java:519)
~[main/:na]
>         at org.apache.cassandra.db.compaction.CompactionStrategyManager.createSSTableMultiWriter(CompactionStrategyManager.java:497)
~[main/:na]
>         at org.apache.cassandra.db.ColumnFamilyStore.createSSTableMultiWriter(ColumnFamilyStore.java:480)
~[main/:na]
>         at org.apache.cassandra.db.Memtable.createFlushWriter(Memtable.java:439) ~[main/:na]
>         at org.apache.cassandra.db.Memtable.writeSortedContents(Memtable.java:371) ~[main/:na]
>         at org.apache.cassandra.db.Memtable.flush(Memtable.java:332) ~[main/:na]
>         at org.apache.cassandra.db.ColumnFamilyStore$Flush.run(ColumnFamilyStore.java:1054)
~[main/:na]
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
~[na:1.8.0_111]
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
~[na:1.8.0_111]
>         at java.lang.Thread.run(Thread.java:745) ~[na:1.8.0_111]
> {quote}
> Analyze:
> This issue is caused by bundled jna-4.0.0.jar which doesn't come with aarch64 native
support. Replace lib/jna-4.0.0.jar with jna-4.2.0.jar from http://central.maven.org/maven2/net/java/dev/jna/jna/4.2.0/
can fix this problem.
> Attached is the binary compatibility report of jna.jar between 4.0 and 4.2. The result
is good (97.4%). So is there possibility to upgrade jna to 4.2.0 in upstream? Should there
be any kind of tests to execute, please kindly point me. Thanks a lot.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org


Mime
View raw message