Your /tmp is probably not writable by your current user (ensure /tmp is 777 
perhaps). RunJar, which prepares a complete jar to submit to Hadoop, will 
require use of /tmp.

P.s., Please reply to and keep [email protected] in CC as well, so 
others can keep track of the conversation and reply back to you in case they 
have suggestions!

On 24-Jun-2011, at 11:19 AM, 俊平堵 wrote:

> Thanks for the reply. Yes. I think I cannot submit it as I try a test job as 
> following:
> bin/hadoop jar hadoop-0.20.2-test.jar TestDFSIO -write -nrFiles 2 -fileSize 
> 100
> The error I met is: 
> Exception in thread "main" java.io.IOException: Permission denied
>         at java.io.UnixFileSystem.createFileExclusively(Native Method)
>         at java.io.File.checkAndCreate(File.java:1704)
>         at java.io.File.createTempFile(File.java:1792)
>         at org.apache.hadoop.util.RunJar.main(RunJar.java:115)
> 
> My hadoop distribution is 0.20.2.
> 
> Thanks,
> 
> Junping
> 
> 2011/6/24 Harsh J <[email protected]>
> (-general@, +common-user@ -- Please use general@ only for project wide
> discussions)
> 
> User jobs do not need visibility of the java processes to submit jobs.
> 
> Specifically, are you facing any issues trying to run a job as another user?
> 
> On Fri, Jun 24, 2011 at 5:45 AM, 俊平堵 <[email protected]> wrote:
> > Hello all,
> >         I setup a hadoop cluster (0.20.2 distribution), and start it with
> > one user on master node. When I switch to another user, I even cannot see
> > any processes for hadoop (use jps command) which means I cannot submit job
> > into this cluster user another user account. I see a lot of articles saying
> > that hadoop support multi-tenancy, can anyone tell me how to configure it?
> > Thanks a lot!
> >
> > Best Regards,
> >
> > J.P
> >
> 
> 
> 
> --
> Harsh J
> 

Reply via email to