2019独角兽企业重金招聘Python工程师标准>>>
在启动Hive-server2进程的时候报错
org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.security.authorize.AuthorizationException): User hive/cloudtest-2.example.com@CLOUDERA (auth:KERBEROS) is not authorized for protocol interface org.apache.hadoop.hdfs.protocol.ClientProtocol, expected client Kerberos principal is null
该异常说明 hive/cloudtest-2.example.com@CLOUDERA这个principal 没有权限访问。需要给它配置访问hadoop的权限。
需要在hdfs的配置的服务范围/严重性 授权的用户中加入 hive, 授权的组中加入hive.
到此。Kerberos和cdh的集成算是彻底明白了。
来自为知笔记(Wiz)
转载于:https://my.oschina.net/1987times/blog/295913
最后
以上就是朴素火最近收集整理的关于hive和Kerberos对接异常的全部内容,更多相关hive和Kerberos对接异常内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复