zl程序教程

您现在的位置是:首页 >  其他

当前栏目

Ambari安装HDP问题:User root is not allowed to impersonate anonymous.User: hcat is not allowed to impersonate ambari-qa

安装 to not is user root Allowed Ambari
2023-09-11 14:18:41 时间

User root is not allowed to impersonate anonymous

  • 修改hadoop 配置文件 etc/hadoop/core-site.xml,加入如下配置项

<property>     <name>hadoop.proxyuser.root.hosts</name>     <value>*</value> </property> <property>     <name>hadoop.proxyuser.root.groups</name>     <value>*</value> </property>

 

    hadoop.proxyuser.root.hosts配置项名称中root部分为报错User:* 中的用户名部分

    例如User: zhaoshb is not allowed to impersonate anonymous则需要将xml变更为如下格式

<property>     <name>hadoop.proxyuser.zhaoshb.hosts</name>     <value>*</value> </property> <property>     <name>hadoop.proxyuser.zhaoshb.groups</name>     <value>*</value> </property>

Warning while installing apache spark 2 on hdp 2.5 - "error":"User: hcat is not allowed to impersonate ambari-qa"}http_code <500>

Custom webhcat-site

增加

webhcat.proxyuser.ambari-qa.groups=*
webhcat.proxyuser.ambari-qa.hosts=*


https://docs.hortonworks.com/HDPDocuments/Ambari-2.2.0.0/bk_ambari_views_guide/content/_configuring_your_cluster_for_files_view.html