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

Reply via email to