一、Ambari启用kerberos
1、下载jce并解压至JAVA_HOME/jre/lib/security目录下,AMbari所有节点均需要
网址:http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html
cd 到JAVA_HOME/jre/lib/security
# unzip -o -j -q jce_policy-8.zip -d $JAVA_HOME/jre/lib/security
例如:
# unzip -o -j -q jce_policy-8.zip -d /usr/java/jdk1.8.0_121/jre/lib/security
2、kdc安装在mysql服务器上(所有的机器修要执行)
# yum install krb5-server krb5-libs krb5-workstation