Hi hadoopers,
I’m sorry for resuming the tutorials. I need to complete a project first. Tutorial posts would be resumed after this.
Today, I tried to form a workflow with Oozie. Here is the way I executed it.
[code language=”bash”]
hadoop@gandhari:/opt/hadoop-2.6.4/workspace/oozie$ ../../oozie/bin/oozie job –oozie http://gandhari:11000/oozie/ -Doozie.wf.application.path=hdfs://gandhari:9000/user/hadoop/feed/myflow.xml -dryrun
[/code]
Unfortunately it is broken with the following error.
[code]
Error: E0501 : E0501: Could not perform authorization operation, User: hadoop is not allowed to impersonate hadoop
[/code]

hadoop is my OS user. It is the user who is running the Oozie daemon as well. core-site.xml should contain the following entry to proxy this user.
[code language=”xml”]
<property>
<name>hadoop.proxyuser.hadoop.groups</name>
<value>*</value>
</property>
<property>
<name>hadoop.proxyuser.hadoop.hosts</name>
<value>gandhari</value>
</property>
</configuration>
[/code]
hadoop – OS user name
gandhari – hostname