holdenk opened a new pull request, #58696: URL: https://github.com/apache/spark/pull/58696
### What changes were proposed in this pull request? The legacy standalone Client built the driver Command with the submitter's full environment. Use RestSubmissionClient.filterSystemEnvironment (widened to private[spark]) so both submission paths forward the same Spark-relevant variables. Drivers in standalone cluster mode no longer inherit unrelated client environment variables through this path; spark.* settings continue to flow via sparkJavaOpts as before. ### Why are the changes needed? User env variables can be confusing if they end up deployed. ### Does this PR introduce _any_ user-facing change? Standalone submission more closely matches filtering in REST env submission ### How was this patch tested? Existing UT ### Was this patch authored or co-authored using generative AI tooling? Claude and cursor -- 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]
