Home > other >  Clouder manager enabled kerbers can't start the HDFS
Clouder manager enabled kerbers can't start the HDFS

Time:10-03

Prawns help, use the cm5 configuration to enable kerberos, when to start the HDFS the KDC machine of other nodes can't start the service, an error is as follows:
Exception in namenode joinjava.io.IOException: Login failure for hdfs/[email protected] from keytab hdfs.keytab at org.apache.hadoop.security.UserGroupInformation.loginUserFromKeytab(UserGroupInformation.java:891) at org.apache.hadoop.security.SecurityUtil.login(SecurityUtil.java:242) at org.apache.hadoop.hdfs.server.namenode.NameNode.loginAsNameNodeUser(NameNode.java:527) at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:546) at org.apache.hadoop.hdfs.server.namenode.NameNode. (the NameNode. Java: 720) at org.. Apache hadoop. HDFS. Server. The NameNode. The NameNode. & lt; init> (NameNode.java:704) at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1354) at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1420)Caused by: javax.security.auth.login.LoginException: Client not found in Kerberos database (6) - CLIENT_NOT_FOUND at com.sun.security.auth.module.Krb5LoginModule.attemptAuthentication(Krb5LoginModule.java:763) at com.sun.security.auth.module.Krb5LoginModule.login(Krb5LoginModule.java:584) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at javax.security.auth.login.LoginContext.invoke(LoginContext.java:762) at javax.security.auth.login.LoginContext.access$000(LoginContext.java:203) at javax.security.auth.login.LoginContext$4.run(LoginContext.java:690) at javax.security.auth.login.LoginContext$4.run(LoginContext.java:688) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:687) at javax.security.auth.login.LoginContext.login(LoginContext.java:595) at org.apache.hadoop.security.UserGroupInformation.loginUserFromKeytab(UserGroupInformation.java:882) ... 7 moreCaused by: KrbException: Client not found in the Kerberos database (6) - CLIENT_NOT_FOUND at sun. Security. Krb5. KrbAsRep. & lt; init> (KrbAsRep. Java: 82) at sun. Security. Krb5. KrbAsReqBuilder. Send (KrbAsReqBuilder. Java: 319) at sun. Security. Krb5. KrbAsReqBuilder. Action (KrbAsReqBuilder. Java: 364) at the sun. The security. The auth. Module. Krb5LoginModule. AttemptAuthentication (Krb5LoginModule. Java: 735)... 20 moreCaused by: KrbException: Identifier doesn 't match expected value (906) at sun. Security. The krb5. Internal. KDCRep. The init (KDCRep. Java: 143) at sun. Security. The krb5. Internal. ASRep. The init (ASRep. Java: 65) at sun. Security. The krb5. Internal. ASRep. & lt; init> (ASRep. Java: 60) at sun. Security. Krb5. KrbAsRep. & lt; init> (KrbAsRep. Java: 60)... 23 more

CodePudding user response:

Analysis error: KrbException: Client not found in the Kerberos database configuration issues, it is not hard to, under the careful screening
My smart ideas, please support , thank you!
  • Related