Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 8DF5E200C85 for ; Tue, 30 May 2017 15:00:10 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 8C715160BC9; Tue, 30 May 2017 13:00:10 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id D33DD160BC1 for ; Tue, 30 May 2017 15:00:09 +0200 (CEST) Received: (qmail 15256 invoked by uid 500); 30 May 2017 13:00:09 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 15245 invoked by uid 99); 30 May 2017 13:00:08 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 May 2017 13:00:08 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 94470C02C8 for ; Tue, 30 May 2017 13:00:08 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -98.702 X-Spam-Level: X-Spam-Status: No, score=-98.702 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_NUMSUBJECT=0.5, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id QJa32iB9ck5M for ; Tue, 30 May 2017 13:00:07 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 17F4C5F295 for ; Tue, 30 May 2017 13:00:07 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 84191E073A for ; Tue, 30 May 2017 13:00:06 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 3C8C821B58 for ; Tue, 30 May 2017 13:00:06 +0000 (UTC) Date: Tue, 30 May 2017 13:00:06 +0000 (UTC) From: "Jason Brown (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-13072) Cassandra failed to run on Linux-aarch64 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 30 May 2017 13:00:10 -0000 [ https://issues.apache.org/jira/browse/CASSANDRA-13072?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16029389#comment-16029389 ] Jason Brown commented on CASSANDRA-13072: ----------------------------------------- fwiw, we upgraded to jna 4.3 in CASSANDRA-13300. 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). [~iamaleksey], what do you think about upgrading on 2.2 & 3.0? > 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.(Memory.java:74) ~[main/:na] > at org.apache.cassandra.io.util.SafeMemory.(SafeMemory.java:32) ~[main/:na] > at org.apache.cassandra.io.compress.CompressionMetadata$Writer.(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.(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.(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