Error: E0902: Exception occured: [User: Root is not allowed to impersonate root

岁酱吖の 提交于 2019-12-07 08:25:28

After adding the property files into core-site.xml restart your hadoop and try. Even though if it not works format the namenode and start hadoop it will work.

You need to add these properties in core-site.xml for impersonation in order to solve your whitelist error

 <property> 
 <name>hadoop.proxyuser.oozie.hosts</name> 
 <value>*</value> 
 </property> 

 <property> 
 <name>hadoop.proxyuser.oozie.groups</name> 
 <value>*</value> 
 </property>

Hope this fixes your issue.

Follow the advice in the article below. Hadoop before 1.1.0 doesn't support wildcard so you have to explicitly specified the hosts and the groups

http://mail-archives.apache.org/mod_mbox/oozie-user/201212.mbox/%3CCAOcnVr1TZZ5X0Mrb7fFA8JdW6rO6PgoJ9u0=2UYbfXf_o8r=DA@mail.gmail.com%3E

Hamdi Charef

I solved the problem by adding those lines in the core-site.xml-file

hadoop.proxyuser.root.hosts
value = *

hadoop.proxyuser.root.groups
value = *

and it works perfectly all my databases and tables are shown.

harshita
./oozie-setup.sh sharelib create -fs hdfs://localhost:9000

try to run this command using sudo.

check for hdfs if this path already exits i.e., /user/user_name/share/lib, if it exists remove it using

hadoop fs -rmr /user/user_name

After that run sudo ./oozied.sh. oozie will be started. Then check for your localhost:11000.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!