[
https://issues.apache.org/jira/browse/SPARK-7693?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shixiong Zhu resolved SPARK-7693.
---------------------------------
Resolution: Fixed
Target Version/s: 1.4.0
> 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: [email protected]
For additional commands, e-mail: [email protected]