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.

-Varun



On 11/2/15, 3:46 PM, "Peter Rudenko" <[email protected]> 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.
>
>Thanks,
>Peter Rudenko

Reply via email to