You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by zh...@apache.org on 2022/08/16 13:44:18 UTC

[hbase] branch branch-2 updated: HBASE-27294 Add new hadoop releases in our hadoop checks (#4692)

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

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


The following commit(s) were added to refs/heads/branch-2 by this push:
     new e4c141cb486 HBASE-27294 Add new hadoop releases in our hadoop checks (#4692)
e4c141cb486 is described below

commit e4c141cb4861ec176610acfcb833ad143005dff7
Author: Duo Zhang <zh...@apache.org>
AuthorDate: Tue Aug 16 21:06:23 2022 +0800

    HBASE-27294 Add new hadoop releases in our hadoop checks (#4692)
    
    Signed-off-by: Nick Dimiduk <nd...@apache.org>
    (cherry picked from commit 4a57cbd2cb01b63a93f0171c068b9fd49d239c99)
---
 dev-support/hbase-personality.sh | 29 +++++++++++++++++++++--------
 1 file changed, 21 insertions(+), 8 deletions(-)

diff --git a/dev-support/hbase-personality.sh b/dev-support/hbase-personality.sh
index 68a75a9f34a..5f18b4652af 100755
--- a/dev-support/hbase-personality.sh
+++ b/dev-support/hbase-personality.sh
@@ -575,22 +575,35 @@ function hadoopcheck_rebuild
 
   # All supported Hadoop versions that we want to test the compilation with
   # See the Hadoop section on prereqs in the HBase Reference Guide
-  if [[ "${PATCH_BRANCH}" = branch-2.* ]]; then
-    yetus_info "Setting Hadoop 2 versions to test based on branch-2.4+ rules."
+  if [[ "${PATCH_BRANCH}" = branch-2.4 ]]; then
+    yetus_info "Setting Hadoop 2 versions to test based on branch-2.4 rules."
     if [[ "${QUICK_HADOOPCHECK}" == "true" ]]; then
-      hbase_hadoop2_versions="2.10.1"
+      hbase_hadoop2_versions="2.10.2"
     else
-      hbase_hadoop2_versions="2.10.0 2.10.1"
+      hbase_hadoop2_versions="2.10.0 2.10.1 2.10.2"
     fi
+  elif [[ "${PATCH_BRANCH}" = branch-2.* ]]; then
+    yetus_info "Setting Hadoop 2 versions to test based on branch-2.5+ rules."
+    hbase_hadoop2_versions="2.10.2"
   else
     yetus_info "Setting Hadoop 2 versions to null on master/feature branch rules since we do not support hadoop 2 for hbase 3.x any more."
     hbase_hadoop2_versions=""
   fi
-  yetus_info "Setting Hadoop 3 versions to test based on branch-2.4+/master/feature branch rules"
-  if [[ "${QUICK_HADOOPCHECK}" == "true" ]]; then
-    hbase_hadoop3_versions="3.1.2 3.2.2 3.3.1"
+
+  if [[ "${PATCH_BRANCH}" = branch-2.4 ]]; then
+    yetus_info "Setting Hadoop 3 versions to test based on branch-2.4 rules"
+    if [[ "${QUICK_HADOOPCHECK}" == "true" ]]; then
+      hbase_hadoop3_versions="3.1.4 3.2.4 3.3.4"
+    else
+      hbase_hadoop3_versions="3.1.1 3.1.2 3.1.3 3.1.4 3.2.0 3.2.1 3.2.2 3.2.3 3.2.4 3.3.0 3.3.1 3.3.2 3.3.3 3.3.4"
+    fi
   else
-    hbase_hadoop3_versions="3.1.1 3.1.2 3.2.0 3.2.1 3.2.2 3.3.0 3.3.1"
+    yetus_info "Setting Hadoop 3 versions to test based on branch-2.5+/master/feature branch rules"
+    if [[ "${QUICK_HADOOPCHECK}" == "true" ]]; then
+      hbase_hadoop3_versions="3.2.4 3.3.4"
+    else
+      hbase_hadoop3_versions="3.2.3 3.2.4 3.3.2 3.3.3 3.3.4"
+    fi
   fi
 
   export MAVEN_OPTS="${MAVEN_OPTS}"