hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ahmed Radwan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-4306) Problem running Distributed Shell applications as a user other than the one started the daemons
Date Mon, 18 Jun 2012 20:31:44 GMT

    [ https://issues.apache.org/jira/browse/MAPREDUCE-4306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13396223#comment-13396223

Ahmed Radwan commented on MAPREDUCE-4306:

Thanks Siddharth for the review!

I agree, I think it is  better to completely remove the "-user" option. I originally thought
of just keeping it in case it can be used for testing or other purposes. But leaving it now
may lead to confusion, and also setting it to something other than the original user will
lead to failure as described above. 

Also reading ApplicationConstants.Environment.USER is simpler than reevaluating the username
from ugi (which will give the same result after all). I have updated the patch accordingly.
> Problem running Distributed Shell applications as a user other than the one started the
> -----------------------------------------------------------------------------------------------
>                 Key: MAPREDUCE-4306
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4306
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>    Affects Versions: 2.0.0-alpha
>            Reporter: Ahmed Radwan
>            Assignee: Ahmed Radwan
>             Fix For: 2.0.1-alpha
>         Attachments: MAPREDUCE-4306.patch, MAPREDUCE-4306_rev2.patch
> Using the tarball, if you start the yarn daemons using one user and then switch to a
different user. You can successfully run MR jobs, but DS jobs fail to run. Only able to run
DS jobs using the user who started the daemons.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message