Created 12-06-2021 05:14 PM
Hello Experts.
We have HDP 2.5.0 cluster and recently migrated JDK from Oracle to OpenJDK. Now after rebooting servers, Ambari does not start.
The error in log file is:
"02 Dec 2021 20:16:04,161 INFO [main] CertificateManager:76 - Certificate exists:true
02 Dec 2021 20:16:04,161 INFO [main] KerberosChecker:128 - Skipping Ambari Server Kerberos credentials check.
02 Dec 2021 20:16:04,164 ERROR [main] AmbariServer:1017 - Failed to run the Ambari Server
java.lang.NoClassDefFoundError: Could not initialize class javax.crypto.JceSecurity
at javax.crypto.SecretKeyFactory.nextSpi(SecretKeyFactory.java:295)
at javax.crypto.SecretKeyFactory.<init>(SecretKeyFactory.java:121)
at javax.crypto.SecretKeyFactory.getInstance(SecretKeyFactory.java:160)"
We guess we missed to run "ambari-server setup" to reconfigure the new JDK.
As we didn't it before and want to know if there is any risk of loosing data after the setup.
Some tip or advise?
Regards
Created 12-08-2021 08:49 AM
You should follow the below document to change the JDK in ambari
Created 12-13-2021 10:34 AM
@gnavarro54 Has the reply helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future. Thank you.
Regards,
Diana Torres,