[ 
https://issues.apache.org/jira/browse/HIVE-29686?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

László Bodor updated HIVE-29686:
--------------------------------
    Description: 
 When starting the Hive Docker cluster in LLAP mode via:

  ./start-hive.sh --llap

  the resulting hive-site.xml inside the hiveserver2 container contains:

  <property>
      <name>hive.server2.tez.use.external.sessions</name>
      <value>false</value>
  </property>

  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.


> Env variables for substitution are not propagate 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
>
>  When starting the Hive Docker cluster in LLAP mode via:
>   ./start-hive.sh --llap
>   the resulting hive-site.xml inside the hiveserver2 container contains:
>   <property>
>       <name>hive.server2.tez.use.external.sessions</name>
>       <value>false</value>
>   </property>
>   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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to