Just briefly looking at the error and the configuration seems to me that
you might have the configuration mixed up.
The property
<name>oozie.service.ProxyUserService.proxyuser.ubuntu.hosts</name>
<value>*</value>
should probably be
<name>oozie.service.ProxyUserService.proxyuser.oozie.hosts</name>
<value>*</value>
This would mean that user oozie is allowed to impersonate anybody
(similar change for groups).
Thanks
Mehant
On 9/9/13 1:29 AM, Daniel Koller wrote:
Hi there,
I am running a CDH4 Hadoop Installation (Yarn) on a Ubuntu 12.04 LTS in
pseudo-distributed mode.
I want to start an oozie process from a pig script in the local ubuntu
users directory by
*oozie pig -file users.pig -config oozie.properties *
The error message is:
*130907121351030-oozie-oozi-W@pig1] Error starting action [pig1]. ErrorType
[TRANSIENT], ErrorCode [JA009], Message [JA009: User: oozie is not allowed
to impersonate ubuntu]*
*org.apache.oozie.action.ActionExecutorException: JA009: User: oozie is not
allowed to impersonate ubuntu*
* at
org.apache.oozie.action.ActionExecutor.convertExceptionHelper(ActionExecutor.java:418)....
*
* at java.lang.Thread.run(Thread.java:679)*
*Caused by:
org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.security.authorize.AuthorizationException):
User: oozie is not allowed to impersonate ubuntu*
* at org.apache.hadoop.ipc.Client.call(Client.java:1237)*
..
The relevant config files are:
*oozie.properties:*
*jobTracker=127.0.1.1:8032*
*mapred.job.tracker=127.0.1.1:8032*
*nameNode=hdfs://localhost:8020*
*namenode=hdfs://localhost:8020*
*fs.default.name=hdfs://localhost:8020*
*oozie.libpath=hdfs://localhost:8020/user/ubuntu/pig/lib/*
The relevant settings in *oozie-site.xml:*
...
<property>
<name>oozie.service.ProxyUserService.proxyuser.ubuntu.hosts</name>
<value>*</value>
<description>
...
</description>
</property>
<property>
<name>oozie.service.ProxyUserService.proxyuser.ubuntu.groups</name>
<value>oozie,ubuntu</value>
<description>
... </description>
</property>
.."
And the settings in hadoops* core-site.xml:*
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<configuration>
<property>
<name>fs.default.name</name>
<value>hdfs://localhost:8020</value>
</property>
<!-- OOZIE proxy user setting -->
<property>
<name>hadoop.proxyuser.oozie.hosts</name>
<value>*</value>
</property>
<property>
<name>hadoop.proxyuser.oozie.groups</name>
<value>*</value>
</property>
<!-- HTTPFS proxy user setting -->
<property>
<name>hadoop.proxyuser.httpfs.hosts</name>
<value>*</value>
</property>
<property>
<name>hadoop.proxyuser.httpfs.groups</name>
<value>*</value>
</property>
</configuration>
Any hints on what I do wrong?
Kind regards,
Daniel