This is an automated email from the ASF dual-hosted git repository.
joemcdonnell pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/impala.git
The following commit(s) were added to refs/heads/master by this push:
new 48b38810e IMPALA-14465: Unset HEAPCHECK when custom cluster tests
restart Kudu
48b38810e is described below
commit 48b38810e8404bb3b13acfec03151acb9135eb1f
Author: Joe McDonnell <[email protected]>
AuthorDate: Thu Sep 25 14:56:12 2025 -0700
IMPALA-14465: Unset HEAPCHECK when custom cluster tests restart Kudu
Custom cluster tests like TestKuduHMSIntegration restart the Kudu
service with custom startup flags. On Redhat8 ARM64, these tests
have been failing due to Kudu being unresponsive after this
restart. Debugging showed that Kudu was stuck early in startup.
This only reproduced via the custom cluster tests and never via
regular minicluster startup.
When custom cluster tests restart Kudu, the script to restart
Kudu inherits environment variables from the test runner. It
turns out that the HEAPCHECK environment variable (even when
empty) causes Kudu to get stuck during startup on Redhat8
ARM64 after the recent toolchain update.
As a short-term fix, this unsets HEAPCHECK when restarting the
Kudu service for these tests. There will need to be further
investigation / cleanup beyond this.
Testing:
- Ran the Kudu custom cluster tests on Redhat8 ARM64 and
on Ubuntu 20 x86_64
Change-Id: I51513e194d9e605df199672231b412fae40343af
Reviewed-on: http://gerrit.cloudera.org:8080/23467
Reviewed-by: Riza Suminto <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>
---
tests/common/custom_cluster_test_suite.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/tests/common/custom_cluster_test_suite.py
b/tests/common/custom_cluster_test_suite.py
index 76fa48ce6..98b3b3e2c 100644
--- a/tests/common/custom_cluster_test_suite.py
+++ b/tests/common/custom_cluster_test_suite.py
@@ -480,6 +480,10 @@ class CustomClusterTestSuite(ImpalaTestSuite):
@staticmethod
def _restart_kudu_service(kudu_args=None):
kudu_env = dict(os.environ)
+ # On some platforms, Kudu can get stuck when HEAPCHECK is set (even to an
empty
+ # value). Drop any HEAPCHECK variable from the environment.
+ if "HEAPCHECK" in kudu_env:
+ del kudu_env["HEAPCHECK"]
if kudu_args is not None:
kudu_env["IMPALA_KUDU_STARTUP_FLAGS"] = kudu_args
call = subprocess.Popen(