You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Nick Dimiduk (Jira)" <ji...@apache.org> on 2022/03/30 12:29:00 UTC

[jira] [Created] (HBASE-26907) Cannot run tests on Hadoop3 with Java11 versions having 4 version number positions

Nick Dimiduk created HBASE-26907:
------------------------------------

             Summary: 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


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 in HADOOP-16152, which is available as of hadoop-3.2.2.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)