[ https://issues.apache.org/jira/browse/MAPREDUCE-4306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13396080#comment-13396080 ]
Siddharth Seth commented on MAPREDUCE-4306: ------------------------------------------- The "-user" option in general seems to be broken. Even after this patch, the AM will be localized as the original user - since the RM picks up the username from ugi. Maybe we should remove the "-user" option completely? and use ApplicationConstants.Environment.USER in the AM - which is anyway set by the RM, based on the logged in user. > Problem running Distributed Shell applications as a user other than the one > started the daemons > ----------------------------------------------------------------------------------------------- > > 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