You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2019/05/24 23:01:02 UTC

[GitHub] [spark] lu-wang-dl opened a new pull request #24705: [SPARK-22340][PYTHON] Save localProperties in thread.local

lu-wang-dl opened a new pull request #24705: [SPARK-22340][PYTHON] Save localProperties in thread.local
URL: https://github.com/apache/spark/pull/24705
 
 
   ## What changes were proposed in this pull request?
   
   - Add `threading.local()` in `SparkContext`
   - Save the value to thread local variables when calling `setLocalProperty`, `setJobGroup`,  and `setJobDescription`
   - Add new API `getLocalProperties`
   - Send local properties to jvm side when calling `collect`
   - On jvm side `setLocalProperty` in `collectAndServe`
   
   ## How was this patch tested?
   
   Add one unit test in test_rdd.py
   
   Please review https://spark.apache.org/contributing.html before opening a pull request.
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org