一、禁用CDH集群的Kerberos
最近为了过等保认证,在开发测试用的CDH(5.11.1)集群上开启了Kerbros,并且基于开启了Kerberos
认证的集群上实现了各个组件功能的验证,完事后觉得加上认证后比较麻烦,就尝试操作去掉Kerberos,结果出现问题了…
禁用Kerberos的操作记录如下:
Zookeeper -> enableSecurity (Enable Kerberos Authentication)-> false
HDFS -> hadoop.security.authentication -> Simple
HDFS -> hadoop.security.authorization -> false
HDFS -> dfs.datanode.address -> from 1004 (for Kerberos) to default
HDFS -> dfs.datanode.http.address -> from 1006 (for Kerberos) to default
HDFS -> Data Directory Permissions -> from 700 to 755
HBASE -> hbase.security.authentication -> Simple
HBASE -> hbase.security.authorization -> false
二、Hmaster无法启动
在CM里面对各个组件做完第一步操作后,发现Hmaster起不来,错误日志如下:
2020-05-29 16:23:56,219 ERROR