HBASE-27480 Skip error prone for hadoop2/3 checkes in our nightly jobs (#4877)

Signed-off-by: Xin Sun <ddupgs@gmail.com>
(cherry picked from commit 085325c696)
This commit is contained in:
Duo Zhang 2022-11-11 13:31:51 +08:00
parent 7060a5898f
commit c09c113f44
2 changed files with 4 additions and 3 deletions

View File

@ -312,6 +312,7 @@ pipeline {
OUTPUT_DIR_RELATIVE = "${env.OUTPUT_DIR_RELATIVE_JDK8_HADOOP2}" OUTPUT_DIR_RELATIVE = "${env.OUTPUT_DIR_RELATIVE_JDK8_HADOOP2}"
OUTPUT_DIR = "${env.WORKSPACE}/${env.OUTPUT_DIR_RELATIVE_JDK8_HADOOP2}" OUTPUT_DIR = "${env.WORKSPACE}/${env.OUTPUT_DIR_RELATIVE_JDK8_HADOOP2}"
SET_JAVA_HOME = '/usr/lib/jvm/java-8' SET_JAVA_HOME = '/usr/lib/jvm/java-8'
SKIP_ERRORPRONE = true
} }
steps { steps {
// Must do prior to anything else, since if one of them timesout we'll stash the commentfile // Must do prior to anything else, since if one of them timesout we'll stash the commentfile
@ -421,6 +422,7 @@ pipeline {
SET_JAVA_HOME = '/usr/lib/jvm/java-8' SET_JAVA_HOME = '/usr/lib/jvm/java-8'
// Activates hadoop 3.0 profile in maven runs. // Activates hadoop 3.0 profile in maven runs.
HADOOP_PROFILE = '3.0' HADOOP_PROFILE = '3.0'
SKIP_ERRORPRONE = true
} }
steps { steps {
// Must do prior to anything else, since if one of them timesout we'll stash the commentfile // Must do prior to anything else, since if one of them timesout we'll stash the commentfile
@ -530,8 +532,7 @@ pipeline {
SET_JAVA_HOME = "/usr/lib/jvm/java-11" SET_JAVA_HOME = "/usr/lib/jvm/java-11"
// Activates hadoop 3.0 profile in maven runs. // Activates hadoop 3.0 profile in maven runs.
HADOOP_PROFILE = '3.0' HADOOP_PROFILE = '3.0'
// ErrorProne is broken on JDK11, see HBASE-23894 SKIP_ERRORPRONE = true
SKIP_ERROR_PRONE = 'true'
} }
steps { steps {
// Must do prior to anything else, since if one of them timesout we'll stash the commentfile // Must do prior to anything else, since if one of them timesout we'll stash the commentfile

View File

@ -83,7 +83,7 @@ if [[ -n "${HADOOP_PROFILE}" ]]; then
fi fi
fi fi
if [[ -n "${SKIP_ERROR_PRONE}" ]]; then if [[ "${SKIP_ERRORPRONE}" = "true" ]]; then
YETUS_ARGS=("--skip-errorprone" "${YETUS_ARGS[@]}") YETUS_ARGS=("--skip-errorprone" "${YETUS_ARGS[@]}")
fi fi