[ 
https://issues.apache.org/jira/browse/HBASE-24198?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Stack reopened HBASE-24198:
-----------------------------------

Reopening. This change looks like it broke branch-2 and branch-2.3 nightlies at 
least (Master is used to build all nightlies?).

See here where we compile 2.3 checkout with jdk11. Fails because expects hadoop 
3.0 to be specified. It is specified but using the format added by this patch, 
i.e -Phadoop-3.0.

/opt/maven/bin/mvn --batch-mode 
-Dmaven.repo.local=/home/jenkins/jenkins-slave/workspace/HBase_Nightly_branch-2.3/yetus-m2/hbase-branch-2.3-full-1
 --threads=2 -DHBasePatchProcess -Phadoop-3.0 clean test-compile 
-DskipTests=true

....

[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`.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Apache HBase 2.3.0-SNAPSHOT:
[INFO] 
[INFO] Apache HBase ....................................... FAILURE [  0.788 s]
...

From:

https://builds.apache.org/job/HBase%20Nightly/job/branch-2.3/47/artifact/output-jdk11-hadoop3/patch-compile-root.txt


If I try against branch-2 or branch-2.3 specifying the hadoop with 
-Phadoop-3.0, it complains in same way.

Passing -Dhadoop.profile=3.0 works.

> Skip hadoop2 check for master branch
> ------------------------------------
>
>                 Key: HBASE-24198
>                 URL: https://issues.apache.org/jira/browse/HBASE-24198
>             Project: HBase
>          Issue Type: Sub-task
>          Components: hadoop2, hadoop3, pom, scripts
>            Reporter: Duo Zhang
>            Assignee: Duo Zhang
>            Priority: Major
>
> Now we will run hadoop2 check on jdk8 and hadoop3 check on jdk11, since the 
> support of hadoop2 has been dropped, let's make jdk8 check also on hadoop3.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to