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 2015/05/18 02:13:59 UTC

[jira] [Commented] (SPARK-7693) Remove "import scala.concurrent.ExecutionContext.Implicits.global"

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

Apache Spark commented on SPARK-7693:
-------------------------------------

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

> Remove "import scala.concurrent.ExecutionContext.Implicits.global"
> ------------------------------------------------------------------
>
>                 Key: SPARK-7693
>                 URL: https://issues.apache.org/jira/browse/SPARK-7693
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Core
>            Reporter: Shixiong Zhu
>             Fix For: 1.4.0
>
>
> Learnt a lesson from SPARK-7655: Spark should avoid to use "scala.concurrent.ExecutionContext.Implicits.global" because the user may submit blocking actions to `scala.concurrent.ExecutionContext.Implicits.global` and exhaust all threads in it. This could crash Spark.
> So Spark should always use its own thread pools for safety.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org