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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to