You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Anish Shrigondekar (Jira)" <ji...@apache.org> on 2023/03/04 00:06:00 UTC

[jira] [Created] (SPARK-42668) Catch exception while trying to close compressed stream in HDFSStateStoreProvider abort

Anish Shrigondekar created SPARK-42668:
------------------------------------------

             Summary: Catch exception while trying to close compressed stream in HDFSStateStoreProvider abort
                 Key: SPARK-42668
                 URL: https://issues.apache.org/jira/browse/SPARK-42668
             Project: Spark
          Issue Type: Task
          Components: Structured Streaming
    Affects Versions: 3.4.0
            Reporter: Anish Shrigondekar


Catch exception while trying to close compressed stream in HDFSStateStoreProvider abort

We have seen some cases where the task exits as cancelled/failed which triggers the abort in the task completion listener for HDFSStateStoreProvider. As part of this, we cancel the backing stream and close the compressed stream. However, different stores such as Azure blob store could throw exceptions which are not caught in the current path, leading to job failures. This change proposes to fix this issue.



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