GitHub PushEvent at 2014-10-07 19:07:42
Repository: spark
Actor: asfgit
Payload: {"shas":[["655032965fc7e2368dff9947fc024ac720ffd19c","399a71a219a2bbf15a9ad52c797d50eb921e7e28@gmail.com","[SPARK-3762] clear reference of SparkEnv after stop\n\nSparkEnv is cached in ThreadLocal object, so after stop and create a new SparkContext, old SparkEnv is still used by some threads, it will trigger many problems, for example, pyspark will have problem after restart SparkContext, because py4j use thread pool for RPC.\n\nThis patch will clear all the references after stop a SparkEnv.\n\ncc mateiz tdas pwendell\n\nAuthor: Davies Liu <davies.liu@gmail.com>\n\nCloses #2624 from davies/env and squashes the following commits:\n\na69f30c [Davies Liu] deprecate getThreadLocal\nba77ca4 [Davies Liu] remove getThreadLocal(), update docs\nee62bb7 [Davies Liu] cleanup ThreadLocal of SparnENV\n4d0ea8b [Davies Liu] clear reference of SparkEnv after stop","Davies Liu",true]],"size":1,"ref":"refs/heads/master","head":"655032965fc7e2368dff9947fc024ac720ffd19c"}