holdenk commented on code in PR #58696:
URL: https://github.com/apache/spark/pull/58696#discussion_r4088383435


##########
core/src/main/scala/org/apache/spark/deploy/Client.scala:
##########
@@ -275,6 +277,24 @@ object Client {
     // scalastyle:on println
     new ClientApp().start(args, new SparkConf())
   }
+
+  /**
+   * Environment variables to forward to the driver. Only variables whose name 
starts with
+   * `SPARK_` are forwarded, excluding `SPARK_ENV_LOADED`, `SPARK_HOME`, 
`SPARK_CONF_DIR`,
+   * `SPARK_LOCAL_IP` and `SPARK_LOCAL_HOSTNAME`. The rule is defined by
+   * `RestSubmissionClient.filterSystemEnvironment`, so this matches the REST 
submission gateway.
+   * If `spark.standalone.submit.filterEnvironment` is disabled, the full 
environment of the
+   * submitting process is forwarded instead.
+   */
+  private[deploy] def driverEnvironment(

Review Comment:
   That makes sense to me.



-- 
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]

Reply via email to