This is an automated email from the ASF dual-hosted git repository.

djoshi pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/cassandra.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 2043cb9  Upgrade Snappy and JNA version to support Apple M1
2043cb9 is described below

commit 2043cb9fb6b25ff34afb90467b9476a09acc3933
Author: Yuqi Gu <guy...@apache.org>
AuthorDate: Thu Oct 14 02:47:10 2021 +0000

    Upgrade Snappy and JNA version to support Apple M1
    
    Patch-By Yuqi Gu; Reviewed by Dinesh Joshi and Yifan Cai for CASSANDRA-17040
---
 CHANGES.txt | 2 ++
 NEWS.txt    | 2 ++
 build.xml   | 4 ++--
 3 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/CHANGES.txt b/CHANGES.txt
index 983d9b6..336ae65 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -72,6 +72,8 @@
  * Add isolated flush timer to CommitLogMetrics and ensure writes correspond 
to single WaitingOnCommit data points (CASSANDRA-16701)
  * Add a system property to set hostId if not yet initialized (CASSANDRA-14582)
  * GossiperTest.testHasVersion3Nodes didn't take into account trunk version 
changes, fixed to rely on latest version (CASSANDRA-16651)
+ * Update JNA library to 5.9.0 and snappy-java to version 1.1.8.4 
(CASSANDRA-17040)
+
 Merged from 4.0:
  * Update ant-junit to version 1.10.12 (CASSANDRA-17218)
  * Add droppable tombstone metrics to nodetool tablestats (CASSANDRA-16308)
diff --git a/NEWS.txt b/NEWS.txt
index 07ee8a4..b46fb56 100644
--- a/NEWS.txt
+++ b/NEWS.txt
@@ -83,6 +83,8 @@ Upgrading
       confirm it is set to value lower than 31 otherwise Cassandra will fail 
to start. See CASSANDRA-9384
       for further details. You also need to regenerate passwords for users for 
who the password
       was created while the above property was set to be more than 30 
otherwise they will not be able to log in.
+    - JNA library was updated from 5.6.0 to 5.9.0. In version 5.7.0, Darwin 
support for M1 devices
+      was fixed but prebuild native library for Darwin x86 (32bit Java on Mac 
OS) was removed.
 
 Deprecation
 -----------
diff --git a/build.xml b/build.xml
index 3f735ae..21e8739 100644
--- a/build.xml
+++ b/build.xml
@@ -492,7 +492,7 @@
         <license name="The Apache Software License, Version 2.0" 
url="https://www.apache.org/licenses/LICENSE-2.0.txt"/>
         <scm connection="${scm.connection}" 
developerConnection="${scm.developerConnection}" url="${scm.url}"/>
         <dependencyManagement>
-          <dependency groupId="org.xerial.snappy" artifactId="snappy-java" 
version="1.1.2.6"/>
+          <dependency groupId="org.xerial.snappy" artifactId="snappy-java" 
version="1.1.8.4"/>
           <dependency groupId="org.lz4" artifactId="lz4-java" version="1.8.0"/>
           <dependency groupId="com.ning" artifactId="compress-lzf" 
version="0.8.4" scope="provided"/>
           <dependency groupId="com.github.luben" artifactId="zstd-jni" 
version="1.5.0-4"/>
@@ -556,7 +556,7 @@
             <exclusion groupId="org.codehaus.jackson" 
artifactId="jackson-mapper-asl"/>
             <exclusion groupId="org.slf4j" artifactId="slf4j-api"/>
           </dependency>
-          <dependency groupId="net.java.dev.jna" artifactId="jna" 
version="5.6.0"/>
+          <dependency groupId="net.java.dev.jna" artifactId="jna" 
version="5.9.0"/>
 
           <dependency groupId="org.jacoco" artifactId="org.jacoco.agent" 
version="${jacoco.version}" scope="test"/>
           <dependency groupId="org.jacoco" artifactId="org.jacoco.ant" 
version="${jacoco.version}" scope="test">

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

Reply via email to