You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Nishkam Ravi (Jira)" <ji...@apache.org> on 2019/11/22 02:58:00 UTC

[jira] [Created] (SPARK-29992) Make access to getActive public

Nishkam Ravi created SPARK-29992:
------------------------------------

             Summary: Make access to getActive public
                 Key: SPARK-29992
                 URL: https://issues.apache.org/jira/browse/SPARK-29992
             Project: Spark
          Issue Type: Improvement
          Components: Spark Core
    Affects Versions: 2.4.4, 2.4.2, 2.4.1, 2.4.0, 2.3.4, 2.3.3
            Reporter: Nishkam Ravi
             Fix For: 2.4.5, 3.0.0


Currently a simple get on activeContext is missing. getOrCreate creates a new Spark context in the absence of an existing one but exposes activeContext anyway. For use cases that need access to an existing context if one exists without necessarily wanting to create one would benefit from this being publicly accessible.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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