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@**
记得配置jce