You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2025/12/18 01:35:00 UTC
[jira] [Updated] (SPARK-54744) Only invalidate import cache when necessary in worker process
[ https://issues.apache.org/jira/browse/SPARK-54744?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated SPARK-54744:
-----------------------------------
Labels: pull-request-available (was: )
> Only invalidate import cache when necessary in worker process
> -------------------------------------------------------------
>
> Key: SPARK-54744
> URL: https://issues.apache.org/jira/browse/SPARK-54744
> Project: Spark
> Issue Type: Improvement
> Components: PySpark
> Affects Versions: 4.2.0
> Reporter: Tian Gao
> Priority: Major
> Labels: pull-request-available
>
> Each importlib.invalidate_caches call could take tens of ms - which is a pretty significant number. When we reuse workers, this is unnecessary because we are not introducing any new paths. We should only do it when necessary.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org