From issues-return-184137-archive-asf-public=cust-asf.ponee.io@spark.apache.org Mon Feb 5 19:39:07 2018 Return-Path: X-Original-To: archive-asf-public@eu.ponee.io Delivered-To: archive-asf-public@eu.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by mx-eu-01.ponee.io (Postfix) with ESMTP id DC3BB180647 for ; Mon, 5 Feb 2018 19:39:07 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id CC269160C4B; Mon, 5 Feb 2018 18:39:07 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 1FB5B160C3B for ; Mon, 5 Feb 2018 19:39:06 +0100 (CET) Received: (qmail 35006 invoked by uid 500); 5 Feb 2018 18:39:06 -0000 Mailing-List: contact issues-help@spark.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@spark.apache.org Received: (qmail 34997 invoked by uid 99); 5 Feb 2018 18:39:06 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Feb 2018 18:39:06 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id DF9D3C080E for ; Mon, 5 Feb 2018 18:39:05 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -110.311 X-Spam-Level: X-Spam-Status: No, score=-110.311 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id IXoaY29BaH9p for ; Mon, 5 Feb 2018 18:39:05 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id BE8E15FAC2 for ; Mon, 5 Feb 2018 18:39:04 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 93661E036B for ; Mon, 5 Feb 2018 18:39:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 6C956241C0 for ; Mon, 5 Feb 2018 18:39:00 +0000 (UTC) Date: Mon, 5 Feb 2018 18:39:00 +0000 (UTC) From: "Imran Rashid (JIRA)" To: issues@spark.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (SPARK-23308) ignoreCorruptFiles should not ignore retryable IOException MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SPARK-23308?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D163= 52744#comment-16352744 ]=20 Imran Rashid commented on SPARK-23308: -------------------------------------- I think the problem is that its really tricky to know which exceptions look= like a corrupted file and which don't, especially as {{readFunction()}} is= somewhat generic there. Yeah, SocketTimeException is perhaps worth a retr= y ... Did you run into this? Do you have a full stack trace of when you got a So= cketTimeoutException and the rest of the content was ignored? > 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=C3=A1rcio Furlani Carmona > Priority: Minor > > When=C2=A0`spark.sql.files.ignoreCorruptFiles`=C2=A0is set it totally ign= ores any kind of RuntimeException or IOException, but some possible IOExcep= tions may happen even if the file is not corrupted. > One example is the SocketTimeoutException which can be retried=C2=A0to=C2= =A0possibly fetch the data without meaning the data is corrupted. > =C2=A0 > See:=C2=A0 > https://github.com/apache/spark/blob/e30e2698a2193f0bbdcd4edb884710819ab6= 397c/sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/Fil= eScanRDD.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