This is an automated email from the ASF dual-hosted git repository.

deniskuzZ 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 7c6a575569b HIVE-30168: Docker: the standalone Tez AM starts without 
the glibc malloc arena cap (#6874)
7c6a575569b is described below

commit 7c6a575569b65741b76368d317cb3a25c1c134cd
Author: Denys Kuzmenko <[email protected]>
AuthorDate: Thu Oct 15 15:54:05 2026 +0200

    HIVE-30168: Docker: the standalone Tez AM starts without the glibc malloc 
arena cap (#6874)
---
 packaging/src/docker/entrypoint.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/packaging/src/docker/entrypoint.sh 
b/packaging/src/docker/entrypoint.sh
index d60d2e1b0fd..16f6cde20cf 100644
--- a/packaging/src/docker/entrypoint.sh
+++ b/packaging/src/docker/entrypoint.sh
@@ -142,7 +142,9 @@ function run_tezam {
   : "${LOG_DIRS:="/opt/tez/logs"}"
   : "${APP_SUBMIT_TIME_ENV:=$(($(date +%s) * 1000))}"
   : "${TEZ_AM_EXTERNAL_ID:="tez-session-${HOSTNAME:-tezam}"}"
-  export USER LOCAL_DIRS LOG_DIRS APP_SUBMIT_TIME_ENV TEZ_AM_EXTERNAL_ID
+  # HiveServer2 and the metastore get it from hadoop-config.sh, LLAP from 
runLlapDaemon.sh; the AM starts with plain java
+  : "${MALLOC_ARENA_MAX:=4}"
+  export USER LOCAL_DIRS LOG_DIRS APP_SUBMIT_TIME_ENV TEZ_AM_EXTERNAL_ID 
MALLOC_ARENA_MAX
 
   export HADOOP_HOME="${HADOOP_HOME:-/opt/hadoop}"
   export TEZ_HOME="${TEZ_HOME:-/opt/tez}"

Reply via email to