[ 
https://issues.apache.org/jira/browse/SPARK-1155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Josh Rosen resolved SPARK-1155.
-------------------------------
    Resolution: Invalid

This issue is no longer relevant now that SparkEnv is no longer a thread-local.

> Clean up and document use of SparkEnv
> -------------------------------------
>
>                 Key: SPARK-1155
>                 URL: https://issues.apache.org/jira/browse/SPARK-1155
>             Project: Spark
>          Issue Type: New Feature
>          Components: Spark Core
>            Reporter: Patrick Wendell
>            Assignee: Andrew Or
>
> We should provide better documentation explaining what SparkEnv is and why it 
> needs to be thread local (basically, to allow it to be accessed inside of 
> closures on executors). Also, in cases where SparkEnv is being accessed on 
> the driver we should access it through the associated SparkContext rather 
> than through the thread local. Finally, we should see if it's possible to 
> just remove this as a thread local and instead make it a static singleton 
> that the exeucutor sets once. This last thing might not be possible if, under 
> certain code paths, this is used on the driver.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to