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

Ahmed Radwan commented on MAPREDUCE-4306:
-----------------------------------------

To reproduce this issue using the tarball on a single node cluster:

1- Start all the daemons using user1.
2- Switch to user2 and try to submit a distributed shell job:
{code}
bin/hadoop jar 
./share/hadoop/mapreduce/hadoop-yarn-applications-distributedshell-3.0.0-SNAPSHOT.jar
 org.apache.hadoop.yarn.applications.distributedshell.Client --jar 
./share/hadoop/mapreduce/hadoop-yarn-applications-distributedshell-3.0.0-SNAPSHOT.jar
 --shell_command ls --num_containers 1 --debug
{code}

I'll be uploading a patch momentarily.
                
> 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
>
> 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

        

Reply via email to