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.
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
Unfortunately it is broken with the following error.
Error: E0501 : E0501: Could not perform authorization operation, User: hadoop is not allowed to impersonate hadoop
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.
<property> <name>hadoop.proxyuser.hadoop.groups</name> <value>*</value> </property> <property> <name>hadoop.proxyuser.hadoop.hosts</name> <value>gandhari</value> </property> </configuration>
hadoop – OS user name
gandhari – hostname