Hi, After I start the cluster as user1, I submit a job as a different user (user2) and get the following error. It seems that the job submitter still tries to act as user1 and locate the job.xml from /tmp/hadoop-user1 which does not exist. Anything wrong here?
Exception in thread "main" org.apache.hadoop.ipc.RemoteException: java.io.IOException: /tmp/hadoop-user1/mapred/system/job_200805292307_0001/job.xml: No such file or directory at org.apache.hadoop.fs.FileUtil.copy(FileUtil.java:159) at org.apache.hadoop.fs.FileUtil.copy(FileUtil.java:133) at org.apache.hadoop.fs.FileSystem.copyToLocalFile(FileSystem.java:1057) at org.apache.hadoop.fs.FileSystem.copyToLocalFile(FileSystem.java:1038) at org.apache.hadoop.mapred.JobInProgress.<init>(JobInProgress.java:148) at org.apache.hadoop.mapred.JobTracker.submitJob(JobTracker.java:1583) 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:409) at org.apache.hadoop.ipc.Server$Handler.run(Server.java:901) at org.apache.hadoop.ipc.Client.call(Client.java:512) at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:198) at $Proxy1.submitJob(Unknown Source) 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.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:82) at org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:59) at $Proxy1.submitJob(Unknown Source) at org.apache.hadoop.mapred.JobClient.submitJob(JobClient.java:588) at org.apache.hadoop.mapred.JobClient.runJob(JobClient.java:803) at org.apache.hadoop.mapred.pipes.Submitter.submitJob(Submitter.java:259) at org.apache.hadoop.mapred.pipes.Submitter.main(Submitter.java:413) Thanks, Rui