[
https://issues.apache.org/jira/browse/HBASE-26852?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17507610#comment-17507610
]
Nick Dimiduk commented on HBASE-26852:
--------------------------------------
The failing build is prefixed with this warning.
{noformat}
cd
/home/jenkins/jenkins-home/workspace/Base-PreCommit-GitHub-PR_PR-4220/yetus-jdk11-hadoop3-check/src
/opt/maven/bin/mvn --batch-mode
-Dmaven.repo.local=/home/jenkins/jenkins-home/workspace/Base-PreCommit-GitHub-PR_PR-4220/yetus-m2/hbase-branch-2-patch-1
-fae clean install -DskipTests=true -Dmaven.javadoc.skip=true
-Dcheckstyle.skip=true -Dfindbugs.skip=true -Dspotbugs.skip=true
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for
org.apache.hbase:hbase-build-configuration:pom:2.6.0-SNAPSHOT
[WARNING]
'profiles.profile[hadoop-3.0].dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)'
must be unique: org.apache.hadoop:hadoop-mapreduce-client-app:test-jar ->
duplicate declaration of version ${hadoop-three.version} @
org.apache.hbase:hbase:2.6.0-SNAPSHOT,
/home/jenkins/jenkins-home/workspace/Base-PreCommit-GitHub-PR_PR-4220/yetus-jdk11-hadoop3-check/src/pom.xml,
line 3527, column 22
[WARNING]
[WARNING] Some problems were encountered while building the effective model for
org.apache.hbase:hbase:pom:2.6.0-SNAPSHOT
[WARNING]
'profiles.profile[hadoop-3.0].dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)'
must be unique: org.apache.hadoop:hadoop-mapreduce-client-app:test-jar ->
duplicate declaration of version ${hadoop-three.version} @ line 3527, column 22
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten
the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support
building such malformed projects.
[WARNING]
{noformat}
> --hadoop-profile is not honored in branch-2 PR builds
> -----------------------------------------------------
>
> Key: HBASE-26852
> URL: https://issues.apache.org/jira/browse/HBASE-26852
> Project: HBase
> Issue Type: Task
> Components: build
> Affects Versions: 2.5.0, 2.6.0, 2.4.12
> Reporter: Nick Dimiduk
> Priority: Major
>
> I noticed in the PR builds for HBASE-26834 that the {{HADOOP_PROFILE}} is
> apparently not honored. This is problematic for the JDK11 build, which only
> works on Hadoop3, which must be enabled via this variable.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)