获取 E0902:发生异常:[用户:oozie 不允许冒充 oozie] [英] Getting E0902: Exception occured: [User: oozie is not allowed to impersonate oozie]
问题描述
我是 Oozie 的新手,我收到此错误 E0902:发生异常:[用户:不允许 pramod 模仿 pramod] 当我运行以下命令时
./oozie job -oozie htt p://localhost:11000/oozie/-config ~/Desktop/map-reduce/job.properties -run.
我的 hadoop 版本是 1.0.3,oozie 版本是 3.3.2 并且以伪模式运行
以下是我的core-site.xml的内容
<预><代码><配置><财产><name>hadoop.tmp.dir</name><value>/home/pramod/hadoop-${user.name}</value></属性><财产><name>fs.default.name</name><value>hdfs://localhost:54310</value></属性><财产><name>hadoop.proxyuser.${user.name}.hosts</name><值>*</值></属性><财产><name>hadoop.proxyuser.${user.name}.groups</name><值>*</值></属性></配置>有人可以帮忙吗
Hadoop 1.0.x 不支持通配符.httpn://mail-archives.apache.org/mod_mbox/oozie-user/201212.mbox/%3CCAOcnVr1TZZ5X0Mrb7fFA8JdW6rO6PgoJ9u0=2UYbfXf_o8r=DA@mail.gmail.com%3E
试试吧
<name>hadoop.proxyuser.oozie.hosts</name><value>本地主机</value></属性><财产><name>hadoop.proxyuser.oozie.groups</name><value>oozie,pramod</value></属性>
Hi i am new to Oozie and i am getting this error E0902: Exception occured: [User: pramod is not allowed to impersonate pramod] when i run the following command
./oozie job -oozie htt p://localhost:11000/oozie/ -config ~/Desktop/map-reduce /job.properties -run.
My hadoop version is 1.0.3 and oozie version is 3.3.2 and running in a pseudo mode
The following is the content of my core-site.xml
<configuration>
<property>
<name>hadoop.tmp.dir</name>
<value>/home/pramod/hadoop-${user.name}</value>
</property>
<property>
<name>fs.default.name</name>
<value>hdfs://localhost:54310</value>
</property>
<property>
<name>hadoop.proxyuser.${user.name}.hosts</name>
<value>*</value>
</property>
<property>
<name>hadoop.proxyuser.${user.name}.groups</name>
<value>*</value>
</property>
</configuration>
Can somebody help
Hadoop 1.0.x does not support wildcards. http://mail-archives.apache.org/mod_mbox/oozie-user/201212.mbox/%3CCAOcnVr1TZZ5X0Mrb7fFA8JdW6rO6PgoJ9u0=2UYbfXf_o8r=DA@mail.gmail.com%3E
So try
<property>
<name>hadoop.proxyuser.oozie.hosts</name>
<value>localhost</value>
</property>
<property>
<name>hadoop.proxyuser.oozie.groups</name>
<value>oozie,pramod</value>
</property>
这篇关于获取 E0902:发生异常:[用户:oozie 不允许冒充 oozie]的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!