操作系统:CentOS7.3
Cloudera Manager: 5.13.1
CDH: 5.13.1
CDH5.13禁用Kerberos
1. 停止集群
2. 修改配置参数
HDFS
hadoop.security.authentication -> simple hadoop.security.authorization -> 取消勾选 dfs.datanode.address -> 改成50010 dfs.datanode.http.address -> 改成50075 dfs.datanode.data.dir.perm –> 改成755 dfs.datanode.address -> 恢复默认50020
HBASE
hbase.security.authentication -> simple hbase.security.authorization -> 取消勾选 hbase.thrift.security.qop -> none
Hue
删除角色KerberosTicket Renewer
ZooKeeper
enableSecurity 取消勾选 zoo.cfg 的Server 高级配置代码段(安全阀)->写入skipACL=yes
Kafka(如果有)
Enable Kerberos Authentication -> 取消勾选
3. 重启CM
4. 重启集群
5. KDC服务关闭(如果需要)
KDC Server:
systemctl stop krb5kdc systemctl stop kadmin systemctl disable krb5kdc systemctl disable kadmin