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 A998D200C86 for ; Wed, 31 May 2017 15:29:08 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id A8364160BDE; Wed, 31 May 2017 13:29:08 +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 EF8A2160BBA for ; Wed, 31 May 2017 15:29:07 +0200 (CEST) Received: (qmail 85453 invoked by uid 500); 31 May 2017 13:29:07 -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 85442 invoked by uid 99); 31 May 2017 13:29:07 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 May 2017 13:29:07 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id B68B5180370 for ; Wed, 31 May 2017 13:29:06 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.502 X-Spam-Level: X-Spam-Status: No, score=-99.502 tagged_above=-999 required=6.31 tests=[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 (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id wPYfqGI57sxl for ; Wed, 31 May 2017 13:29:05 +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 433705FD29 for ; Wed, 31 May 2017 13:29:05 +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 9BF9FE01D9 for ; Wed, 31 May 2017 13:29:04 +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 55C3F21B55 for ; Wed, 31 May 2017 13:29:04 +0000 (UTC) Date: Wed, 31 May 2017 13:29:04 +0000 (UTC) From: "Benjamin Lerer (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (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: Wed, 31 May 2017 13:29:08 -0000 [ https://issues.apache.org/jira/browse/CASSANDRA-13072?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benjamin Lerer updated CASSANDRA-13072: --------------------------------------- Resolution: Fixed Status: Resolved (was: Ready to Commit) Committed into 2.2 at a2f742cd633ddd650b65f841c50ee96ee1da0ef5 and merged into 3.0, 3.11 and trunk. The commit into 2.2 as then been reverted as discussed in the ticket at 8405f7366f8881951f76c5899cfa699063db7378 > 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