[ https://issues.apache.org/jira/browse/DRILL-5978?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16367719#comment-16367719 ]
ASF GitHub Bot commented on DRILL-5978: --------------------------------------- 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. > Upgrade Hive libraries to 2.1.1 version. > ---------------------------------------- > > Key: DRILL-5978 > URL: https://issues.apache.org/jira/browse/DRILL-5978 > Project: Apache Drill > Issue Type: Improvement > Components: Storage - Hive > Affects Versions: 1.11.0 > Reporter: Vitalii Diravka > Assignee: Vitalii Diravka > Priority: Major > Labels: doc-impacting > Fix For: 1.13.0 > > > Currently Drill uses [Hive version 1.2.1 > libraries|https://github.com/apache/drill/blob/master/pom.xml#L53] to perform > queries on Hive. This version of library can be used for Hive1.x versions and > Hive2.x versions too, but some features of Hive2.x are broken (for example > using of ORC transactional tables). To fix that it will be good to update > drill-hive library version to 2.1 or newer. > Tasks which should be done: > - resolving dependency conflicts; > - investigating backward compatibility of newer drill-hive library with older > Hive versions (1.x); > - updating drill-hive version for > [MapR|https://github.com/apache/drill/blob/master/pom.xml#L1777] profile too. -- This message was sent by Atlassian JIRA (v7.6.3#76005)