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/11/11 06:45:44 UTC

[hbase] branch branch-2 updated: HBASE-27480 Skip error prone for hadoop2/3 checkes in our nightly jobs (#4877)

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 35817bcaf11 HBASE-27480 Skip error prone for hadoop2/3 checkes in our nightly jobs (#4877)
35817bcaf11 is described below

commit 35817bcaf112dcdeb05f4b71c8e145d7cf0a1571
Author: Duo Zhang <zh...@apache.org>
AuthorDate: Fri Nov 11 13:31:51 2022 +0800

    HBASE-27480 Skip error prone for hadoop2/3 checkes in our nightly jobs (#4877)
    
    Signed-off-by: Xin Sun <dd...@gmail.com>
    (cherry picked from commit 085325c6961e99ebadb9da3ce014d6216e03b6ea)
---
 dev-support/Jenkinsfile            | 5 +++--
 dev-support/hbase_nightly_yetus.sh | 2 +-
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/dev-support/Jenkinsfile b/dev-support/Jenkinsfile
index 7c8d427650f..bb79ea8928a 100644
--- a/dev-support/Jenkinsfile
+++ b/dev-support/Jenkinsfile
@@ -312,6 +312,7 @@ pipeline {
             OUTPUT_DIR_RELATIVE = "${env.OUTPUT_DIR_RELATIVE_JDK8_HADOOP2}"
             OUTPUT_DIR = "${env.WORKSPACE}/${env.OUTPUT_DIR_RELATIVE_JDK8_HADOOP2}"
             SET_JAVA_HOME = '/usr/lib/jvm/java-8'
+            SKIP_ERRORPRONE = true
           }
           steps {
             // 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'
             // Activates hadoop 3.0 profile in maven runs.
             HADOOP_PROFILE = '3.0'
+            SKIP_ERRORPRONE = true
           }
           steps {
             // 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"
             // Activates hadoop 3.0 profile in maven runs.
             HADOOP_PROFILE = '3.0'
-            // ErrorProne is broken on JDK11, see HBASE-23894
-            SKIP_ERROR_PRONE = 'true'
+            SKIP_ERRORPRONE = true
           }
           steps {
             // Must do prior to anything else, since if one of them timesout we'll stash the commentfile
diff --git a/dev-support/hbase_nightly_yetus.sh b/dev-support/hbase_nightly_yetus.sh
index d824412835c..4c671dcfef6 100755
--- a/dev-support/hbase_nightly_yetus.sh
+++ b/dev-support/hbase_nightly_yetus.sh
@@ -83,7 +83,7 @@ if [[ -n "${HADOOP_PROFILE}" ]]; then
   fi
 fi
 
-if [[ -n "${SKIP_ERROR_PRONE}" ]]; then
+if [[ "${SKIP_ERRORPRONE}" = "true" ]]; then
   YETUS_ARGS=("--skip-errorprone" "${YETUS_ARGS[@]}")
 fi