This is an automated email from the ASF dual-hosted git repository.
abstractdog pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hive.git
The following commit(s) were added to refs/heads/master by this push:
new 7f63ca6936a HIVE-29686: Env variables for substitution are not
propagated to entrypoint.sh from start-hive.sh (#6566)
7f63ca6936a is described below
commit 7f63ca6936a77fbe889794b939a986399595024c
Author: Bodor Laszlo <[email protected]>
AuthorDate: Mon Jun 29 20:18:13 2026 +0200
HIVE-29686: Env variables for substitution are not propagated to
entrypoint.sh from start-hive.sh (#6566)
---
packaging/src/docker/README.md | 4 ++--
packaging/src/docker/docker-compose.yml | 10 ++++++++++
2 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/packaging/src/docker/README.md b/packaging/src/docker/README.md
index 4038dac79ba..a3af7dd3c5e 100644
--- a/packaging/src/docker/README.md
+++ b/packaging/src/docker/README.md
@@ -212,9 +212,9 @@ docker compose logs -f llapdaemon
To stop and remove the LLAP stack:
```shell
-./stop-hive.sh --llap # to stop and delete containers
+./stop-hive.sh # to stop and delete containers
#OR
-./stop-hive.sh --llap --cleanup # to remove volumes also
+./stop-hive.sh --cleanup # to remove volumes also
```
#### Usage
diff --git a/packaging/src/docker/docker-compose.yml
b/packaging/src/docker/docker-compose.yml
index b1e14207ae0..0374255db65 100644
--- a/packaging/src/docker/docker-compose.yml
+++ b/packaging/src/docker/docker-compose.yml
@@ -84,6 +84,16 @@ services:
HIVE_SCRATCH_DIR: /opt/hive/scratch
HIVE_QUERY_RESULTS_CACHE_DIRECTORY: /opt/hive/scratch/_resultscache_
+ # LLAP / external Tez session wiring — consumed by envsubst against
+ # hive-site.xml.template and tez-site.xml.template in entrypoint.sh.
+ # Without these, the templates fall back to the defaults in
+ # entrypoint.sh (external sessions disabled) even when start-hive.sh
+ # was invoked with --llap.
+ HIVE_ZOOKEEPER_QUORUM: "${HIVE_ZOOKEEPER_QUORUM:-}"
+ HIVE_LLAP_DAEMON_SERVICE_HOSTS: "${HIVE_LLAP_DAEMON_SERVICE_HOSTS:-}"
+ HIVE_SERVER2_TEZ_USE_EXTERNAL_SESSIONS:
"${HIVE_SERVER2_TEZ_USE_EXTERNAL_SESSIONS:-false}"
+ TEZ_FRAMEWORK_MODE: "${TEZ_FRAMEWORK_MODE:-}"
+
DB_DRIVER: postgres
SERVICE_OPTS: >-
-Xmx1G