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

Maxim Muzafarov commented on CASSANDRA-18992:
---------------------------------------------

[~e.dimitrova] Sure, give me a few days to build the ohc project and re-check 
all tests, I'll check it and get back here. However, since we use the Cassandra 
build/lib/jar classpath directory, which contains a newer version of the JNA 
library, to run tests it should be enough to run CI on the Cassandra side to 
ensure that this exclusion doesn't break anything. A newer version of the JNA 
will be in use by the tests that have row cache enabled (basically 
row_cache_size > 0).

> 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-beta, 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