[ 
https://issues.apache.org/jira/browse/DRILL-6282?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vitalii Diravka updated DRILL-6282:
-----------------------------------
    Description: 
There are three types of metrics in Drill: 
1. _com.yammer.metrics_, 
2. _com.codahale.metrics_, 
3. _io.dropwizard.metrics_
Directly Drill uses only 2. The 1 and 3 ones are used as transitive 
dependencies only.
The 2 and 3 ones have the same class full identifiers and maven doesn't know 
which library to use ([https://github.com/dropwizard/metrics/issues/1044]).
The 2 one is an outdated, but the 3 one is still under developing and updating.

Therefore the decision is:
* to use only one _io.dropwizard.metrics_ Metrics for Drill,
* to remove _com.codahale.metrics_ metrics, 
* to control under dependency management block _com.yammer.metrics_ Metrics.

  was:
There are three types of metrics-core in Drill: 
1. _com.yammer.metrics_, 
2. _com.codahale.metrics_, 
3. _io.dropwizard.metrics_
Drill uses only 1 and 2. The last 3 one is used by Hive.
1st one has different class full identifiers, but the 2 and 3 ones have the 
same class full identifiers and maven doesn't know which library to use 
([https://github.com/dropwizard/metrics/issues/1044]).
But I found that 3 one library is used by Hive only for tests, therefore it is 
not required for Drill and could be excluded from hive-metastore and hive-exec.
The dependencies conflict is related not only to metrics-core, but to 
metrics-servlets and metrics-json as well.

All these metrics should be organized with proper excluding and dependency 
management blocks.


> Update Drill's Metrics dependencies
> -----------------------------------
>
>                 Key: DRILL-6282
>                 URL: https://issues.apache.org/jira/browse/DRILL-6282
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Tools, Build & Test
>    Affects Versions: 1.13.0
>            Reporter: Vitalii Diravka
>            Assignee: Vitalii Diravka
>            Priority: Major
>             Fix For: 1.14.0
>
>
> There are three types of metrics in Drill: 
> 1. _com.yammer.metrics_, 
> 2. _com.codahale.metrics_, 
> 3. _io.dropwizard.metrics_
> Directly Drill uses only 2. The 1 and 3 ones are used as transitive 
> dependencies only.
> The 2 and 3 ones have the same class full identifiers and maven doesn't know 
> which library to use ([https://github.com/dropwizard/metrics/issues/1044]).
> The 2 one is an outdated, but the 3 one is still under developing and 
> updating.
> Therefore the decision is:
> * to use only one _io.dropwizard.metrics_ Metrics for Drill,
> * to remove _com.codahale.metrics_ metrics, 
> * to control under dependency management block _com.yammer.metrics_ Metrics.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to