spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Márcio Furlani Carmona (JIRA) <j...@apache.org>
Subject [jira] [Commented] (SPARK-23308) ignoreCorruptFiles should not ignore retryable IOException
Date Tue, 13 Feb 2018 23:14:00 GMT

    [ https://issues.apache.org/jira/browse/SPARK-23308?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16363217#comment-16363217
] 

Márcio Furlani Carmona commented on SPARK-23308:
------------------------------------------------

{quote}if your input stream is doing abort/reopen on seek & positioned read, then you
get many more S3 requests when reading columnar data
{quote}
Good point! I'll see if I can get the actual S3 TPS we're reaching.

 

Regarding the SSE-KMS, we're not using it for encryption, so that shouldn't be a problem.

> ignoreCorruptFiles should not ignore retryable IOException
> ----------------------------------------------------------
>
>                 Key: SPARK-23308
>                 URL: https://issues.apache.org/jira/browse/SPARK-23308
>             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: 
> https://github.com/apache/spark/blob/e30e2698a2193f0bbdcd4edb884710819ab6397c/sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/FileScanRDD.scala#L163



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message