安装

yum install krb5-devel.x86_64 krb5-workstation.x86_64 (centos系统)
sudo apt-get install krb5-user (ubuntu系统)

配置

cp krb5.conf krb5-hadoop.conf /etc/
kinit -k -t /etc/username.keytab username@**

常见错误

Failed to find any Kerberos tgt

记得配置jce