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

Executors should not be able to create SparkContext.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.4.6, 3.0.0
    • 3.0.1, 3.1.0
    • Spark Core
    • None

    Description

      Currently executors can create SparkContext, but shouldn't be able to create it.

      sc.range(0, 1).foreach { _ =>
        new SparkContext(new SparkConf().setAppName("test").setMaster("local"))
      }
      

      Attachments

        Activity

          People

            ueshin Takuya Ueshin
            ueshin Takuya Ueshin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: