[jira] [Updated] (DRILL-6604) Upgrade Drill Hive client to Hive3.1 version
[ https://issues.apache.org/jira/browse/DRILL-6604?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vova Vysotskyi updated DRILL-6604: -- Labels: ready-to-commit (was: ) > Upgrade Drill Hive client to Hive3.1 version > > > Key: DRILL-6604 > URL: https://issues.apache.org/jira/browse/DRILL-6604 > Project: Apache Drill > Issue Type: Improvement >Affects Versions: 1.14.0 >Reporter: Vitalii Diravka >Assignee: Vova Vysotskyi >Priority: Major > Labels: ready-to-commit > Fix For: 1.18.0 > > > Recently the Hive3.1 version is released. > 3.1 versions of {{hive-exec}} and {{hive-metastore}} (main Drill Hive client > libraries) are the last available artifacts in maven repo for now: > [https://mvnrepository.com/artifact/org.apache.hive/hive-exec/3.1.0] > [https://mvnrepository.com/artifact/org.apache.hive/hive-metastore/3.1.0] > It is necessary to investigate what impact of update onto the newer major > Hive client version. > The initial conflicts after changing the {{hive.version}} in Drill root pom > file from 2.3.2 to 3.1.0 are: > {code} > [ERROR] COMPILATION ERROR : > [INFO] - > [ERROR] > /home/vitalii/IdeaProjects/drill-fork/contrib/storage-hive/core/src/main/java/org/apache/drill/exec/store/hive/HiveUtilities.java:[58,39] > error: cannot find symbol > [ERROR] symbol: class MetaStoreUtils > location: package org.apache.hadoop.hive.metastore > /home/vitalii/IdeaProjects/drill-fork/contrib/storage-hive/core/src/main/java/org/apache/drill/exec/store/hive/HiveMetadataProvider.java:[34,39] > error: cannot find symbol > [INFO] 2 errors > {code} > {code} > [ERROR] COMPILATION ERROR : > [INFO] - > [ERROR] > /home/vitalii/IdeaProjects/drill-fork/contrib/storage-hive/core/src/main/java/org/apache/drill/exec/store/hive/HiveUtilities.java:[575,15] > error: cannot find symbol > [ERROR] symbol: method setTransactionalTableScan(JobConf,boolean) > location: class AcidUtils > /home/vitalii/IdeaProjects/drill-fork/contrib/storage-hive/core/src/main/java/org/apache/drill/exec/store/hive/HiveFieldConverter.java:[216,92] > error: incompatible types: org.apache.hadoop.hive.common.type.Timestamp > cannot be converted to java.sql.Timestamp > [ERROR] > /home/vitalii/IdeaProjects/drill-fork/contrib/storage-hive/core/src/main/java/org/apache/drill/exec/store/hive/HiveFieldConverter.java:[225,82] > error: incompatible types: org.apache.hadoop.hive.common.type.Date cannot be > converted to java.sql.Date > [ERROR] > /home/vitalii/IdeaProjects/drill-fork/contrib/storage-hive/core/src/main/java/org/apache/drill/exec/store/hive/DrillHiveMetaStoreClient.java:[100,17] > error: cannot find symbol > [ERROR] symbol: method setTokenStr(UserGroupInformation,String,String) > location: class Utils > /home/vitalii/IdeaProjects/drill-fork/contrib/storage-hive/core/target/generated-sources/org/apache/drill/exec/expr/fn/impl/hive/DrillTimeStampTimestampObjectInspector.java:[29,16] > error: Required is not abstract and does not override abstract method > getPrimitiveJavaObject(Object) in TimestampObjectInspector > [ERROR] > /home/vitalii/IdeaProjects/drill-fork/contrib/storage-hive/core/target/generated-sources/org/apache/drill/exec/expr/fn/impl/hive/DrillTimeStampTimestampObjectInspector.java:[35,30] > error: getPrimitiveJavaObject(Object) in Required cannot implement > getPrimitiveJavaObject(Object) in TimestampObjectInspector > [ERROR] return type java.sql.Timestamp is not compatible with > org.apache.hadoop.hive.common.type.Timestamp > /home/vitalii/IdeaProjects/drill-fork/contrib/storage-hive/core/target/generated-sources/org/apache/drill/exec/expr/fn/impl/hive/DrillTimeStampTimestampObjectInspector.java:[44,29] > error: getPrimitiveWritableObject(Object) in Required cannot implement > getPrimitiveWritableObject(Object) in TimestampObjectInspector > [ERROR] return type TimestampWritable is not compatible with > TimestampWritableV2 > /home/vitalii/IdeaProjects/drill-fork/contrib/storage-hive/core/target/generated-sources/org/apache/drill/exec/expr/fn/impl/hive/DrillTimeStampTimestampObjectInspector.java:[54,16] > error: Optional is not abstract and does not override abstract method > getPrimitiveJavaObject(Object) in TimestampObjectInspector > [ERROR] > /home/vitalii/IdeaProjects/drill-fork/contrib/storage-hive/core/target/generated-sources/org/apache/drill/exec/expr/fn/impl/hive/DrillTimeStampTimestampObjectInspector.java:[60,30] > error: getPrimitiveJavaObject(Object) in Optional cannot implement > getPrimitiveJavaObject(Object) in TimestampObjectInspector > [ERROR] return type java.sql.Timestamp is not compatible with >
[jira] [Updated] (DRILL-6604) Upgrade Drill Hive client to Hive3.1 version
[ https://issues.apache.org/jira/browse/DRILL-6604?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Arina Ielchiieva updated DRILL-6604: Reviewer: Igor Guzenko > Upgrade Drill Hive client to Hive3.1 version > > > Key: DRILL-6604 > URL: https://issues.apache.org/jira/browse/DRILL-6604 > Project: Apache Drill > Issue Type: Improvement >Affects Versions: 1.14.0 >Reporter: Vitalii Diravka >Assignee: Vova Vysotskyi >Priority: Major > Fix For: 1.18.0 > > > Recently the Hive3.1 version is released. > 3.1 versions of {{hive-exec}} and {{hive-metastore}} (main Drill Hive client > libraries) are the last available artifacts in maven repo for now: > [https://mvnrepository.com/artifact/org.apache.hive/hive-exec/3.1.0] > [https://mvnrepository.com/artifact/org.apache.hive/hive-metastore/3.1.0] > It is necessary to investigate what impact of update onto the newer major > Hive client version. > The initial conflicts after changing the {{hive.version}} in Drill root pom > file from 2.3.2 to 3.1.0 are: > {code} > [ERROR] COMPILATION ERROR : > [INFO] - > [ERROR] > /home/vitalii/IdeaProjects/drill-fork/contrib/storage-hive/core/src/main/java/org/apache/drill/exec/store/hive/HiveUtilities.java:[58,39] > error: cannot find symbol > [ERROR] symbol: class MetaStoreUtils > location: package org.apache.hadoop.hive.metastore > /home/vitalii/IdeaProjects/drill-fork/contrib/storage-hive/core/src/main/java/org/apache/drill/exec/store/hive/HiveMetadataProvider.java:[34,39] > error: cannot find symbol > [INFO] 2 errors > {code} > {code} > [ERROR] COMPILATION ERROR : > [INFO] - > [ERROR] > /home/vitalii/IdeaProjects/drill-fork/contrib/storage-hive/core/src/main/java/org/apache/drill/exec/store/hive/HiveUtilities.java:[575,15] > error: cannot find symbol > [ERROR] symbol: method setTransactionalTableScan(JobConf,boolean) > location: class AcidUtils > /home/vitalii/IdeaProjects/drill-fork/contrib/storage-hive/core/src/main/java/org/apache/drill/exec/store/hive/HiveFieldConverter.java:[216,92] > error: incompatible types: org.apache.hadoop.hive.common.type.Timestamp > cannot be converted to java.sql.Timestamp > [ERROR] > /home/vitalii/IdeaProjects/drill-fork/contrib/storage-hive/core/src/main/java/org/apache/drill/exec/store/hive/HiveFieldConverter.java:[225,82] > error: incompatible types: org.apache.hadoop.hive.common.type.Date cannot be > converted to java.sql.Date > [ERROR] > /home/vitalii/IdeaProjects/drill-fork/contrib/storage-hive/core/src/main/java/org/apache/drill/exec/store/hive/DrillHiveMetaStoreClient.java:[100,17] > error: cannot find symbol > [ERROR] symbol: method setTokenStr(UserGroupInformation,String,String) > location: class Utils > /home/vitalii/IdeaProjects/drill-fork/contrib/storage-hive/core/target/generated-sources/org/apache/drill/exec/expr/fn/impl/hive/DrillTimeStampTimestampObjectInspector.java:[29,16] > error: Required is not abstract and does not override abstract method > getPrimitiveJavaObject(Object) in TimestampObjectInspector > [ERROR] > /home/vitalii/IdeaProjects/drill-fork/contrib/storage-hive/core/target/generated-sources/org/apache/drill/exec/expr/fn/impl/hive/DrillTimeStampTimestampObjectInspector.java:[35,30] > error: getPrimitiveJavaObject(Object) in Required cannot implement > getPrimitiveJavaObject(Object) in TimestampObjectInspector > [ERROR] return type java.sql.Timestamp is not compatible with > org.apache.hadoop.hive.common.type.Timestamp > /home/vitalii/IdeaProjects/drill-fork/contrib/storage-hive/core/target/generated-sources/org/apache/drill/exec/expr/fn/impl/hive/DrillTimeStampTimestampObjectInspector.java:[44,29] > error: getPrimitiveWritableObject(Object) in Required cannot implement > getPrimitiveWritableObject(Object) in TimestampObjectInspector > [ERROR] return type TimestampWritable is not compatible with > TimestampWritableV2 > /home/vitalii/IdeaProjects/drill-fork/contrib/storage-hive/core/target/generated-sources/org/apache/drill/exec/expr/fn/impl/hive/DrillTimeStampTimestampObjectInspector.java:[54,16] > error: Optional is not abstract and does not override abstract method > getPrimitiveJavaObject(Object) in TimestampObjectInspector > [ERROR] > /home/vitalii/IdeaProjects/drill-fork/contrib/storage-hive/core/target/generated-sources/org/apache/drill/exec/expr/fn/impl/hive/DrillTimeStampTimestampObjectInspector.java:[60,30] > error: getPrimitiveJavaObject(Object) in Optional cannot implement > getPrimitiveJavaObject(Object) in TimestampObjectInspector > [ERROR] return type java.sql.Timestamp is not compatible with > org.apache.hadoop.hive.common.type.Timestamp >
[jira] [Updated] (DRILL-6604) Upgrade Drill Hive client to Hive3.1 version
[ https://issues.apache.org/jira/browse/DRILL-6604?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vova Vysotskyi updated DRILL-6604: -- Fix Version/s: (was: Future) 1.18.0 > Upgrade Drill Hive client to Hive3.1 version > > > Key: DRILL-6604 > URL: https://issues.apache.org/jira/browse/DRILL-6604 > Project: Apache Drill > Issue Type: Improvement >Affects Versions: 1.14.0 >Reporter: Vitalii Diravka >Assignee: Vova Vysotskyi >Priority: Major > Fix For: 1.18.0 > > > Recently the Hive3.1 version is released. > 3.1 versions of {{hive-exec}} and {{hive-metastore}} (main Drill Hive client > libraries) are the last available artifacts in maven repo for now: > [https://mvnrepository.com/artifact/org.apache.hive/hive-exec/3.1.0] > [https://mvnrepository.com/artifact/org.apache.hive/hive-metastore/3.1.0] > It is necessary to investigate what impact of update onto the newer major > Hive client version. > The initial conflicts after changing the {{hive.version}} in Drill root pom > file from 2.3.2 to 3.1.0 are: > {code} > [ERROR] COMPILATION ERROR : > [INFO] - > [ERROR] > /home/vitalii/IdeaProjects/drill-fork/contrib/storage-hive/core/src/main/java/org/apache/drill/exec/store/hive/HiveUtilities.java:[58,39] > error: cannot find symbol > [ERROR] symbol: class MetaStoreUtils > location: package org.apache.hadoop.hive.metastore > /home/vitalii/IdeaProjects/drill-fork/contrib/storage-hive/core/src/main/java/org/apache/drill/exec/store/hive/HiveMetadataProvider.java:[34,39] > error: cannot find symbol > [INFO] 2 errors > {code} > {code} > [ERROR] COMPILATION ERROR : > [INFO] - > [ERROR] > /home/vitalii/IdeaProjects/drill-fork/contrib/storage-hive/core/src/main/java/org/apache/drill/exec/store/hive/HiveUtilities.java:[575,15] > error: cannot find symbol > [ERROR] symbol: method setTransactionalTableScan(JobConf,boolean) > location: class AcidUtils > /home/vitalii/IdeaProjects/drill-fork/contrib/storage-hive/core/src/main/java/org/apache/drill/exec/store/hive/HiveFieldConverter.java:[216,92] > error: incompatible types: org.apache.hadoop.hive.common.type.Timestamp > cannot be converted to java.sql.Timestamp > [ERROR] > /home/vitalii/IdeaProjects/drill-fork/contrib/storage-hive/core/src/main/java/org/apache/drill/exec/store/hive/HiveFieldConverter.java:[225,82] > error: incompatible types: org.apache.hadoop.hive.common.type.Date cannot be > converted to java.sql.Date > [ERROR] > /home/vitalii/IdeaProjects/drill-fork/contrib/storage-hive/core/src/main/java/org/apache/drill/exec/store/hive/DrillHiveMetaStoreClient.java:[100,17] > error: cannot find symbol > [ERROR] symbol: method setTokenStr(UserGroupInformation,String,String) > location: class Utils > /home/vitalii/IdeaProjects/drill-fork/contrib/storage-hive/core/target/generated-sources/org/apache/drill/exec/expr/fn/impl/hive/DrillTimeStampTimestampObjectInspector.java:[29,16] > error: Required is not abstract and does not override abstract method > getPrimitiveJavaObject(Object) in TimestampObjectInspector > [ERROR] > /home/vitalii/IdeaProjects/drill-fork/contrib/storage-hive/core/target/generated-sources/org/apache/drill/exec/expr/fn/impl/hive/DrillTimeStampTimestampObjectInspector.java:[35,30] > error: getPrimitiveJavaObject(Object) in Required cannot implement > getPrimitiveJavaObject(Object) in TimestampObjectInspector > [ERROR] return type java.sql.Timestamp is not compatible with > org.apache.hadoop.hive.common.type.Timestamp > /home/vitalii/IdeaProjects/drill-fork/contrib/storage-hive/core/target/generated-sources/org/apache/drill/exec/expr/fn/impl/hive/DrillTimeStampTimestampObjectInspector.java:[44,29] > error: getPrimitiveWritableObject(Object) in Required cannot implement > getPrimitiveWritableObject(Object) in TimestampObjectInspector > [ERROR] return type TimestampWritable is not compatible with > TimestampWritableV2 > /home/vitalii/IdeaProjects/drill-fork/contrib/storage-hive/core/target/generated-sources/org/apache/drill/exec/expr/fn/impl/hive/DrillTimeStampTimestampObjectInspector.java:[54,16] > error: Optional is not abstract and does not override abstract method > getPrimitiveJavaObject(Object) in TimestampObjectInspector > [ERROR] > /home/vitalii/IdeaProjects/drill-fork/contrib/storage-hive/core/target/generated-sources/org/apache/drill/exec/expr/fn/impl/hive/DrillTimeStampTimestampObjectInspector.java:[60,30] > error: getPrimitiveJavaObject(Object) in Optional cannot implement > getPrimitiveJavaObject(Object) in TimestampObjectInspector > [ERROR] return type java.sql.Timestamp is not compatible with >
[jira] [Updated] (DRILL-6604) Upgrade Drill Hive client to Hive3.1 version
[ https://issues.apache.org/jira/browse/DRILL-6604?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vitalii Diravka updated DRILL-6604: --- Description: Recently the Hive3.1 version is released. 3.1 versions of {{hive-exec}} and {{hive-metastore}} (main Drill Hive client libraries) are the last available artifacts in maven repo for now: [https://mvnrepository.com/artifact/org.apache.hive/hive-exec/3.1.0] [https://mvnrepository.com/artifact/org.apache.hive/hive-metastore/3.1.0] It is necessary to investigate what impact of update onto the newer major Hive client version. The initial conflicts after changing the {{hive.version}} in Drill root pom file from 2.3.2 to 3.1.0 are: {code} [ERROR] COMPILATION ERROR : [INFO] - [ERROR] /home/vitalii/IdeaProjects/drill-fork/contrib/storage-hive/core/src/main/java/org/apache/drill/exec/store/hive/HiveUtilities.java:[58,39] error: cannot find symbol [ERROR] symbol: class MetaStoreUtils location: package org.apache.hadoop.hive.metastore /home/vitalii/IdeaProjects/drill-fork/contrib/storage-hive/core/src/main/java/org/apache/drill/exec/store/hive/HiveMetadataProvider.java:[34,39] error: cannot find symbol [INFO] 2 errors {code} {code} [ERROR] COMPILATION ERROR : [INFO] - [ERROR] /home/vitalii/IdeaProjects/drill-fork/contrib/storage-hive/core/src/main/java/org/apache/drill/exec/store/hive/HiveUtilities.java:[575,15] error: cannot find symbol [ERROR] symbol: method setTransactionalTableScan(JobConf,boolean) location: class AcidUtils /home/vitalii/IdeaProjects/drill-fork/contrib/storage-hive/core/src/main/java/org/apache/drill/exec/store/hive/HiveFieldConverter.java:[216,92] error: incompatible types: org.apache.hadoop.hive.common.type.Timestamp cannot be converted to java.sql.Timestamp [ERROR] /home/vitalii/IdeaProjects/drill-fork/contrib/storage-hive/core/src/main/java/org/apache/drill/exec/store/hive/HiveFieldConverter.java:[225,82] error: incompatible types: org.apache.hadoop.hive.common.type.Date cannot be converted to java.sql.Date [ERROR] /home/vitalii/IdeaProjects/drill-fork/contrib/storage-hive/core/src/main/java/org/apache/drill/exec/store/hive/DrillHiveMetaStoreClient.java:[100,17] error: cannot find symbol [ERROR] symbol: method setTokenStr(UserGroupInformation,String,String) location: class Utils /home/vitalii/IdeaProjects/drill-fork/contrib/storage-hive/core/target/generated-sources/org/apache/drill/exec/expr/fn/impl/hive/DrillTimeStampTimestampObjectInspector.java:[29,16] error: Required is not abstract and does not override abstract method getPrimitiveJavaObject(Object) in TimestampObjectInspector [ERROR] /home/vitalii/IdeaProjects/drill-fork/contrib/storage-hive/core/target/generated-sources/org/apache/drill/exec/expr/fn/impl/hive/DrillTimeStampTimestampObjectInspector.java:[35,30] error: getPrimitiveJavaObject(Object) in Required cannot implement getPrimitiveJavaObject(Object) in TimestampObjectInspector [ERROR] return type java.sql.Timestamp is not compatible with org.apache.hadoop.hive.common.type.Timestamp /home/vitalii/IdeaProjects/drill-fork/contrib/storage-hive/core/target/generated-sources/org/apache/drill/exec/expr/fn/impl/hive/DrillTimeStampTimestampObjectInspector.java:[44,29] error: getPrimitiveWritableObject(Object) in Required cannot implement getPrimitiveWritableObject(Object) in TimestampObjectInspector [ERROR] return type TimestampWritable is not compatible with TimestampWritableV2 /home/vitalii/IdeaProjects/drill-fork/contrib/storage-hive/core/target/generated-sources/org/apache/drill/exec/expr/fn/impl/hive/DrillTimeStampTimestampObjectInspector.java:[54,16] error: Optional is not abstract and does not override abstract method getPrimitiveJavaObject(Object) in TimestampObjectInspector [ERROR] /home/vitalii/IdeaProjects/drill-fork/contrib/storage-hive/core/target/generated-sources/org/apache/drill/exec/expr/fn/impl/hive/DrillTimeStampTimestampObjectInspector.java:[60,30] error: getPrimitiveJavaObject(Object) in Optional cannot implement getPrimitiveJavaObject(Object) in TimestampObjectInspector [ERROR] return type java.sql.Timestamp is not compatible with org.apache.hadoop.hive.common.type.Timestamp /home/vitalii/IdeaProjects/drill-fork/contrib/storage-hive/core/target/generated-sources/org/apache/drill/exec/expr/fn/impl/hive/DrillTimeStampTimestampObjectInspector.java:[72,29] error: getPrimitiveWritableObject(Object) in Optional cannot implement getPrimitiveWritableObject(Object) in TimestampObjectInspector [ERROR] return type TimestampWritable is not compatible with TimestampWritableV2 /home/vitalii/IdeaProjects/drill-fork/contrib/storage-hive/core/target/generated-sources/org/apache/drill/exec/expr/fn/impl/hive/DrillDateDateObjectInspector.java:[29,16] error: Required is not abstract and
[jira] [Updated] (DRILL-6604) Upgrade Drill Hive client to Hive3.1 version
[ https://issues.apache.org/jira/browse/DRILL-6604?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vitalii Diravka updated DRILL-6604: --- Summary: Upgrade Drill Hive client to Hive3.1 version (was: Upgrade Drill Hive client to Hive3.0 version) > Upgrade Drill Hive client to Hive3.1 version > > > Key: DRILL-6604 > URL: https://issues.apache.org/jira/browse/DRILL-6604 > Project: Apache Drill > Issue Type: Improvement >Affects Versions: 1.14.0 >Reporter: Vitalii Diravka >Assignee: Vitalii Diravka >Priority: Major > Fix For: Future > > > Recently the Hive3.0 version is released. > 3.0 versions of {{hive-exec}} and {{hive-metastore}} (main Drill Hive > client libraries) are the last available artifacts in maven repo for now: > https://mvnrepository.com/artifact/org.apache.hive/hive-exec/3.0.0 > https://mvnrepository.com/artifact/org.apache.hive/hive-metastore/3.0.0 > It is necessary to investigate what impact of update onto the newer major > Hive client version. -- This message was sent by Atlassian JIRA (v7.6.3#76005)