You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Imran Rashid (JIRA)" <ji...@apache.org> on 2019/01/29 18:01:00 UTC

[jira] [Created] (SPARK-26774) Document threading concerns in TaskSchedulerImpl

Imran Rashid created SPARK-26774:
------------------------------------

             Summary: Document threading concerns in TaskSchedulerImpl
                 Key: SPARK-26774
                 URL: https://issues.apache.org/jira/browse/SPARK-26774
             Project: Spark
          Issue Type: Improvement
          Components: Scheduler, Spark Core
    Affects Versions: 3.0.0
            Reporter: Imran Rashid


TaskSchedulerImpl has a bunch of threading concerns, which are not well documented -- in fact the docs it has are somewhat misleading.  In particular, some of the methods should only be called within the DAGScheduler event loop.

This suggests some potential refactoring to avoid so many mixed concerns inside TaskSchedulerImpl, but that's a lot harder to do safely, I just want to add some comments.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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