You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "wuyi (Jira)" <ji...@apache.org> on 2021/03/18 14:25:00 UTC
[jira] [Created] (SPARK-34788) Spark throws FileNotFoundException
instead of IOException when disk is full
wuyi created SPARK-34788:
----------------------------
Summary: Spark throws FileNotFoundException instead of IOException when disk is full
Key: SPARK-34788
URL: https://issues.apache.org/jira/browse/SPARK-34788
Project: Spark
Issue Type: Improvement
Components: Spark Core
Affects Versions: 3.1.0, 3.0.0, 2.4.7
Reporter: wuyi
When the disk is full, Spark throws FileNotFoundException instead of IOException with the hint. It's quite a confusing error to users.
And there's probably a way to detect the disk full: when we get `FileNotFoundException`, we try [http://weblog.janek.org/Archive/2004/12/20/ExceptionWhenWritingToAFu.html] to see if SyncFailedException throws. If SyncFailedException throws, then we throw IOException with the disk full hint.
--
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