• hive报错 root is not allowed to impersonate root (state=08S01,code=0)


    在hadoop 的core-site.xml添加如下内容 然后重启

    <property>
        <name>hadoop.proxyuser.root.groups</name>
        <value>root</value>
        <description>Allow the superuser oozie to impersonate any members of the group group1 and group2</description>
    </property>
    
    
    <property>
        <name>hadoop.proxyuser.root.hosts</name>
        <value>*</value>
        <description>The superuser can connect only from host1 and host2 to impersonate a user</description>
    </property>
  • 相关阅读:
    Celery
    高并发架构
    websocket
    git分支管理
    auto_ptr与shared_ptr
    UDP信号驱动IO
    TCP带外数据
    UDP广播
    获取mac地址
    char数组初始化
  • 原文地址:https://www.cnblogs.com/chong-zuo3322/p/15360190.html
Copyright © 2020-2023  润新知