Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Pig, mail # dev - Pig 0.7 failing when used from Oozie2 with Hadoop Secure


Copy link to this message
-
Pig 0.7 failing when used from Oozie2 with Hadoop Secure
Alejandro Abdelnur 2010-09-18, 18:36
I'm trying to run Pig 0.7 from Oozie 2 against a Hadoop secure cluster and
Pig is failing with the exception a the end of this message.

I thought this was fixed. What patch should I apply to Pig 0.7 to get this
to work?

Thanks.

Alejandro

Backend error message during job submission
-------------------------------------------
org.apache.hadoop.ipc.RemoteException: java.io.IOException:
java.io.IOException: The username *OOZIE* obtained from the conf doesn't
match the username *TEST* the user authenticated as
at org.apache.hadoop.mapred.JobTracker.submitJob(JobTracker.java:3713)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:527)
at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1301)
at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1297)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:396)
at
org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1063)
at org.apache.hadoop.ipc.Server$Handler.run(Server.java:1295)
Caused by: java.io.IOException: The username *OOZIE* obtained from the conf
doesn't match the username *TEST* the user authenticated as
at org.apache.hadoop.mapred.JobInProgress.<init>(JobInProgress.java:375)
at org.apache.hadoop.mapred.JobTracker.submitJob(JobTracker.java:3711)
... 11 more

at org.apache.hadoop.ipc.Client.call(Client.java:1029)
at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:224)
at org.apache.hadoop.mapred.$Proxy2.submitJob(Unknown Source)
at org.apache.hadoop.mapred.JobClient$2.run(JobClient.java:859)
at org.apache.hadoop.mapred.JobClient$2.run(JobClient.java:793)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:396)
at
org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1063)
at org.apache.hadoop.mapred.JobClient.submitJobInternal(JobClient.java:793)
at org.apache.hadoop.mapred.JobClient.submitJob(JobClient.java:767)
at org.apache.hadoop.mapred.jobcontrol.Job.submit(Job.java:378)
at
org.apache.hadoop.mapred.jobcontrol.JobControl.startReadyJobs(JobControl.java:247)
at org.apache.hadoop.mapred.jobcontrol.JobControl.run(JobControl.java:279)
at java.lang.Thread.run(Thread.java:637)