From dead726f2d3b9f16d9f19259b34a47345d2a4772 Mon Sep 17 00:00:00 2001 From: Sean Busbey Date: Thu, 5 Oct 2017 18:00:42 -0500 Subject: [PATCH] HBASE-18934 precommit on branch-1 isn't supposed to run against hadoop 3 --- dev-support/hbase-personality.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/dev-support/hbase-personality.sh b/dev-support/hbase-personality.sh index c58e47e634..5582c63082 100755 --- a/dev-support/hbase-personality.sh +++ b/dev-support/hbase-personality.sh @@ -36,6 +36,15 @@ personality_plugins "all" +if ! declare -f "yetus_info" >/dev/null; then + + function yetus_info + { + echo "[$(date) INFO]: $*" 1>&2 + } + +fi + ## @description Globals specific to this personality ## @audience private ## @stability evolving @@ -54,12 +63,15 @@ function personality_globals # 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-1* ]]; then + yetus_info "setting Hadoop versions to test based on branch-1-ish rules." HBASE_HADOOP2_VERSIONS="2.4.0 2.4.1 2.5.0 2.5.1 2.5.2 2.6.1 2.6.2 2.6.3 2.6.4 2.6.5 2.7.1 2.7.2 2.7.3" HBASE_HADOOP3_VERSIONS="" elif [[ ${PATCH_BRANCH} = branch-2* ]]; then + yetus_info "setting Hadoop versions to test based on branch-2-ish rules." HBASE_HADOOP2_VERSIONS="2.6.1 2.6.2 2.6.3 2.6.4 2.6.5 2.7.1 2.7.2 2.7.3" HBASE_HADOOP3_VERSIONS="3.0.0-alpha4" else # master or a feature branch + yetus_info "setting Hadoop versions to test based on master/feature branch rules." HBASE_HADOOP2_VERSIONS="2.6.1 2.6.2 2.6.3 2.6.4 2.6.5 2.7.1 2.7.2 2.7.3" HBASE_HADOOP3_VERSIONS="3.0.0-alpha4" fi -- 2.14.1