You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@slider.apache.org by "hsy541@gmail.com" <hs...@gmail.com> on 2014/11/21 03:05:48 UTC

I can't specify user by calling Execute method

Hi I specified user when call Execute(..., user='hdp',...) But the
container processes are all launched as *yarn* user

Re: I can't specify user by calling Execute method

Posted by Sumit Mohanty <su...@gmail.com>.
Actually, user="xyz" does not take effect in Slider. Mostly because the
agent does not run with root privileges and cannot do an "su". In general,
Yarn has the model of running all processes as the yarn user when the
cluster is non-secured and all processed run as the "running user"
(kerberos principal) when the cluster is secured.

On Thu, Nov 20, 2014 at 6:05 PM, hsy541@gmail.com <hs...@gmail.com> wrote:

> Hi I specified user when call Execute(..., user='hdp',...) But the
> container processes are all launched as *yarn* user
>



-- 
thanks
Sumit