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:
ttttttz
2024-08-17 20:55:55 +08:00
committed by Impala Public Jenkins
parent 0f8f54de20
commit 5d1f1e0180
14 changed files with 36 additions and 36 deletions

View File

@@ -61,7 +61,7 @@ add_custom_command(
add_custom_target(function-registry ALL DEPENDS ${CODE_GEN_OUTPUT})
if( $ENV{USE_APACHE_HIVE} STREQUAL "false")
if($ENV{USE_APACHE_HIVE_3} STREQUAL "false")
add_custom_target(geospatial-udf-wrappers ALL DEPENDS ${GEOSPATIAL_CODE_GEN_OUTPUT})
add_dependencies(geospatial-udf-wrappers function-registry)
else()