[
https://issues.apache.org/jira/browse/HIVE-29686?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated HIVE-29686:
----------------------------------
Labels: pull-request-available (was: )
> Env variables for substitution are not propagated to entrypoint.sh from
> start-hive.sh
> -------------------------------------------------------------------------------------
>
> Key: HIVE-29686
> URL: https://issues.apache.org/jira/browse/HIVE-29686
> Project: Hive
> Issue Type: Bug
> Reporter: László Bodor
> Assignee: László Bodor
> Priority: Major
> Labels: pull-request-available
>
> When starting the Hive Docker cluster in LLAP mode via:
> {code}
> ./start-hive.sh --llap
> {code}
> the resulting hive-site.xml inside the hiveserver2 container contains:
> {code}
> <property>
> <name>hive.server2.tez.use.external.sessions</name>
> <value>false</value>
> </property>
> {code}
> even though start-hive.sh explicitly exports
> HIVE_SERVER2_TEZ_USE_EXTERNAL_SESSIONS=true (along with
> TEZ_FRAMEWORK_MODE=STANDALONE_ZOOKEEPER,
> HIVE_ZOOKEEPER_QUORUM=zookeeper:2181, and
> HIVE_LLAP_DAEMON_SERVICE_HOSTS=@llap0) when the --llap flag is passed.
> as a result, HiveServer2 in LLAP mode does not actually use the external Tez
> AM sessions registered by the tezam container in ZooKeeper, defeating the
> purpose of the --llap profile.
> packaging/src/docker/start-hive.sh exports the LLAP-related variables into
> the host shell, but the hiveserver2 service in
> packaging/src/docker/docker-compose.yml does not declare them under its
> environment: block, Docker Compose therefore does not propagate them into the
> container.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)