HyukjinKwon edited a comment on pull request #33147:
URL: https://github.com/apache/spark/pull/33147#issuecomment-871104226


   Thank you @dongjoon-hyun !!
   
   > Since this is only at utill.py, we are still able to turn off the pined 
mode by PYSPARK_PIN_THREAD=false via java_gateway and Py4JServer.scala, right?
   
   Yes. This fix is in case other projects (e.g., Zeppelin) create the Java 
Gateway by themselves (and set it to `SparkContext`). In this case,  
`PYSPARK_PIN_THREAD` env won't be respected. (server side)
   
   I fixed `util.py` to respect the created the Java Gateway (instead of 
`PYSPARK_PIN_THREAD` environment variable) so it won't cause breakage in the 
case. (client side)


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