[ 
https://issues.apache.org/jira/browse/SPARK-7693?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sean Owen updated SPARK-7693:
-----------------------------
    Assignee: Shixiong Zhu

> 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
>            Assignee: 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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to