User: is not allowed to impersonate hduser

2012-12-11 Thread Oleg Zhurakousky
Trying to submit a MR job from the local machine and getting the above error Any idea Thanks Oleg

Re: User: is not allowed to impersonate hduser

2012-12-11 Thread Harsh J
Are you attempting to specify a user.name=hduser in your configs while submitting the job? On Tue, Dec 11, 2012 at 10:19 PM, Oleg Zhurakousky wrote: > Trying to submit a MR job from the local machine and getting the above error > > Any idea > > Thanks > Oleg -- Harsh J

Re: User: is not allowed to impersonate hduser

2012-12-11 Thread Oleg Zhurakousky
Harsh, thanx for replying but I just figured it out UserGroupInformation ugi = UserGroupInformation.createRemoteUser("hduser"); ugi.doAs(new PrivilegedAction() { . . . } On Dec 11, 2012, at 12:40 PM, Harsh J wrote: > Are you attempting to specify a user.name=hduser in your configs

Re: User: is not allowed to impersonate hduser

2012-12-11 Thread Harsh J
Great. This is described in more detail at http://hadoop.apache.org/common/docs/stable/Secure_Impersonation.html. On Tue, Dec 11, 2012 at 11:24 PM, Oleg Zhurakousky wrote: > Harsh, thanx for replying but I just figured it out > UserGroupInformation ugi = UserGroupInformation.createRemoteUser("hdu