You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Takuya Ueshin (Jira)" <ji...@apache.org> on 2020/07/02 23:25:00 UTC

[jira] [Created] (SPARK-32160) Executors should not be able to create SparkContext.

Takuya Ueshin created SPARK-32160:
-------------------------------------

             Summary: Executors should not be able to create SparkContext.
                 Key: SPARK-32160
                 URL: https://issues.apache.org/jira/browse/SPARK-32160
             Project: Spark
          Issue Type: Bug
          Components: Spark Core
    Affects Versions: 3.0.0
            Reporter: Takuya Ueshin


Currently executors can create SparkContext, but shouldn't be able to create it.
{code:scala}
sc.range(0, 1).foreach { _ =>
  new SparkContext(new SparkConf().setAppName("test").setMaster("local"))
}
{code}



--
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