Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-18992

Exclude jna transitive dependecy from the ohc library

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 5.0-beta1, 5.1
    • Dependencies
    • None

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              mmuzaf Maxim Muzafarov
              mmuzaf Maxim Muzafarov
              Maxim Muzafarov
              Ariel Weisberg, Ekaterina Dimitrova, Stefan Miklosovic
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m