[
https://issues.apache.org/jira/browse/SPARK-37785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17466665#comment-17466665
]
Apache Spark commented on SPARK-37785:
--------------------------------------
User 'HyukjinKwon' has created a pull request for this issue:
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
> Priority: Minor
>
> 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: [email protected]
For additional commands, e-mail: [email protected]