You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Shixiong Zhu (JIRA)" <ji...@apache.org> on 2015/05/18 02:10:59 UTC
[jira] [Created] (SPARK-7693) Remove "import
scala.concurrent.ExecutionContext.Implicits.global"
Shixiong Zhu created SPARK-7693:
-----------------------------------
Summary: 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