kerberos安全hadoop集群开启高可用

https://docs.cloudera.com/documentation/enterprise/6/latest/topics/cdh_hag_hdfs_ha_config.html
开启高可用后,需要修改的地方
1.hive相关的所有服务必须全部关闭,然后更新Hive Metastore Namenode,然后重启
如果开启了hive on spark,不更新Hive Metastore Namenode,会报如下错误

delegation token can be issued only with kerberos or web authentication

在这里插入图片描述
2.安装HttpFS
安装完后,不要忘记生成HttpFS的kerberos凭据,否则启动不成功
步骤:管理->安全->Kerberos凭据->生成丢失的凭据
在这里插入图片描述
3.Hue
将 Hue 服务 Hue 的 HDFS Web 界面角色 配置为 HTTPFS 角色,而非 NameNode
在这里插入图片描述

发布了118 篇原创文章 · 获赞 37 · 访问量 17万+

猜你喜欢

转载自blog.csdn.net/woloqun/article/details/103136643