To 1.7
Simply download the latest JDK7 RPM from the Oracle website, install on all nodes (check that "/usr/java/latest" and "/usr/java/default" now point to the right directory, and restart "infinit.e-index-engine" and "tomcat6-interface-engine" services (the latter only on API nodes, the former typically on both)
To 1.8
...
Using scp within cygwin, scp the rpm file over to the target machine,e.g.
Code Block |
---|
scp /home/jfreydank/jfreydank_win/Downloads/jdk-8u25-linux-x64.rpm ec2-user@dev.ikanow.com:~ |
Code Block |
---|
sudo rmp -i jdk-8u25-linux-x64.rpm |
Keeping Hadoop in sync
After upgrading to a version with a differerent JDK (eg elasticsearch 1.3+) requires JDK7, it will likely be necessary to modify the Hadoop configuration to use a compatible JRE.
Go the "mapreduce" service configuration pages (described here), and in the "MapReduce Service Environment Safety Valve" text box, add the line (eg):
...