zoukankan      html  css  js  c++  java
  • Ambari安装HDP问题:User root is not allowed to impersonate anonymous.User: hcat is not allowed to impersonate ambari-qa

    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
  • 相关阅读:
    exit()和_exit()函数(转)
    C语言struct内存占用问题 (转)
    C语言中memset函数(转)
    STDIN_FILENO与stdin区别(转)
    stderr,strerror,errno,perror,论坛大神的回答!
    C++ 函数模版
    C++ 内置函数
    offsetof
    LockSupportDemo
    读写锁,await和signa
  • 原文地址:https://www.cnblogs.com/felixzh/p/10653293.html
Copyright © 2011-2022 走看看