I was recently attempting to install some software on top of a HDP cluster, and some of the code required Java 1.7 – and the cluster had been setup with 1.6.
After a few hours of google searches and poling around I wasn’t easily able to determine *how* to change the bundled java version. (Admittedly some of those hours were wasted with me discovering that java was bundled, my java_home settings were ignored, and puppet was overwriting monkeypatch changes I attempted to make directly).
I tried updating the ambari server properties to point to a java home that was installed on all boxes, restarted everything multiple times, etc. – but was never able to get everything to swap over to java 1.7.
would I have needed to re-install the entire platform to push out those changes? I assume there *has* to be some simple way to do this (change/update java version) – but for the life of me I couldn’t find it.