Created 09-17-2021 12:52 AM
Failed to regenerate the missing credentials in cm, the error log is as follows:
Key log information:
com.cloudera.cmf.command.CmdExecException: java.lang.IllegalArgumentException
Caused by: java.lang.IllegalArgumentException
ERROR CommandPusher-1:com.cloudera.cmf.model.DbCommand: Command 61246(GenerateCredentials) has completed. finalstate: CANCELLED,success:false,msg:java.lang.IllegalArgumentException
It is worth noting that the import of kerberos account manager credentials in CM is successful.
And the keytab in the /var/run/cloudera-scm-server directory can be kinit successfully
/var/log/cloudera-scm-server/cloudera-scm-server.log The log error is as follows:
Key log information:
ERROR Staleness-Detector-1: com.cloudera.cmf.service.config.components.ProcessStalenessDetector: Failed to check staleness for service client configs : DbService{id=75,name=atlas}
com.cloudera.cmf.service.config.ConfigGenException: Failed to generate client configs
Caused by: java.lang.RuntimeException: com.cloudera.cmf.service.config.ConfigGenException: Failed to generate client configs
Caused by: java.lang.RuntimeException: com.cloudera.cmf.service.config.ConfigGenException: No dependent roles found
Caused by:com.cloudera.cmf.service.config.ConfigGenException: No dependent roles found
Do you technical engineers have any solutions? Grateful.
Created 09-25-2021 05:53 AM
Hello,
This problem has been solved because the atlas service has been deleted, but there are dependencies in other service configurations that have not been cleared.
This can also be seen from the log:
ERROR Staleness-Detector-1: com.cloudera.cmf.service.config.components.ProcessStalenessDetector: Failed to check staleness for service client configs : DbService{id=75,name=atlas}
After adding the deleted atlas service back, I succeeded in generating the missing Kerberos credentials again.
In short, thank you very much for your reply and wish you a happy life!
Created 09-20-2021 05:52 AM
@SHUAIPENG I would suggest to deploy Kerberos Client Configuration once from CM > Cluster > Action menu and Also restart the CM server after that and try again to generate the credentials and see how it goes.
Created 09-25-2021 05:53 AM
Hello,
This problem has been solved because the atlas service has been deleted, but there are dependencies in other service configurations that have not been cleared.
This can also be seen from the log:
ERROR Staleness-Detector-1: com.cloudera.cmf.service.config.components.ProcessStalenessDetector: Failed to check staleness for service client configs : DbService{id=75,name=atlas}
After adding the deleted atlas service back, I succeeded in generating the missing Kerberos credentials again.
In short, thank you very much for your reply and wish you a happy life!