Skip to content

Commit 085325c

Browse files
authored
HBASE-27480 Skip error prone for hadoop2/3 checkes in our nightly jobs (#4877)
Signed-off-by: Xin Sun <ddupgs@gmail.com>
1 parent 260cd48 commit 085325c

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

dev-support/Jenkinsfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,7 @@ pipeline {
312312
OUTPUT_DIR_RELATIVE = "${env.OUTPUT_DIR_RELATIVE_JDK8_HADOOP2}"
313313
OUTPUT_DIR = "${env.WORKSPACE}/${env.OUTPUT_DIR_RELATIVE_JDK8_HADOOP2}"
314314
SET_JAVA_HOME = '/usr/lib/jvm/java-8'
315+
SKIP_ERRORPRONE = true
315316
}
316317
steps {
317318
// Must do prior to anything else, since if one of them timesout we'll stash the commentfile
@@ -421,6 +422,7 @@ pipeline {
421422
SET_JAVA_HOME = '/usr/lib/jvm/java-8'
422423
// Activates hadoop 3.0 profile in maven runs.
423424
HADOOP_PROFILE = '3.0'
425+
SKIP_ERRORPRONE = true
424426
}
425427
steps {
426428
// Must do prior to anything else, since if one of them timesout we'll stash the commentfile
@@ -530,8 +532,7 @@ pipeline {
530532
SET_JAVA_HOME = "/usr/lib/jvm/java-11"
531533
// Activates hadoop 3.0 profile in maven runs.
532534
HADOOP_PROFILE = '3.0'
533-
// ErrorProne is broken on JDK11, see HBASE-23894
534-
SKIP_ERROR_PRONE = 'true'
535+
SKIP_ERRORPRONE = true
535536
}
536537
steps {
537538
// Must do prior to anything else, since if one of them timesout we'll stash the commentfile

dev-support/hbase_nightly_yetus.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ if [[ -n "${HADOOP_PROFILE}" ]]; then
8383
fi
8484
fi
8585

86-
if [[ -n "${SKIP_ERROR_PRONE}" ]]; then
86+
if [[ "${SKIP_ERRORPRONE}" = "true" ]]; then
8787
YETUS_ARGS=("--skip-errorprone" "${YETUS_ARGS[@]}")
8888
fi
8989

0 commit comments

Comments
 (0)