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

Maxim Muzafarov commented on CASSANDRA-14667:
---------------------------------------------

{quote} Which pom are you looking at?{quote}

The metrics-core has a dependency on slf4j-api (1.7.36):
https://github.com/dropwizard/metrics/blob/release/4.2.x/metrics-core/pom.xml#L34

The metrics-jvm has a dependency on slf4j-api (1.7.36):
https://github.com/dropwizard/metrics/blob/release/4.2.x/metrics-jvm/pom.xml#L45

In the example in the above message the ohc has a dependency on slf4j-api 
(1.7.32) that is excluded in cassandra-parent pom:
https://github.com/snazy/ohc/blob/develop/pom.xml#L137
https://github.com/apache/cassandra/blob/trunk/.build/parent-pom-template.xml#L965

But all of them do not exist in the resulting classpath in the build/jar no 
matter if they are excluded or not, according to my local checks.

> Upgrade Dropwizard Metrics to 4.x
> ---------------------------------
>
>                 Key: CASSANDRA-14667
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-14667
>             Project: Cassandra
>          Issue Type: Task
>          Components: Observability/Metrics
>            Reporter: Stig Rohde Døssing
>            Assignee: Maxim Muzafarov
>            Priority: Normal
>             Fix For: 5.x
>
>         Attachments: signature.asc, signature.asc
>
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> Cassandra currently uses Metrics 3.1.5. Version 4.0.0 added some fixes for 
> Java 9 compatibility. It would be good to upgrade the Metrics library as part 
> of the version of Cassandra that adds Java 9 compatibility 
> (https://issues.apache.org/jira/browse/CASSANDRA-9608). 



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