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

2021/10/1 23:14:04

本文主要是介绍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>

 



这篇关于hive报错 root is not allowed to impersonate root (state=08S01,code=0)的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!


扫一扫关注最新编程教程