I did it with reference to the open Kerberos wizard in the official cloudera documentation. Address: https://docs.cloudera.com/cdp-private-cloud-base/7.1.5/security-kerberos-authentication/topics/cm-security-kerberos-enabling-step4-kerberos-wizard.html
During the startup process, the last step of starting the cluster starts to report errors. The services reporting errors include Kafka, HBase, jobhistory, etc. the relevant logs are as follows:
Kafka, HBase and other logs:
Jobhistory log:
It can be seen from the log that the ticket is expired, so the relevant configurations of krb5.conf and kdc.conf files are checked. The configuration seems to be OK, as follows:
So, I took a CM automatically generated KeyTab (/ var/run/cloudera SCM agent/process/15 HDFS datacode/HDFS. KeyTab) on the server and tried Kinit to see if it really expired, but the results are as follows:
This error seems to indicate that the KeyTab format of this version is not supported. Therefore, it is considered that the Kerberos version is incompatible. Just before, I saw that some people said that the Kerberos version is sometimes incompatible. Link: https://community.cloudera.com/t5/Support-Questions/Kerberos-ticket-expired-kinit-keytab-successfully-java/td-p/80522
The respondents here give such tips:
Therefore, after the version was changed to 1.15.50, the problem was solved. This log hint is still very lame. Kerberos style has always been like this.
Read More:
- CDH HDFS webui browser authentication (after Kerberos authentication is enabled)
- [ABAP] sproxy opens ESR and reports an error has occurred during communication ESR
- Kafka opens JMX port and reports that the error port is occupied
- Hadoop reports an error. Cannot access scala.serializable and python MapReduce reports an error
- Xshell 6 opens with an error prompt FlexNet_ Licensing
- The echots in Vue reports an error. After obtaining the DOM element, the chart can be displayed. The console still reports an error
- HTML method IE8 reports an error, IE8 jQuery Ajax obtains static resources reports an error, typeerror denies access
- The file server reports an error of 413, and the file uploaded by nginx reports an error of 413 request entity too large
- Lamdba in the studio part reports an error. Observe lamdba reports an error but can run
- Completely solve Mechanism level: Failed to find any Kerberos tgt
- Anaconda opens Navigator to report an error and a web page appears Navigator Error An unexpected error occurred on Navigator start-up Report
- HBase hangs up immediately after startup. The port reports an error of 500 and hmaster aborted
- Hash verification failed for CDH5.8.2 installation
- QT + MySQL generates an EXE file and reports an error “driver not loaded”. Solution steps
- Vue console reports an error duplicate keys detected: ‘XXXX’. This may cause an update error. Solution
- Objectinputstream of IO stream reports an error (resolved)
- CDH Namenode Abnormal stop Error: flush failed for required journal (JournalAndStream(mgr=QJM to
- Tomcat Error: because there was insufficient free space available after evicting expired cache entries
- Beeline connection hive2 reports an error permission denied
- Mysql reports an error Operand should contain 1 column(s)