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