Created 07-16-2018 01:26 AM
I need to update Oracle JDK to 8u172. What's the best way of doing it. Is there a documentation
Created 07-16-2018 01:35 AM
You will need to install the desired JDK to all your cluster hosts manually on some common location like
Example: )on every cluster host same path should exist
/usr/jdk64/jdk1.8.0_172
.
Now on the ambari server host run the following command to setup the JDK.
# ambari-server setup –j /usr/jdk64/jdk1.8.0_172 # ambari-server restart
.
Ambari Serevr setup JDK Reference: https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.0.0/bk_ambari-installation-ppc/content/set_up_t...
Also if you want to install the JCE on your JDK then please refer to : https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.2.0/bk_ambari-security/content/installing_the_j...
HCC thread on the same: https://community.hortonworks.com/questions/91401/update-jdk-from-17-to-180-121-on-hdp.html
Created 07-16-2018 01:35 AM
You will need to install the desired JDK to all your cluster hosts manually on some common location like
Example: )on every cluster host same path should exist
/usr/jdk64/jdk1.8.0_172
.
Now on the ambari server host run the following command to setup the JDK.
# ambari-server setup –j /usr/jdk64/jdk1.8.0_172 # ambari-server restart
.
Ambari Serevr setup JDK Reference: https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.0.0/bk_ambari-installation-ppc/content/set_up_t...
Also if you want to install the JCE on your JDK then please refer to : https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.2.0/bk_ambari-security/content/installing_the_j...
HCC thread on the same: https://community.hortonworks.com/questions/91401/update-jdk-from-17-to-180-121-on-hdp.html
Created 07-16-2018 02:29 AM
Thanks @Jay Kumar SenSharma.
Question: On other nodes, do we have to do anything after installing new version of JAVA. Just by putting the JAVA in the same path as Ambari-server, is that going to be ok..?