gpt4 book ai didi

hadoop - 获取 E0902 : Exception occured: [User: oozie is not allowed to impersonate oozie]

转载 作者:可可西里 更新时间:2023-11-01 14:19:22 26 4
gpt4 key购买 nike

嗨,我是 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的内容

<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>

谁能帮忙

最佳答案

Hadoop 1.0.x 不支持通配符。 http://mail-archives.apache.org/mod_mbox/oozie-user/201212.mbox/%3CCAOcnVr1TZZ5X0Mrb7fFA8JdW6rO6PgoJ9u0=2UYbfXf_o8r=DA@mail.gmail.com%3E

那么试试

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

<property>
<name>hadoop.proxyuser.oozie.groups</name>
<value>oozie,pramod</value>
</property>

关于hadoop - 获取 E0902 : Exception occured: [User: oozie is not allowed to impersonate oozie],我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16582126/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com