Hi Alejandro!

Thanks for quick reply.

I've already added "hadoop.proxyuser.oozie.hosts"
and "hadoop.proxyuser.oozie.groups" properties to core-site.xml and
restarted NameNode and JobTrackers. Is there anything else I should do?

Also, I've manually copied hadoop jar into oozie lib directory
(/usr/lib/oozie) and restarted oozie service. Anything else?.

Thanks,
Samir

On 19 March 2012 19:34, Alejandro Abdelnur <[email protected]> wrote:

> Samir,
>
> You have to configure your hadoop cluster so oozie user (user the oozie
> server runs as) is a proxyuser user.
>
> If you are using cdh oozie and hadoop 0.20.205 you should make sure you are
> using the right Hadoop JARs in oozie.
>
> Thanks.
>
> Alejandro
>
> On Mon, Mar 19, 2012 at 11:14 AM, Samir Eljazovic <
> [email protected]
> > wrote:
>
> > Hi all,
> > I have small Hadoop cluster running on Amazon EMR and I want to configure
> > Oozie server running on a separate machine (with Hadoop installed but no
> > running hadoop services) to submit jobs to the cluster.
> >
> > I have everything set up and I'm able to start Oozie successfully but
> when
> > I try to submit job I got following error:
> >
> > *oozie job -oozie http://xxxxx.amazonaws.com:11000/oozie/ -config
> > examples/apps/map-reduce/job.properties -run*
> > *Error: E0902 : E0902: Exception occured:
> > [org.apache.hadoop.ipc.RemoteException: User: oozie is not allowed to
> > impersonate hadoop]*
> >
> > Following exception is logged inside NN log file:
> > *2012-03-19 17:06:40,169 INFO org.apache.hadoop.ipc.Server
> > (pool-1-thread-1): IPC Server listener on 9000: readAndProcess threw
> > exception org.apache.hadoop.security.AccessControlException: Connection
> > from xxx.xxx.xxx.xxx:XXXXXfor protocol
> > org.apache.hadoop.hdfs.protocol.ClientProtocol is unauthorized for user
> > hadoop via oozie. Count of bytes read: 0*
> > *org.apache.hadoop.security.AccessControlException: Connection from
> > xxx.xxx.xxx.xxx:XXXXX for protocol
> > org.apache.hadoop.hdfs.protocol.ClientProtocol is unauthorized for user
> > hadoop via oozie*
> > * at
> > org.apache.hadoop.ipc.Server$Connection.processOneRpc(Server.java:1287)
> > *
> > * at
> > org.apache.hadoop.ipc.Server$Connection.readAndProcess(Server.java:1182)*
> > * at org.apache.hadoop.ipc.Server$Listener.doRead(Server.java:537)*
> > * at org.apache.hadoop.ipc.Server$Listener$Reader.run(Server.java:344)*
> > * at
> >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> > *
> > * at
> >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> > *
> > * at java.lang.Thread.run(Thread.java:662)*
> >
> > Following proxy-user properties are added to core-site.xml file:
> > *
> >
> >
> <property><name>hadoop.proxyuser.oozie.hosts</name><value>*</value></property>
> > *
> > *
> >
> >
> <property><name>hadoop.proxyuser.oozie.groups</name><value>*</value></property>
> > *
> >
> > Hadoop version is 0.20.205 and Oozie version is 2.3.2-cdh3u3.
> > Oozie server is running as "oozie" linux user while I'm trying to submit
> > jobs logged as "hadoop" linux user. I have also tried creating new user
> > called "test" but the problem is same.
> >
> > Thanks,
> > Samir
> >
>

Reply via email to