[
https://issues.apache.org/jira/browse/SPARK-6593?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15488883#comment-15488883
]
Charles Pritchard commented on SPARK-6593:
------------------------------------------
Something appears to have changed between 2.0 and 1.5.1: in 2.0 I have files
that will fail with "Unexpected end of input stream" whereas they read with
1.5.1 without error. Those files also trigger exceptions with command line
zcat/gzip.
> Provide option for HadoopRDD to skip corrupted files
> ----------------------------------------------------
>
> Key: SPARK-6593
> URL: https://issues.apache.org/jira/browse/SPARK-6593
> Project: Spark
> Issue Type: Improvement
> Components: Spark Core
> Affects Versions: 1.3.0
> Reporter: Dale Richardson
> Priority: Minor
>
> When reading a large amount of gzip files from HDFS eg. with
> sc.textFile("hdfs:///user/cloudera/logs*.gz"), If the hadoop input libraries
> report an exception then the entire job is canceled. As default behaviour
> this is probably for the best, but it would be nice in some circumstances
> where you know it will be ok to have the option to skip the corrupted file
> and continue the job.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]