HyukjinKwon commented on issue #24898: [SPARK-22340][PYTHON] Add a mode to pin 
Python thread into JVM's
URL: https://github.com/apache/spark/pull/24898#issuecomment-545213380
 
 
   Throwing an error or issuing a warning makes sense in a way it's not going 
to work when the thread is not pinned. 
   
   One thing we should consider, though, even with pin threading, it has some 
issues with inheritable threadlocal for now - it cannot inherit the 
threadlocals (see the examples in the PR description).
   
   While it is at least easily able to work around with this pin-thread mode 
(e.g., manually inheriting it when it creates another thread), I am less sure 
if we should document this (or throw an warning without this pin-thread mode) 
at this moment ...
   
   

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