Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-29992

Make access to getActive public

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Won't Do
    • 2.3.3, 2.3.4, 2.4.0, 2.4.1, 2.4.2, 2.4.4
    • None
    • Spark Core
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              nishkamravi2 Nishkam Ravi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: