Github user tnachen commented on the pull request:

    https://github.com/apache/spark/pull/3741#issuecomment-68033611
  
    @jongyoul just to give more context on the Mesos side, a user was chosen to 
launch the executor command with by the following:
    - If mesos slave flag switch_user is disabled (it's true by default), the 
user that was used to launch the mesos slave is used to launch executor
    - then If ExecutorInfo's commandInfo has a user specified, that user is 
used instead
    - otherwise if FrameworkInfo has specified a user that user is used
    - otherwise it all defaults to the user that is launched Mesos slave with
    
    @JoshRosen The patch looks good from a Mesos executor perspective, as the 
launchTask is the method that actually performs the task, and if there is a 
user switching mechanism it is as close as it gets to. However I'm not sure 
when it is ran under the spark executor context if that user is truly 
preserved. @jongyoul have you tested this running a full spark task and 
verified it worked?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to