You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Tianhan Hu (Jira)" <ji...@apache.org> on 2022/01/13 03:40:00 UTC

[jira] [Created] (SPARK-37891) Add scalastyle check to disable scala.concurrent.ExecutionContext.Implicits.global

Tianhan Hu created SPARK-37891:
----------------------------------

             Summary: Add scalastyle check to disable scala.concurrent.ExecutionContext.Implicits.global
                 Key: SPARK-37891
                 URL: https://issues.apache.org/jira/browse/SPARK-37891
             Project: Spark
          Issue Type: Improvement
          Components: Spark Core
    Affects Versions: 3.2.0
            Reporter: Tianhan Hu
             Fix For: 3.2.2


Add scalastyle check to disable internal use of scala.concurrent.ExecutionContext.Implicits.global. 
The reason is that user queries can also use this thread pool, causing competing in resource and starvation. Spark-internal APIs should thus not use the global thread pool.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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