You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Supported Java Versions

  • Apache Hadoop 3.x now supports only Java 8
  • Apache Hadoop from 2.7.x to 2.x support Java 7 and 8
  • Java 11 support is now in progress:
    • trunk (3.3.0-SNAPSHOT) supports Java 11 as runtime:  Unable to render Jira issues macro, execution error.
    • Compiling Hadoop with Java 11 is not supported:  Unable to render Jira issues macro, execution error.

Supported JDKs/JVMs

Java Incompatible Changes

This document is for users who upgrade Java version of their Hadoop cluster. It documents the incompatible changes of Java that affects Apache Hadoop.

VersionsIncompatible changesRelated JIRAs
1.8.0_242

JDK-8196956 changed sun.nio.ch.SocketAdaptor from public to package-private. TestIPC#testRTEDuringConnectionSetup is affected. 

Unable to render Jira issues macro, execution error.

1.8.0_191

All DES cipher suites were disabled by JDK-8208350. If you are explicitly using DEC cipher suites, you need to change cipher suite to a strong one.

Unable to render Jira issues macro, execution error.

1.8.0_171

In Apache Hadoop 2.7.0 to 2.7.6, 2.8.0 to 2.8.4, 2.9.0 to 2.9.1, 3.0.0 to 3.0.2, and 3.1.0, KMS fails by java.security.UnrecoverableKeyException due to Enhanced KeyStore Mechanisms. You need to set the system property "jceks.key.serialFilter" to the following value to avoid this error:

java.lang.Enum;java.security.KeyRep;java.security.KeyRep$Type;javax.crypto.spec.SecretKeySpec;org.apache.hadoop.crypto.key.JavaKeyStoreProvider$KeyMetadata;!*"

Unable to render Jira issues macro, execution error.

  • No labels