You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by "Yikun (via GitHub)" <gi...@apache.org> on 2023/05/26 02:45:29 UTC

[GitHub] [spark-docker] Yikun opened a new pull request, #44: [SPARK-43370] Switch spark user only when run driver and executor and set root as default

Yikun opened a new pull request, #44:
URL: https://github.com/apache/spark-docker/pull/44

   ### What changes were proposed in this pull request?
   Switch spark user only when run driver and executor
   
   
   ### Why are the changes needed?
   Address doi comments: question 7 [1]
   
   [1] https://github.com/docker-library/official-images/pull/13089#issuecomment-1533540388 
   [2] https://github.com/docker-library/official-images/pull/13089#issuecomment-1561793792
   
   
   ### Does this PR introduce _any_ user-facing change?
   Yes
   
   
   ### How was this patch tested?
   1. test mannuly
   ```
   cd ~/spark-docker/3.4.0/scala2.12-java11-ubuntu
   $ docker build . -t spark-test
   
   $ docker run -ti spark-test bash
   root@afa78af05cf8:/opt/spark/work-dir$
   
   $ docker run  --user spark  -ti spark-test bash
   spark@095e0d7651fd:/opt/spark/work-dir#
   ```
   2. ci passed
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark-docker] Yikun closed pull request #44: [SPARK-43370] Switch spark user only when run driver and executor and set root as default

Posted by "Yikun (via GitHub)" <gi...@apache.org>.
Yikun closed pull request #44: [SPARK-43370] Switch spark user only when run driver and executor and set root as default
URL: https://github.com/apache/spark-docker/pull/44


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org