You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@oozie.apache.org by Savitha Devi Inbasekaran <Sa...@smartek21.com> on 2013/03/15 13:02:00 UTC
Oozie job failed with RemoteException
Hi,
I am using Hadoop 1.0.4 and Oozie 3.3.0. I tried to run first sample job in oozie but got the following error:
bin/oozie job -oozie http://localhost:11000/oozie -config /usr/local/oozie-3.3.0/distro/target/oozie-3.3.0-distro/oozie-3.3.0/examples/apps/map-reduce/job.properties -run
Error: E0902 : E0902: Exception occured: [org.apache.hadoop.ipc.RemoteException: User: hduser is not allowed to impersonate hduser]
Hadoop core-site.xml properties:
<!-- OOZIE -->
<property>
<name>hadoop.proxyuser.hduser.hosts</name>
<value>localhost</value>
</property>
<property>
<name>hadoop.proxyuser.hduser.groups</name>
<value>hduser</value>
</property>
Hduser is the user. Is anything has to be changed in the core-site.xml?
Thanks,
Savitha
RE: Oozie job failed with RemoteException
Posted by Savitha Devi Inbasekaran <Sa...@smartek21.com>.
It worked with the following changes in the hadoop core-site.xml.
Savitha is the superuser
------------hadoop core-site.xml---------------
<!-- OOZIE -->
<property>
<name>hadoop.proxyuser.savitha.hosts</name>
<value>localhost</value>
</property>
<property>
<name>hadoop.proxyuser.savitha.groups</name>
<value>hadoop</value>
</property>
<property>
<name>hadoop.proxyuser.hduser.hosts</name>
<value>localhost</value>
</property>
<property>
<name>hadoop.proxyuser.hduser.groups</name>
<value>hadoop</value>
</property>
-----Original Message-----
From: Savitha Devi Inbasekaran [mailto:Savithadi@smartek21.com]
Sent: Saturday, March 16, 2013 3:37 PM
To: user@oozie.apache.org
Subject: RE: Oozie job failed with RemoteException
hduser is the user in group hadoop. hduser is the user and hadoop is the group. And it is in JT/NN.
________________________________________
From: Alejandro Abdelnur [tucu@cloudera.com]
Sent: Friday, March 15, 2013 4:27 PM
To: user@oozie.apache.org
Subject: Re: Oozie job failed with RemoteException
Savitha,
is hduser a group in the JT/NN and the hduser belongs to the hduser group?
Thanks.
On Fri, Mar 15, 2013 at 5:02 AM, Savitha Devi Inbasekaran < Savithadi@smartek21.com> wrote:
> Hi,
> I am using Hadoop 1.0.4 and Oozie 3.3.0. I tried to run first sample
> job in oozie but got the following error:
>
> bin/oozie job -oozie http://localhost:11000/oozie -config
> /usr/local/oozie-3.3.0/distro/target/oozie-3.3.0-distro/oozie-3.3.0/ex
> amples/apps/map-reduce/job.properties
> -run
>
> Error: E0902 : E0902: Exception occured:
> [org.apache.hadoop.ipc.RemoteException: User: hduser is not allowed to
> impersonate hduser]
>
> Hadoop core-site.xml properties:
>
> <!-- OOZIE -->
> <property>
> <name>hadoop.proxyuser.hduser.hosts</name>
> <value>localhost</value>
> </property>
> <property>
> <name>hadoop.proxyuser.hduser.groups</name>
> <value>hduser</value>
> </property>
>
> Hduser is the user. Is anything has to be changed in the core-site.xml?
>
> Thanks,
> Savitha
>
>
--
Alejandro
RE: Oozie job failed with RemoteException
Posted by Savitha Devi Inbasekaran <Sa...@smartek21.com>.
hduser is the user in group hadoop. hduser is the user and hadoop is the group. And it is in JT/NN.
________________________________________
From: Alejandro Abdelnur [tucu@cloudera.com]
Sent: Friday, March 15, 2013 4:27 PM
To: user@oozie.apache.org
Subject: Re: Oozie job failed with RemoteException
Savitha,
is hduser a group in the JT/NN and the hduser belongs to the hduser group?
Thanks.
On Fri, Mar 15, 2013 at 5:02 AM, Savitha Devi Inbasekaran <
Savithadi@smartek21.com> wrote:
> Hi,
> I am using Hadoop 1.0.4 and Oozie 3.3.0. I tried to run first sample job
> in oozie but got the following error:
>
> bin/oozie job -oozie http://localhost:11000/oozie -config
> /usr/local/oozie-3.3.0/distro/target/oozie-3.3.0-distro/oozie-3.3.0/examples/apps/map-reduce/job.properties
> -run
>
> Error: E0902 : E0902: Exception occured:
> [org.apache.hadoop.ipc.RemoteException: User: hduser is not allowed to
> impersonate hduser]
>
> Hadoop core-site.xml properties:
>
> <!-- OOZIE -->
> <property>
> <name>hadoop.proxyuser.hduser.hosts</name>
> <value>localhost</value>
> </property>
> <property>
> <name>hadoop.proxyuser.hduser.groups</name>
> <value>hduser</value>
> </property>
>
> Hduser is the user. Is anything has to be changed in the core-site.xml?
>
> Thanks,
> Savitha
>
>
--
Alejandro
Re: Oozie job failed with RemoteException
Posted by Alejandro Abdelnur <tu...@cloudera.com>.
Savitha,
is hduser a group in the JT/NN and the hduser belongs to the hduser group?
Thanks.
On Fri, Mar 15, 2013 at 5:02 AM, Savitha Devi Inbasekaran <
Savithadi@smartek21.com> wrote:
> Hi,
> I am using Hadoop 1.0.4 and Oozie 3.3.0. I tried to run first sample job
> in oozie but got the following error:
>
> bin/oozie job -oozie http://localhost:11000/oozie -config
> /usr/local/oozie-3.3.0/distro/target/oozie-3.3.0-distro/oozie-3.3.0/examples/apps/map-reduce/job.properties
> -run
>
> Error: E0902 : E0902: Exception occured:
> [org.apache.hadoop.ipc.RemoteException: User: hduser is not allowed to
> impersonate hduser]
>
> Hadoop core-site.xml properties:
>
> <!-- OOZIE -->
> <property>
> <name>hadoop.proxyuser.hduser.hosts</name>
> <value>localhost</value>
> </property>
> <property>
> <name>hadoop.proxyuser.hduser.groups</name>
> <value>hduser</value>
> </property>
>
> Hduser is the user. Is anything has to be changed in the core-site.xml?
>
> Thanks,
> Savitha
>
>
--
Alejandro