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

zhangduo pushed a commit to branch HBASE-29930-branch-2
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/HBASE-29930-branch-2 by this 
push:
     new 8a66b35337b fix
8a66b35337b is described below

commit 8a66b35337b7292002dcfd1f671e53d04343f187
Author: Duo Zhang <[email protected]>
AuthorDate: Mon Mar 2 22:48:25 2026 +0800

    fix
---
 dev-support/integration-test/integration-test.Jenkinsfile | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/dev-support/integration-test/integration-test.Jenkinsfile 
b/dev-support/integration-test/integration-test.Jenkinsfile
index e0bc1f18b6d..5407ecda19a 100644
--- a/dev-support/integration-test/integration-test.Jenkinsfile
+++ b/dev-support/integration-test/integration-test.Jenkinsfile
@@ -240,8 +240,10 @@ pipeline {
                   hbase_client_dir="hbase-hadoop3-client"
                 fi
                 java_home="/usr/lib/jvm/java-17"
+                hadoop_opts="--add-opens java.base/java.lang=ALL-UNNAMED"
                 if [[ ${HADOOP_VERSION} == 2.* ]]; then
                   java_home="/usr/lib/jvm/java-8"
+                  hadoop_opts=""
                 fi
                 echo "Attempting to run an instance on top of Hadoop 
${HADOOP_VERSION}."
                 # Create working dir
@@ -249,7 +251,7 @@ pipeline {
                 docker build -t hbase-integration-test -f 
"${BASEDIR}/dev-support/docker/Dockerfile" .
                 docker run --rm -v "${WORKSPACE}":/hbase -v 
/etc/passwd:/etc/passwd:ro -v /etc/group:/etc/group:ro \
                   -u `id -u`:`id -g` -e JAVA_HOME="${java_home}" \
-                  -e HADOOP_OPTS="--add-opens java.base/java.lang=ALL-UNNAMED" 
\
+                  -e HADOOP_OPTS="${hadoop_opts}" \
                   --workdir=/hbase hbase-integration-test \
                   
component/dev-support/integration-test/pseudo-distributed-test.sh \
                   --single-process \
@@ -276,7 +278,7 @@ pipeline {
                 echo "Attempting to run an instance on top of Hadoop 
${HADOOP_VERSION}, relying on the Hadoop client artifacts for the example 
client program."
                 docker run --rm -v "${WORKSPACE}":/hbase -v 
/etc/passwd:/etc/passwd:ro -v /etc/group:/etc/group:ro \
                   -u `id -u`:`id -g` -e JAVA_HOME="${java_home}" \
-                  -e HADOOP_OPTS="--add-opens java.base/java.lang=ALL-UNNAMED" 
\
+                  -e HADOOP_OPTS="${hadoop_opts}" \
                   --workdir=/hbase hbase-integration-test \
                   
component/dev-support/integration-test/pseudo-distributed-test.sh \
                   --single-process \

Reply via email to