You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Jungtaek Lim (Jira)" <ji...@apache.org> on 2023/08/01 19:54:00 UTC

[jira] [Assigned] (SPARK-44480) Add option for thread pool to perform maintenance for RocksDB/HDFS State Store Providers

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

Jungtaek Lim reassigned SPARK-44480:
------------------------------------

    Assignee: Eric Marnadi

> Add option for thread pool to perform maintenance for RocksDB/HDFS State Store Providers
> ----------------------------------------------------------------------------------------
>
>                 Key: SPARK-44480
>                 URL: https://issues.apache.org/jira/browse/SPARK-44480
>             Project: Spark
>          Issue Type: Improvement
>          Components: Structured Streaming
>    Affects Versions: 3.5.0
>            Reporter: Eric Marnadi
>            Assignee: Eric Marnadi
>            Priority: Major
>
> Maintenance tasks on StateStore was being done by a single background thread, which is prone to straggling. In this change, the single background thread would instead schedule maintenance tasks to a thread pool.
> Introduce {{spark.sql.streaming.stateStore.enableStateStoreMaintenanceThreadPool}} config so that the user can enable a thread pool for maintenance manually.
> Introduce {{spark.sql.streaming.stateStore.numStateStoreMaintenanceThreads}} config so the thread pool size is configurable.



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