hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jose Luis Soler <joso...@gmail.com>
Subject Mapreduce Job' user
Date Thu, 16 Feb 2012 17:51:30 GMT
Hi All,

Is there some way to force the owner (user name) of a Job sent to a 
Hadoop cluster?

I'm trying to use the following code when configuring the job:

JobConf job = new JobConf();

job.setUser("desiredUserName");

but it seems to have no effect as the job owner is sent as the user I'm 
logged into the system.

Even I tried  this:

System.set("user.name", "desiredUserName")

and this, at the command line when running the job:

-Duser.name=desiredUserName

getting no different result.

Thanks for your help.

Jose


Mime
View raw message