Github user vanzin commented on a diff in the pull request:

    https://github.com/apache/spark/pull/23017#discussion_r233577372
  
    --- Diff: 
resource-managers/kubernetes/docker/src/main/dockerfiles/spark/entrypoint.sh ---
    @@ -30,6 +30,10 @@ set -e
     # If there is no passwd entry for the container UID, attempt to create one
     if [ -z "$uidentry" ] ; then
         if [ -w /etc/passwd ] ; then
    +        # TODO Should we allow providing an environment variable to set 
the desired username?
    --- End diff --
    
    > Because the container user is always a member of the root group
    
    I guess that settles it. So what you have is fine. (Comment about the TODO 
not being needed still applies, though.)


---

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

Reply via email to