You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (Jira)" <ji...@apache.org> on 2021/12/30 02:49:00 UTC

[jira] [Created] (SPARK-37785) Add Utils.isAtExecutor

Hyukjin Kwon created SPARK-37785:
------------------------------------

             Summary: Add Utils.isAtExecutor
                 Key: SPARK-37785
                 URL: https://issues.apache.org/jira/browse/SPARK-37785
             Project: Spark
          Issue Type: Improvement
          Components: Spark Core
    Affects Versions: 3.3.0
            Reporter: Hyukjin Kwon


There is currently no single call to see if we're on Executor (or Driver). TaskContext.get == null is being used for that way. We should better explicitly factor out to Utils.



--
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