ttttttz has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/21760


Change subject: IMPALA-12349: Support Apache Hive 2.x in Impala
......................................................................

IMPALA-12349: Support Apache Hive 2.x in Impala

Like IMPALA-10871, this patch adds MetastoreShim to support Apache
Hive 2.x. At the build time, based on the environment variable
IMPALA_HIVE_DIST_TYPE one of the three shims is added to as source
using the fe/pom.xml build plugin. To minimize code intrusiveness,
the test compilation phase is skipped. And due to the lack of completeness
in the Notifycation Log feature, Impala adapted to Apache Hive 2.x does
not support synchronizing metadata by processing metadata events.

Change-Id: Ib5f104dc8d131835b8118b9d54077471db65681c
---
M be/src/catalog/catalog-server.cc
M bin/bootstrap_toolchain.py
M bin/impala-config.sh
M bin/jenkins/build-all-flag-combinations.sh
M common/function-registry/CMakeLists.txt
M fe/pom.xml
A 
fe/src/compat-apache-hive-2/java/org/apache/hadoop/hive/common/ValidReaderWriteIdList.java
A 
fe/src/compat-apache-hive-2/java/org/apache/hadoop/hive/common/ValidTxnWriteIdList.java
A 
fe/src/compat-apache-hive-2/java/org/apache/hadoop/hive/common/ValidWriteIdList.java
A 
fe/src/compat-apache-hive-2/java/org/apache/hadoop/hive/metastore/api/TableValidWriteIds.java
C 
fe/src/compat-apache-hive-2/java/org/apache/impala/catalog/Hive2MetastoreShimBase.java
A 
fe/src/compat-apache-hive-2/java/org/apache/impala/catalog/events/MetastoreEvents.java
A 
fe/src/compat-apache-hive-2/java/org/apache/impala/catalog/events/MetastoreEventsProcessor.java
A 
fe/src/compat-apache-hive-2/java/org/apache/impala/compat/HiveEsriGeospatialBuiltins.java
A fe/src/compat-apache-hive-2/java/org/apache/impala/compat/MetastoreShim.java
A fe/src/compat-apache-hive-2/java/org/apache/thrift/TConfiguration.java
A 
fe/src/compat-apache-hive-2/java/org/apache/thrift/transport/TEndpointTransport.java
A 
fe/src/compat-apache-hive-3/java/org/apache/impala/catalog/Hive3MetastoreShimBase.java
A 
fe/src/compat-apache-hive-3/java/org/apache/impala/catalog/events/MetastoreEvents.java
A 
fe/src/compat-apache-hive-3/java/org/apache/impala/catalog/events/MetastoreEventsProcessor.java
M fe/src/compat-apache-hive-3/java/org/apache/impala/compat/MetastoreShim.java
R 
fe/src/compat-hive-3/java/org/apache/impala/catalog/Hive3MetastoreShimBase.java
R 
fe/src/compat-hive-3/java/org/apache/impala/catalog/events/MetastoreEvents.java
R 
fe/src/compat-hive-3/java/org/apache/impala/catalog/events/MetastoreEventsProcessor.java
M fe/src/compat-hive-3/java/org/apache/impala/compat/MetastoreShim.java
M fe/src/main/java/org/apache/impala/analysis/ConvertTableToIcebergStmt.java
M fe/src/main/java/org/apache/impala/catalog/ColumnStats.java
M fe/src/main/java/org/apache/impala/catalog/HdfsTable.java
M fe/src/main/java/org/apache/impala/catalog/Table.java
M fe/src/main/java/org/apache/impala/catalog/events/EventExecutorService.java
M fe/src/main/java/org/apache/impala/catalog/local/LocalTable.java
M fe/src/main/java/org/apache/impala/service/CatalogOpExecutor.java
M fe/src/main/java/org/apache/impala/util/HiveMetadataFormatUtils.java
M java/calcite-planner/pom.xml
M tests/common/environ.py
35 files changed, 7,587 insertions(+), 243 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/60/21760/35
--
To view, visit http://gerrit.cloudera.org:8080/21760
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib5f104dc8d131835b8118b9d54077471db65681c
Gerrit-Change-Number: 21760
Gerrit-PatchSet: 35
Gerrit-Owner: ttttttz <2433038...@qq.com>

Reply via email to