[
https://issues.apache.org/jira/browse/HBASE-26907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17515310#comment-17515310
]
Nick Dimiduk commented on HBASE-26907:
--------------------------------------
In fact, this is confusing. We define {{hadoop-three.version}} twice -- once
for [JDK8 (3.1.2)|https://github.com/apache/hbase/blob/branch-2/pom.xml#L547]
and again for [JDK11
(3.2.0)|https://github.com/apache/hbase/blob/branch-2/pom.xml#L2843].
On hadoop-3.2, HADOOP-16152 was back ported via HADOOP-16676.
So in order to fix this issue, I suggest that we bump the minimum hadoop
versions to 3.1.4 and 3.2.2 for JDK8 and JDK11 respectively.
> Cannot run tests on Hadoop3 with Java11 versions having 4 version number
> positions
> ----------------------------------------------------------------------------------
>
> Key: HBASE-26907
> URL: https://issues.apache.org/jira/browse/HBASE-26907
> Project: HBase
> Issue Type: Task
> Components: build
> Reporter: Nick Dimiduk
> Priority: Major
>
> It happened that my JDK version upgraded to 11.0.14.1. Running unit tests
> involving the HDFS mini cluster now fails with a stack trace that ends with
> {noformat}
> Caused by: java.lang.IllegalArgumentException: Invalid Java version 11.0.14.1
>
>
> at org.eclipse.jetty.util.JavaVersion.parseJDK9(JavaVersion.java:71)
>
>
> at org.eclipse.jetty.util.JavaVersion.parse(JavaVersion.java:49)
>
>
> at org.eclipse.jetty.util.JavaVersion.<clinit>(JavaVersion.java:43)
> {noformat}
> We are using hadoop-3.2.0, which uses jetty-9.3.24. This is a Jetty issue has
> been fixed upstream in Jetty via
> https://github.com/eclipse/jetty.project/issues/2090. Hadoop has upgraded its
> Jetty version to 9.4.20 in HADOOP-16152, which is available as of
> hadoop-3.2.2.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)