eubnara commented on code in PR #42690:
URL: https://github.com/apache/spark/pull/42690#discussion_r1307391012
##########
core/src/main/scala/org/apache/spark/SparkContext.scala:
##########
@@ -560,7 +560,7 @@ class SparkContext(config: SparkConf) extends Logging {
// TODO: Set this only in the Mesos scheduler.
executorEnvs("SPARK_EXECUTOR_MEMORY") = executorMemory + "m"
executorEnvs ++= _conf.getExecutorEnv
- executorEnvs("SPARK_USER") = sparkUser
+ executorEnvs("SPARK_USER") = Utils.getCurrentFullUserName()
Review Comment:
pass `SPARK_USER` env. from driver to executor.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]