spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Imran Rashid (JIRA)" <>
Subject [jira] [Commented] (SPARK-23308) ignoreCorruptFiles should not ignore retryable IOException
Date Tue, 06 Feb 2018 02:12:00 GMT


Imran Rashid commented on SPARK-23308:

well I think the complaint is that you end up losing data completely silently ... but OTOH,
you're sort of accepting that possibility when you say `ignoreCorruptFiles`.  So I am inclined
to think the right answer is, set `ignoreCorruptFiles=false`.  Perhaps the doc can be improved
a little.

> ignoreCorruptFiles should not ignore retryable IOException
> ----------------------------------------------------------
>                 Key: SPARK-23308
>                 URL:
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.2.1
>            Reporter: Márcio Furlani Carmona
>            Priority: Minor
> When `spark.sql.files.ignoreCorruptFiles` is set it totally ignores any kind of RuntimeException
or IOException, but some possible IOExceptions may happen even if the file is not corrupted.
> One example is the SocketTimeoutException which can be retried to possibly fetch the
data without meaning the data is corrupted.
> See: 

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message