HBASE-20970 Update hadoop check versions for hadoop3 in hbase-personality

Signed-off-by: Sean Busbey <busbey@apache.org>
This commit is contained in:
Duo Zhang 2019-05-15 16:34:52 +08:00
parent e254f5e67f
commit 5a578f953b
2 changed files with 9 additions and 2 deletions

View File

@ -139,7 +139,7 @@ pipeline {
} }
stage ('hadoop 3 cache') { stage ('hadoop 3 cache') {
environment { environment {
HADOOP3_VERSION="3.0.0" HADOOP3_VERSION="3.0.3"
} }
steps { steps {
// directory must be unique for each parallel stage, because jenkins runs them in the same workspace :( // directory must be unique for each parallel stage, because jenkins runs them in the same workspace :(

View File

@ -533,9 +533,16 @@ function hadoopcheck_rebuild
hbase_hadoop2_versions="2.8.2 2.8.3 2.8.4 2.8.5 2.9.1 2.9.2" hbase_hadoop2_versions="2.8.2 2.8.3 2.8.4 2.8.5 2.9.1 2.9.2"
fi fi
fi fi
hbase_hadoop3_versions="3.0.0"
if [[ "${PATCH_BRANCH}" = branch-1* ]]; then if [[ "${PATCH_BRANCH}" = branch-1* ]]; then
yetus_info "Setting Hadoop 3 versions to test based on branch-1.x rules."
hbase_hadoop3_versions="" hbase_hadoop3_versions=""
else
yetus_info "Setting Hadoop 3 versions to test based on branch-2.x/master/feature branch rules"
if [[ "${QUICK_HADOOPCHECK}" == "true" ]]; then
hbase_hadoop3_versions="3.0.3 3.1.2"
else
hbase_hadoop2_versions="3.0.3 3.1.1 3.1.2"
fi
fi fi
export MAVEN_OPTS="${MAVEN_OPTS}" export MAVEN_OPTS="${MAVEN_OPTS}"