Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

java update Ambari

Solved Go to solution
Highlighted

java update Ambari

Rising Star

I need to update Oracle JDK to 8u172. What's the best way of doing it. Is there a documentation

1 ACCEPTED SOLUTION

Accepted Solutions

Re: java update Ambari

Super Mentor

@Prakash Punj

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...

https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.2.0/bk_ambari-administration/content/ch_changin...

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

View solution in original post

2 REPLIES 2

Re: java update Ambari

Super Mentor

@Prakash Punj

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...

https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.2.0/bk_ambari-administration/content/ch_changin...

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

View solution in original post

Highlighted

Re: java update Ambari

Rising Star

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..?

Don't have an account?
Coming from Hortonworks? Activate your account here