This is an automated email from the ASF dual-hosted git repository.
liuxun pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/gravitino.git
The following commit(s) were added to refs/heads/main by this push:
new cb66b9be3 [#5846][FOLLOWUP] dev(build): Change the environment
variable from `ENABLE_JDBC_AUTHORIZATION` to `ENABLE_SQL_BASE_AUTHORIATION`
(#5888)
cb66b9be3 is described below
commit cb66b9be30e9d970cf6374f1f5a58c33e1c0a742
Author: roryqi <[email protected]>
AuthorDate: Tue Dec 17 19:17:21 2024 +0800
[#5846][FOLLOWUP] dev(build): Change the environment variable from
`ENABLE_JDBC_AUTHORIZATION` to `ENABLE_SQL_BASE_AUTHORIATION` (#5888)
### What changes were proposed in this pull request?
Change the environment variable from `ENABLE_JDBC_AUTHORIZATION` to
`ENABLE_SQL_BASE_AUTHORIATION`
### Why are the changes needed?
This is a follow up pull reqeust
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
No need.
---
dev/docker/hive/start.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dev/docker/hive/start.sh b/dev/docker/hive/start.sh
index 60bb90fee..ca5698faa 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