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

michaelsmith pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/impala.git

commit 3d61c5ea9f38594acaab210e9f4e12738626cd4d
Author: Riza Suminto <[email protected]>
AuthorDate: Tue Oct 7 16:11:15 2025 -0700

    IMPALA-14476: Workaround TSAN issue in KuduClient
    
    Since the toolchain was bumped to pick up Kudu's array column
    feature (KUDU-1261), Impala's TSAN builds on the master branch
    consistently break during dataload with a data race detected by TSAN.
    
    The source of data race lies within libkudu_client.so and only trigger
    if Impala build machine has both ipv4 and ipv6 associated with
    localhost. Until the exact root cause is found and fixed, this patch
    workaround the TSAN issue by fixing KUDU_MASTER_HOSTS env var to
    127.0.0.1.
    
    Testing:
    Run TSAN build and confirm no data race error is emmitted.
    
    Change-Id: I511ab625d18c6007567083557fcdf98980a6ac6f
    Reviewed-on: http://gerrit.cloudera.org:8080/23507
    Reviewed-by: Impala Public Jenkins <[email protected]>
    Tested-by: Riza Suminto <[email protected]>
---
 bin/impala-config.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/bin/impala-config.sh b/bin/impala-config.sh
index 6ac9858d1..162be4219 100755
--- a/bin/impala-config.sh
+++ b/bin/impala-config.sh
@@ -1003,7 +1003,9 @@ fi
 # Reduce the concurrency for local tests to half the number of cores in the 
system.
 export NUM_CONCURRENT_TESTS="${NUM_CONCURRENT_TESTS-$((CORES / 2))}"
 
-export KUDU_MASTER_HOSTS="${KUDU_MASTER_HOSTS:-${INTERNAL_LISTEN_HOST}}"
+# IMPALA-14476: Temporarily fix KUDU_MASTER_HOSTS to ipv4 address
+# export KUDU_MASTER_HOSTS="${KUDU_MASTER_HOSTS:-${INTERNAL_LISTEN_HOST}}"
+export KUDU_MASTER_HOSTS="${KUDU_MASTER_HOSTS:-127.0.0.1}"
 export KUDU_MASTER_PORT="${KUDU_MASTER_PORT:-7051}"
 export KUDU_MASTER_WEBUI_PORT="${KUDU_MASTER_WEBUI_PORT:-8051}"
 

Reply via email to