[ https://issues.apache.org/jira/browse/CASSANDRA-18992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17783695#comment-17783695 ]
Maxim Muzafarov commented on CASSANDRA-18992: --------------------------------------------- So I can't get a clean run on the 0.5.1 branch, because the following tests fail (this failure is related to release/0.5.1 branch): https://github.com/Mmuzaf/ohc/actions/runs/6787087412/job/18449112785 {code} Failed tests: ChunkedCacheImplTest.testHotKeyBufferIterator:573 expected [true] but found [false] ChunkedCacheImplTest.testHotKeyIterator:417 expected [true] but found [false] ChunkedFixedCacheImplTest.testHotKeyBufferIterator:499 expected [true] but found [false] ChunkedFixedCacheImplTest.testHotKeyIterator:365 expected [true] but found [false] {code} If we ignore these tests, then the execution of all tests will be successful for both JNA 4.1.0 https://github.com/Mmuzaf/ohc/actions/runs/6787282956/job/18449740138 JNA 5.13.0 https://github.com/Mmuzaf/ohc/actions/runs/6787399168/job/18450119146 > 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