IOP to HDP Migration
Also available as:
PDF

Switch from IBM Open JDK to Oracle JDK

If you are migrating from an IOP cluster with the IBM Open JDK on x86 hardware, we recommend that you modify your cluster to use the Oracle JDK (the default JDK for HDP clusters).

  1. Verify current settings in the /etc/ambari-server/conf/ambari.properties file:

    cat /etc/ambari-server/conf/ambari.properties | grep java
    java.home=/usr/jdk64/java-1.8.0-openjdk-1.8.0.121-0.b13.el6_8.x86_64
    java.releases=jdk1.8,jdk1.7
    java.releases.ppc64le=
    openjdk1.8.re=(java.*)/jre
  2. Download and install Oracle JDK8 on all hosts in the cluster.

    [Note]Note

    For IOP clusters operating on IBM Power Systems, continue to use OpenJDK. You should:

    For a Kerberized cluster, you should also:

  3. Modify the java.home variable in the /etc/ambari-server/conf/ambari.properties file to point to the downloaded Oracle Open JDK home, example:

    java.home=/usr/java/jdk1.8.0_112
  4. Restart Ambari server.

    ambari-server restart

    When all services are re-started as a part of the Express Upgrade, the Oracle JDK will be used.