thanks! its a little confusing. you suggest mapred.job.user, but some
googling also resulted in user.name and hadoop.job.ugi. are user.name and
hadoop.job.ugi related to the user that runs the daemons (as opposed to the
user that initiated the job)?

also, in secure mode don't the jvms run the tasks using the linux
credentials of the user that initiated the job? and if so, doesn't that
mean that i can get the username inside the tasks from System.getProperty("
user.name")?

On Thu, Apr 19, 2012 at 4:07 PM, Arun C Murthy <a...@hortonworks.com> wrote:

> mapred.job.user in JobConf for unsecure mode.
>
> In secure mode, I guess your best bet is to use JobHistory file or
> JobSummary log for the job (available _after_ job completion).
>
> Arun
>
> On Apr 20, 2012, at 12:35 AM, Koert Kuipers wrote:
>
> is there a way to find out which user is running a mapred job from the
> JobConf? and is this usable with both unsecure mode and secure (kerberos)
> mode?
> thanks for your help! koert
>
>
> --
> Arun C. Murthy
> Hortonworks Inc.
> http://hortonworks.com/
>
>
>

Reply via email to