Support Questions

Find answers, ask questions, and share your expertise

Update java from 1.7 to 1.8

avatar
Rising Star

hello,

I would like to perform and upgrade of the java 1.7 to java 1.8 of my cluster. I find the following documentation:

http://docs.hortonworks.com/HDPDocuments/Ambari-2....

For the ambari-server, it's very clear, the document says:

  1. If you choose Oracle JDK 1.8 or Oracle JDK 1.7, the JDK you choose downloads and installs automatically on the Ambari Server host. This option requires that you have an internet connection. You must install this JDK on all hosts in the cluster to this same path.

Can someone explain me clearly what I have to do, and how, on the others hosts? I understand that I have to install manually the same jdk on the others hosts but what will be the path? Should I uninstall previous version? Should I also change any configuration file on the others hosts?

Many thanks in advance,

Michel

1 ACCEPTED SOLUTION

avatar
Master Mentor

@Michel Sumbul You don't have to do anything if your servers can connect to internet because when you run ambari-server setup then you will get option for jdk. Please see the following screen shot.

You will accept 1 and files will downloaded from oracle site after accepting the agreement.

805-screen-shot-2015-12-14-at-54546-am.png

Now, if you want to provide custom location then you can install jdk in all the nodes and provide the path

806-screen-shot-2015-12-14-at-54713-am.png

Hope this helps!

View solution in original post

1 REPLY 1

avatar
Master Mentor

@Michel Sumbul You don't have to do anything if your servers can connect to internet because when you run ambari-server setup then you will get option for jdk. Please see the following screen shot.

You will accept 1 and files will downloaded from oracle site after accepting the agreement.

805-screen-shot-2015-12-14-at-54546-am.png

Now, if you want to provide custom location then you can install jdk in all the nodes and provide the path

806-screen-shot-2015-12-14-at-54713-am.png

Hope this helps!