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

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

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

Apache Spark commented on SPARK-32160:
--------------------------------------

User 'ueshin' has created a pull request for this issue:
https://github.com/apache/spark/pull/28986

> 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
>            Priority: Major
>
> 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