Kerberos
2022-01-31 本文已影响0人
无量儿
1、hive配置Kerbros安全认证
https://blog.csdn.net/qianfeng_dashuju/article/details/107176639
[root@hadoop01 krb5kdc]# kadmin.local
创建用户
addprinc -randkey yarn/hadoop01@HIVE.COM
addprinc -randkey yarn/hadoop02@HIVE.COM
addprinc -randkey yarn/hadoop03@HIVE.COM
2、Kerberos常用命令总结
https://blog.csdn.net/sinat_32176947/article/details/79605448
https://blog.csdn.net/qianfeng_dashuju/article/details/107176639
https://www.jianshu.com/p/69e6a2e7c648
kadmin.local
klist -ket *.keytab
3、Caused by: KrbException: Checksum failed
https://blog.csdn.net/weixin_42240930/article/details/82866331
4、使用生成的keytab文件认证用户
https://www.cnblogs.com/chhyan-dream/p/13442628.html
https://www.jianshu.com/p/fc2d2dbd510b
kinit -kt /home/kerberos/hive.keytab hive/bdp4@TEST.COM