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 14:11:00 UTC

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

     [ https://issues.apache.org/jira/browse/SPARK-37785?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hyukjin Kwon resolved SPARK-37785.
----------------------------------
    Fix Version/s: 3.3.0
       Resolution: Fixed

Issue resolved by pull request 35065
[https://github.com/apache/spark/pull/35065]

> 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
>            Assignee: Hyukjin Kwon
>            Priority: Minor
>             Fix For: 3.3.0
>
>
> 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