This is an automated email from the ASF dual-hosted git repository.
zhangduo pushed a commit to branch branch-2.5
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-2.5 by this push:
new 7ab8272b718 HBASE-28693 Addendum add hadoop 3.0 profile for branch-2.x
7ab8272b718 is described below
commit 7ab8272b7183500d002d968bfee98555d4ca13a1
Author: Duo Zhang <[email protected]>
AuthorDate: Thu Jun 27 17:32:20 2024 +0800
HBASE-28693 Addendum add hadoop 3.0 profile for branch-2.x
(cherry picked from commit 98572e56ac6c079e6657d699e8185c97011d4951)
---
dev-support/flaky-tests/run-flaky-tests.Jenkinsfile | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/dev-support/flaky-tests/run-flaky-tests.Jenkinsfile
b/dev-support/flaky-tests/run-flaky-tests.Jenkinsfile
index f8b49f9f5c9..ff539954909 100644
--- a/dev-support/flaky-tests/run-flaky-tests.Jenkinsfile
+++ b/dev-support/flaky-tests/run-flaky-tests.Jenkinsfile
@@ -54,6 +54,10 @@ pipeline {
mvn_args=("${mvn_args[@]}" -X)
set -x
fi
+ # need to build against hadoop 3.0 profile for branch-2 when using
jdk 11+
+ if [[ "${BRANCH_NAME}" == *"branch-2"* ]]; then
+ mvn_args=("${mvn_args[@]}" -Dhadoop.profile=3.0)
+ fi
curl "${curl_args[@]}" -o includes.txt
"${JENKINS_URL}/job/HBase-Find-Flaky-Tests/job/${BRANCH_NAME}/lastSuccessfulBuild/artifact/output/includes"
if [ -s includes.txt ]; then
rm -rf local-repository/org/apache/hbase