Kerberos authentication failed on CDP7
程序员文章站
2024-02-28 11:41:16
...
CDP and Kerberos authentication failed
CDP使能Kerberos后,使用hdfs查看文件系统,认证不通过
引用自:
https://blog.csdn.net/woloqun/article/details/90676083
报错信息:
[[email protected] qun]# hdfs dfs -ls /
19/05/29 18:06:15 WARN ipc.Client: Exception encountered while connecting to the server : org.apache.hadoop.security.AccessControlException: Client cannot authenticate via:[TOKEN, KERBEROS]
ls: Failed on local exception: java.io.IOException: org.apache.hadoop.security.AccessControlException: Client cannot authenticate via:[TOKEN, KERBEROS]; Host Details : local host is: "hadoop001/172.17.239.230"; destination host is: "hadoop001":8020;
解决办法:将krb5.conf文件中的default_ccache_name注释掉,然后执行kdestroy,重新kinit,问题解决
[libdefaults]
dns_lookup_realm = false
ticket_lifetime = 24h
renew_lifetime = 7d
forwardable = true
rdns = false
default_realm = HADOOP.COM
#default_ccache_name = KEYRING:persistent:%{uid}
推荐阅读
-
Kerberos authentication failed on CDP7
-
java mail: javax.mail.AuthenticationFailedException: 535 authentication failed
-
javax.mail.AuthenticationFailedException: 535 authentication failed的问题
-
关于发邮件报错535 Error:authentication failed解决方法
-
fatal: Authentication failed for解决方法
-
javax.mail.AuthenticationFailedException: 535 Error: authentication failed
-
FATAL: Peer authentication failed for user "postgres" 解决方法
-
Git报错fatal:Authentication failed for‘https://git……解决方法
-
Github desktop Authentication failed解决方法
-
CAS Authentication failed