Created 03-14-2017 11:46 PM
Hello Experts,
Here we upgrading Java 1.7 to 1.8 for the one of the production Node. so on the current node we running kafka and storm services, could you please suggest me how to upgrade and also suggest me with
Please suggest me how to Upgrade without impacting other servers node and without a downtime
Created 03-15-2017 12:23 AM
If you want to upgrade the JDK for the whole cluster nodes then doing it via ambari is better and recommended. As mentioned in the link: https://docs.hortonworks.com/HDPDocuments/Ambari-2.4.2.0/bk_ambari-reference/content/ch_changing_the...
.
However as you mentioned that you want to upgrade the "java" only on one node of your cluster then in that case you might want to set the JAVA_HOME on the user specific profile level on your OS or else you might try using the
Example:
# alternatives --install /usr/bin/java java /usr/jdk64/jdk1.8.0_60/bin/java 1000 # alternatives --config java
Created 03-15-2017 02:42 AM
Jay thanks fro the response. but i have service running on this node strom and kafka !! how to overcome this process
Created 03-15-2017 02:44 AM
Created 03-15-2017 02:46 AM
JDK-1.8 is not supported by HDP-2.2. So, the recommended method is first to upgrade your HDP-2.2 cluster to HDP-2.3 or 2.4, and after making sure the upgrade was successful, to upgrade Java to 1.8. Regarding the preparation, whenever you do such a serious procedure on the cluster it's required to backup your cluster supporting databases (Ambari, Hive, Oozie, and Ranger if it's included), and to backup Namenode metadata. You can also upgrade Ambari at the same time. So, to summarize:
Created 03-15-2017 02:52 AM
thank you for correcting my bad i did not pay much attention on the HDP version. "JDK-1.8 is not supported by HDP-2.2.".