[ 
https://issues.apache.org/jira/browse/SPARK-29992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16980959#comment-16980959
 ] 

Dongjoon Hyun commented on SPARK-29992:
---------------------------------------

Thank you for filing a JIRA and making a PR, [~nishkamravi2]. Although it's not 
merged because Apache Spark community recommends `SparkSession` over 
`SparkContext`, this issue is a good reference for the others who have similar 
questions.

BTW, there is a community guide for `Fix Version`.
- https://spark.apache.org/contributing.html
{code}
Do not set the following fields:
- Fix Version. This is assigned by committers only when resolved.
- Target Version. This is assigned by committers to indicate a PR has been 
accepted for possible fix by the target version.
{code}

> 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.3.3, 2.3.4, 2.4.0, 2.4.1, 2.4.2, 2.4.4
>            Reporter: Nishkam Ravi
>            Priority: Major
>
> 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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to