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 2026/10/01 03:50:00 UTC
[jira] [Assigned] (SPARK-59844) Preserve root causes for RTM async operation failures
[ https://issues.apache.org/jira/browse/SPARK-59844?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jungtaek Lim reassigned SPARK-59844:
------------------------------------
Assignee: Boyang Jerry Peng
> Preserve root causes for RTM async operation failures
> -----------------------------------------------------
>
> Key: SPARK-59844
> URL: https://issues.apache.org/jira/browse/SPARK-59844
> Project: Spark
> Issue Type: Improvement
> Components: Structured Streaming
> Affects Versions: 4.4.0
> Reporter: Boyang Jerry Peng
> Assignee: Boyang Jerry Peng
> Priority: Major
> Labels: pull-request-available
>
> Async progress tracking writes checkpoint offset and commit logs on a background thread. In Real-Time Mode, a failure in that thread interrupts the query execution thread.
> ErrorNotifier retains the first asynchronous error it observes. If it had already retained an earlier, non-interrupting error, the query could report that earlier error instead of the
> checkpoint-log failure that caused the interruption. A race with the foreground error check could also make the reported exception shape depend on timing.
> Additionally, asynchronous futures can introduce nested CompletionException or ExecutionException wrappers that obscure an already-categorized Spark error. Attaching related exceptions
> as suppressed errors could create cyclic or overlapping throwable graphs, producing [CIRCULAR REFERENCE] in rendered stack traces.
> This change makes the primary cause deterministic and exposes the actionable checkpoint-storage exception while retaining independent diagnostic context.
--
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