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 2022/01/13 04:36:00 UTC

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

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

Apache Spark commented on SPARK-37891:
--------------------------------------

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

> 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
>            Priority: Minor
>             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