mirror of
https://github.com/apache/impala.git
synced 2025-12-19 18:12:08 -05:00
IMPALA-14183: Rename the environment variable USE_APACHE_HIVE to USE_APACHE_HIVE_3
When the environment variable USE_APACHE_HIVE is set to true, build Impala for adapting to Apache Hive 3.x. In order to better distinguish it from Apache Hive 2.x later, rename USE_APACHE_HIVE to USE_APACHE_HIVE_3. Additionally, to facilitate referencing different versions of the Hive MetastoreShim, the major version of Hive has been added to the environment variable IMPALA_HIVE_DIST_TYPE. Change-Id: I11b5fe1604b6fc34469fb357c98784b7ad88574d Reviewed-on: http://gerrit.cloudera.org:8080/21724 Reviewed-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com> Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
This commit is contained in:
committed by
Impala Public Jenkins
parent
0f8f54de20
commit
5d1f1e0180
@@ -457,7 +457,7 @@ bootstrap_dependencies() {
|
||||
cp $IMPALA_TOOLCHAIN_PACKAGES_HOME/hadoop-client-$IMPALA_HADOOP_CLIENT_VERSION/lib/* \
|
||||
$HADOOP_HOME/lib/native/
|
||||
fi
|
||||
if [[ "${USE_APACHE_HIVE}" = true ]]; then
|
||||
if [[ "${USE_APACHE_HIVE_3}" = true ]]; then
|
||||
"$IMPALA_HOME/testdata/bin/patch_hive.sh"
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user