Github user vdiravka commented on a diff in the pull request:

    https://github.com/apache/drill/pull/1111#discussion_r167944958
  
    --- Diff: contrib/storage-hive/core/pom.xml ---
    @@ -58,6 +58,10 @@
               <groupId>commons-codec</groupId>
               <artifactId>commons-codec</artifactId>
             </exclusion>
    +        <exclusion>
    --- End diff --
    
    Both cases can resolve it. In details `io.dropwizard.metrics:metrics-core` 
is nowhere used in Drill. And this is a dependency for `tephra-core` and 
transitive for `hive-metastore`. But it conflicts with Drill's 
`com.codahale.metrics`. 
    `hive-metastore` uses 3.0.1 version of this dependency, but the last 
version in maven repository is 4.0.2.
    I added this dependency to `dependencyManagement` block with 4.0.2 version 
and conflict is resolved as well. I think it is a better decision, because it 
can help to avoid similar conflicts in future.
    
    Also `metrics-core` in `hive-hbase-handler` has not influence to Drill, so 
I've removed my exclusion of it.


---

Reply via email to