You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "L. C. Hsieh (Jira)" <ji...@apache.org> on 2020/11/08 18:12:00 UTC
[jira] [Created] (SPARK-33384) Delete temporary file when
cancelling writing to final path even underlying stream throwing error
L. C. Hsieh created SPARK-33384:
-----------------------------------
Summary: Delete temporary file when cancelling writing to final path even underlying stream throwing error
Key: SPARK-33384
URL: https://issues.apache.org/jira/browse/SPARK-33384
Project: Spark
Issue Type: Improvement
Components: Structured Streaming
Affects Versions: 3.1.0
Reporter: L. C. Hsieh
Assignee: L. C. Hsieh
In {{RenameBasedFSDataOutputStream.cancel}}, we do two things: closing underlying stream and delete temporary file, in a single try/catch block. Closing {{OutputStream}} could possibly throw {{IOException}} so we possibly missing deleting temporary file.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org