viirya commented on a change in pull request #28968:
URL: https://github.com/apache/spark/pull/28968#discussion_r479604890
##########
File path: docs/job-scheduling.md
##########
@@ -297,11 +297,9 @@ via `sc.setJobGroup` in a separate PVM thread, which also
disallows to cancel th
later.
In order to synchronize PVM threads with JVM threads, you should set
`PYSPARK_PIN_THREAD` environment variable
-to `true`. This pinned thread mode allows one PVM thread has one corresponding
JVM thread.
-
-However, currently it cannot inherit the local properties from the parent
thread although it isolates
-each thread with its own local properties. To work around this, you should
manually copy and set the
-local properties from the parent thread to the child thread when you create
another thread in PVM.
+to `true`. This pinned thread mode allows one PVM thread has one corresponding
JVM thread. With this mode,
+`pyspark.InheritableThread` is recommanded to use together for a PVM thread to
inherit the interitable attributes
Review comment:
typo: interitable -> inheritable
----------------------------------------------------------------
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]