hadoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Varun Vasudev <vvasu...@apache.org>
Subject Re: How to set user in ContainerLaunchContext?
Date Tue, 03 Nov 2015 14:02:40 GMT
Hi Peter,

What’s the container executor you’re using? If you’re using the DefaultContainerExecutor,
all jobs are run as the yarn user. You’ll have to use the LinuxContainerExecutor to run
containers as the user who submitted them.


On 11/2/15, 3:46 PM, "Peter Rudenko" <petro.rudenko@gmail.com> wrote:

>Hi, i have an ApplicationMaster which accepts requests and launches 
>spark jobs. In request i have a field "username" - the user i want to 
>laucnh a job from. How can i set a user which will be run conmmand on a 
>container? Currently they all running as yarn user even though AM is 
>running as a root user.
>Peter Rudenko

View raw message