Skip to content

World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.

[#5846][FOLLOWUP] dev(build): Change the environment variable from `ENABLE_JDBC_AUTHORIZATION` to `ENABLE_SQL_BASE_AUTHORIATION` (#5888)

roryqicb66b9be30e9
diff --git a/dev/docker/hive/start.sh b/dev/docker/hive/start.sh
index 60bb90fee9..ca5698faa6 100644
--- a/dev/docker/hive/start.sh
+++ b/dev/docker/hive/start.sh
@@ -40,9 +40,9 @@ cp -f ${HIVE_TMP_CONF_DIR}/* ${HIVE_CONF_DIR}
sed -i "s/__REPLACE__HOST_NAME/$(hostname)/g" ${HADOOP_CONF_DIR}/core-site.xml
sed -i "s/__REPLACE__HOST_NAME/$(hostname)/g" ${HADOOP_CONF_DIR}/hdfs-site.xml
-if [[ -n "${ENABLE_JDBC_AUTHORIZATION}" ]]; then
+if [[ -n "${ENABLE_SQL_BASE_AUTHORIZATION}" ]]; then
if [[ -n "${RANGER_HIVE_REPOSITORY_NAME}" && -n "${RANGER_SERVER_URL}" ]]; then
- echo "You can't set ENABLE_JDBC_AUTHORIZATION and RANGER_HIVE_REPOSITORY_NAME at the same time."
+ echo "You can't set ENABLE_SQL_BASE_AUTHORIZATION and RANGER_HIVE_REPOSITORY_NAME at the same time."
exit -1
fi
cp -f ${HIVE_CONF_DIR}/hive-site-for-sql-base-auth.xml ${HIVE_CONF_DIR}/hive-site.xml