stczwd opened a new pull request #28048: Remove useless conf set in pyspark 
context
URL: https://github.com/apache/spark/pull/28048
 
 
    ### What changes were proposed in this pull request?
   In Pyspark/context.py, we extract the configuration of the 
"spark.executorEnv" prefix from conf and put it in env. But in 
PythonWorkerFactory, we have already obtained these environment variables from 
ProgressBuilder, thus we do not need the extra copy.
   In addition, in some special environment deployments, user-configured 
environment variables such as "spark.executorEnv.Path=/usr/lib:$PATH" will be 
automatically parsed as actual machine confs. If we still directly copy and 
overwrite it, the configuration will be a wrong config.
   
   ### Does this PR introduce any user-facing change?
   No
   
   
   ### How was this patch tested?
   run suite tests

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to