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

Ekaterina Dimitrova edited comment on CASSANDRA-18992 at 11/1/23 8:56 PM:
--------------------------------------------------------------------------

My understanding is that we want the exclusion so that ohc uses the newer 
version of JNA we provide to Cassandra. 

[~mmuzaf] , to be on the safe side, do you mind to run the ohc tests in its 
repo with the bumped JNA version, please? (From the commit which points to the 
ohc version we are on in C*)

 

Looking into the ohc dependencies, I am not sure also about asm which was 
bumped in C* to accommodate newer JDK version.

[~aweisberg], do you mind to take a look, too?


was (Author: e.dimitrova):
My understanding is that we want the exclusion so that ohc uses the newer 
version of JNA we provide to Cassandra. 

[~mmuzaf] , to be on the safe side, do you mind to run the ohc tests in its 
repo with the bumped JNA version, please? (From the commit which points to the 
ohc version we are on)

 

Looking into the ohc dependencies, I am not sure also about asm which was 
bumped in C* to accommodate newer JDK version.

[~aweisberg], do you mind to take a look, too?

> Exclude jna transitive dependecy from the ohc library
> -----------------------------------------------------
>
>                 Key: CASSANDRA-18992
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-18992
>             Project: Cassandra
>          Issue Type: Task
>          Components: Dependencies
>            Reporter: Maxim Muzafarov
>            Assignee: Maxim Muzafarov
>            Priority: Normal
>             Fix For: 5.0.x, 5.x
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> The concern is related to the JNA dependency on the ohc library. We are now 
> using version 0.5.1 of the ohc library in Cassandra. The ohc 0.5.1 depends on 
> version 4.1.0 of the net.java.dev.jna . For the Cassandra project, JNA has 
> been updated since the 4.0 release version up to JNA 5.6.0 in CASSANDRA-16212 
> to support running nodes on the arm64 architecture, so I assume that JNA 
> 4.1.0 is no longer in Casssandra's classpath. 
> The common practice in the Cassandra project is to exclude these kinds of 
> transitive dependencies when they are explicitly mentioned in the main parent 
> pom, since Ant may resolve them incorrectly. See comment:
> https://issues.apache.org/jira/browse/CASSANDRA-14667?focusedCommentId=17765091&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-17765091



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to