Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-24002

shadedjars check does not propagate --hadoop-profile

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0-alpha-1, 2.3.0, 2.4.0
    • 3.0.0-alpha-1, 2.3.0
    • build
    • None

    Description

      After HBASE-23829, we see the shadedjars check fail on JDK11 stages. From the log

      Tue Mar 17 00:14:24 UTC 2020
      cd /home/jenkins/jenkins-slave/workspace/Base-PreCommit-GitHub-PR_PR-1296/yetus-jdk11-hadoop3-check/src
      /opt/maven/bin/mvn --batch-mode -Dmaven.repo.local=/home/jenkins/jenkins-slave/workspace/Base-PreCommit-GitHub-PR_PR-1296/yetus-m2/hbase-branch-2-patch-1 clean verify -fae --batch-mode -pl hbase-shaded/hbase-shaded-check-invariants -am -Dtest=NoUnitTests -DHBasePatchProcess -Prelease -Dmaven.javadoc.skip=true -Dcheckstyle.skip=true -Dspotbugs.skip=true
      ...
      [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (hadoop3-profile-required) @ hbase ---
      [INFO] Adding ignore: module-info
      [WARNING] Rule 0: org.apache.maven.plugins.enforcer.RequireProperty failed with message:
      HBase with JDK11 requires Hadoop3. Activate the profile with `-Dhadoop.profile=3.0`.
      

      Attachments

        Issue Links

          Activity

            People

              ndimiduk Nick Dimiduk
              ndimiduk Nick Dimiduk
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: