You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Pranav Dev (Jira)" <ji...@apache.org> on 2026/02/03 18:21:00 UTC
[jira] [Created] (SPARK-55341) Add disk only optional feature flag when adding cached blocks
Pranav Dev created SPARK-55341:
----------------------------------
Summary: Add disk only optional feature flag when adding cached blocks
Key: SPARK-55341
URL: https://issues.apache.org/jira/browse/SPARK-55341
Project: Spark
Issue Type: Task
Components: Connect, Spark Core
Affects Versions: 4.2.0
Reporter: Pranav Dev
Cached artifact blocks in ArtifactManager currently use {{MEMORY_AND_DISK_SER}} storage level. In some scenarios with large artifacts, especially large local relations, this can cause memory pressure.
We can add a flag to control the storage level used for cached blocks:
* When enabled: uses {{DISK_ONLY}} storage level to reduce memory pressure
* When disabled (default): uses {{MEMORY_AND_DISK_SER}} storage level (current behavior)
This allows users to opt into disk-only storage for cached artifacts when memory is constrained, while maintaining backward compatibility with the default behavior.
--
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