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

Executors should not be able to create SparkContext.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4.6, 3.0.0
    • Fix Version/s: 3.0.1, 3.1.0
    • Component/s: Spark Core
    • Labels:
      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

            • Assignee:
              ueshin Takuya Ueshin
              Reporter:
              ueshin Takuya Ueshin
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: