[
https://issues.apache.org/jira/browse/CASSANDRA-17019?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17428130#comment-17428130
]
Yuqi Gu edited comment on CASSANDRA-17019 at 10/13/21, 10:12 AM:
-----------------------------------------------------------------
The snappy-java-1.1.2.6.jar could be found in:
{code:java}
cassandra/build/lib/jars{code}
I add this path to CLASS_PATH and add flag:
{{-Dorg.xerial.snappy.lib.name=libsnappyjava.jnilib
-Dorg.xerial.snappy.tempdir=/tmp}}
But also failed in test case for "SnappyCompressor.create() threw an error:
java.lang.NoClassDefFoundError....".
was (Author: yqgu):
The snappy-java-1.1.2.6.jar could be found in:
{code:java}
cassandra/build/lib/jars{code}
I add this path to CLASS_PATH and add flag: {{}}
{{-Dorg.xerial.snappy.lib.name=libsnappyjava.jnilib
-Dorg.xerial.snappy.tempdir=/tmp}}
But also failed in test case for "SnappyCompressor.create() threw an error:
java.lang.NoClassDefFoundError....".
> JNA 5.6.0 does not support arm64
> --------------------------------
>
> Key: CASSANDRA-17019
> URL: https://issues.apache.org/jira/browse/CASSANDRA-17019
> Project: Cassandra
> Issue Type: Bug
> Components: Dependencies
> Reporter: Igamr Palsenberg
> Assignee: Stefan Miklosovic
> Priority: Normal
> Fix For: 4.1
>
> Attachments: cassandra_UTs.txt
>
>
> Cassandra depends on net.java.dev.jna.jna version 5.6.0 to do the native
> binding into the C library.
> JNA 5.6.0 does not support arm64 architecture (Apple M1 devices), causing
> cassandra to fail on bootstrap.
> Bumping the dependency to 5.9.0 adds arm64 support. Will a PR to bump the
> dependency be acceptable ?
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]