You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Michael Semb Wever (Jira)" <ji...@apache.org> on 2020/11/12 08:48:00 UTC

[jira] [Comment Edited] (CASSANDRA-16212) Cassandra version above 3.11.0 failing for ARM64

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

Michael Semb Wever edited comment on CASSANDRA-16212 at 11/12/20, 8:47 AM:
---------------------------------------------------------------------------

Upgrading the JNA library can cause problems with installations on different platforms because of its dependency on glibc. Past [discussions|https://issues.apache.org/jira/browse/CASSANDRA-13072] on this land on not upgrading the dependency in patch versions. Furthermore the project does not support non-x84/64 architectures, see [this discussion|https://issues.apache.org/jira/browse/CASSANDRA-13326?focusedCommentId=15924074&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15924074], we just don't have the test infrastructure coverage.

The fix version for this then is only 4.0. 
Patch for that is at https://github.com/apache/cassandra/compare/trunk...thelastpickle:mck/trunk_16212
CI [here|https://ci-cassandra.apache.org/blue/organizations/jenkins/Cassandra-devbranch/detail/Cassandra-devbranch/194/pipeline].
The patch also removes comments/docs to {{`-Dcassandra.boot_without_jna`}} which was removed in CASSANDRA-9573.

For older versions and installations the recommended workaround is downloading the 5.6.0 JNA jar and placing it into the classpath ({{lib/}}), removing {{jna-4.2.2.jar}} in the process.


was (Author: michaelsembwever):
Upgrading the JNA library can cause problems with installations on different platforms because of its dependency on glibc. Past [discussions|https://issues.apache.org/jira/browse/CASSANDRA-13072] on this land on not upgrading the dependency in patch versions. Furthermore the project does not support non-x84/64 architectures, see [this discussion|https://issues.apache.org/jira/browse/CASSANDRA-13326?focusedCommentId=15924074&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15924074], we just don't have the test infrastructure coverage.

The fix version for this then is only 4.0. 
Patch for that is at https://github.com/apache/cassandra/compare/trunk...thelastpickle:mck/trunk_16212
CI [here|https://ci-cassandra.apache.org/blue/organizations/jenkins/Cassandra-devbranch/detail/Cassandra-devbranch/193/pipeline].
The patch also removes comments/docs to {{`-Dcassandra.boot_without_jna`}} which was removed in CASSANDRA-9573.

For older versions and installations the recommended workaround is downloading the 5.6.0 JNA jar and placing it into the classpath ({{lib/}}), removing {{jna-4.2.2.jar}} in the process.

> Cassandra version above 3.11.0 failing for ARM64 
> -------------------------------------------------
>
>                 Key: CASSANDRA-16212
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-16212
>             Project: Cassandra
>          Issue Type: Task
>            Reporter: odidev
>            Assignee: Michael Semb Wever
>            Priority: Normal
>             Fix For: 4.0.x
>
>         Attachments: crash.txt
>
>
> Cassandra versions above 3.11.0 are failing on ARM64 platform with below issue:
> java.lang.UnsatisfiedLinkError: /tmp/jna-3506402/jna3214742498288082263.tmp: *Error loading shared library ld-linux-aarch64.so.1: No such file or directory (needed by /tmp/jna-3506402/jna3214742498288082263.tmp)*



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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