Recently I was dealing with an issues that HiveMetaStore failed to start in a Cloudera Manager managed environment. It failed with below errors:
Caused by: com.cloudera.cmf.service.config.ConfigGenException: Unable to generate config file creds.localjceks at com.cloudera.cmf.service.config.JceksConfigFileGenerator.generate(JceksConfigFileGenerator.java:63) at com.cloudera.cmf.service.HandlerUtil.emitConfigFiles(HandlerUtil.java:133) at com.cloudera.cmf.service.AbstractRoleHandler.generateConfiguration(AbstractRoleHandler.java:887)
This problem is very common if you have the following misconfiguration in your cluster:
1. Wrong version of Java being used. For a list of supported version of Java by Cloudera, please refer to below link:
CDH and Cloudera Manager Supported JDK Versions
2. Different version of Java used across the cluster hosts.
and check symlinks under /usr/java/jdk****-cloudera to confirm they are consistent across the whole cluster.
After all above were performed, try to restart failed service, most likely the issue should be resolved. If not, please let me know in the comments below.