Created 07-28-2022 12:26 PM
Cloudera Manager (Trial) 7.4.4
Cloudera Runtime 7.1.7 (Parcels)
Cloudera SCM log:
2022-07-28 19:19:59,113 ERROR CommandPusher-1:com.cloudera.cmf.command.CommandHelpers: GenerateCredentials - Execution error:
java.io.IOException: Encountered error with /opt/cloudera/cm/bin/gen_credentials.sh: Cannot access generated keytab file /var/run/cloudera-scm-server/cmf2117942825672975512.keytab
at com.cloudera.cmf.security.GenerateCredentialsCommand.generateKeytab(GenerateCredentialsCommand.java:533)
at com.cloudera.cmf.security.GenerateCredentialsCommand.createKeytab(GenerateCredentialsCommand.java:637)
at com.cloudera.cmf.security.GenerateCredentialsCommand.generateMissingKeytabs(GenerateCredentialsCommand.java:350)
at com.cloudera.cmf.security.GenerateCredentialsCommand.access$300(GenerateCredentialsCommand.java:70)
at com.cloudera.cmf.security.GenerateCredentialsCommand$2$1.run(GenerateCredentialsCommand.java:745)
at com.cloudera.cmf.security.GenerateCredentialsCommand$2$1.run(GenerateCredentialsCommand.java:733)
at com.cloudera.cmf.security.components.SecurityUtils.runWithGenerateKrb5Conf(SecurityUtils.java:397)
at com.cloudera.cmf.security.GenerateCredentialsCommand$2.call(GenerateCredentialsCommand.java:733)
at com.cloudera.cmf.security.GenerateCredentialsCommand$2.call(GenerateCredentialsCommand.java:729)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
2022-07-28 19:19:59,113 ERROR CommandPusher-1:com.cloudera.cmf.model.DbCommand: Command 1546334450(GenerateCredentials) has completed. finalstate:FINISHED, success:false, msg:Encountered error with /opt/cloudera/cm/bin/gen_credentials.sh: Cannot access generated keytab file /var/run/cloudera-scm-server/cmf2117942825672975512.keytab
2022-07-28 19:19:59,113 INFO CommandPusher-1:com.cloudera.cmf.command.components.CommandStorage: Invoked delete temp files for command:DbCommand{id=1546334450, name=GenerateCredentials} at dir:/var/lib/cloudera-scm-server/temp/commands/1546334450
Created 11-29-2022 05:04 AM
To resolve this issue, open /opt/cloudera/cm/bin/gen_credentials.sh for editing and add the following to the very end of the script:
exit ${PIPESTATUS[0]}
And then try generating Kerberos credentials once more. If it fails again, you should see much more detail assisting in troubleshooting.
This will be addressed in a future release of Cloudera Manager.
Created 11-29-2022 05:04 AM
To resolve this issue, open /opt/cloudera/cm/bin/gen_credentials.sh for editing and add the following to the very end of the script:
exit ${PIPESTATUS[0]}
And then try generating Kerberos credentials once more. If it fails again, you should see much more detail assisting in troubleshooting.
This will be addressed in a future release of Cloudera Manager.