Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D119B937C for ; Fri, 16 Dec 2011 08:31:02 +0000 (UTC) Received: (qmail 13120 invoked by uid 500); 16 Dec 2011 08:31:02 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 13088 invoked by uid 500); 16 Dec 2011 08:31:02 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 13080 invoked by uid 500); 16 Dec 2011 08:31:02 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 13077 invoked by uid 99); 16 Dec 2011 08:31:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Dec 2011 08:31:02 +0000 X-ASF-Spam-Status: No, hits=-2001.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Dec 2011 08:30:52 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 08733116D9C for ; Fri, 16 Dec 2011 08:30:31 +0000 (UTC) Date: Fri, 16 Dec 2011 08:30:31 +0000 (UTC) From: "Ramkumar Vadali (Updated) (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: <1479093052.18713.1324024231036.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1291454260.18641.1324021714901.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (HIVE-2660) Need better exception handling in RCFile tolerate corruptions mode MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HIVE-2660?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ramkumar Vadali updated HIVE-2660: ---------------------------------- Attachment: HIVE-2660.patch > Need better exception handling in RCFile tolerate corruptions mode > ------------------------------------------------------------------ > > Key: HIVE-2660 > URL: https://issues.apache.org/jira/browse/HIVE-2660 > Project: Hive > Issue Type: Bug > Components: Query Processor > Reporter: Ramkumar Vadali > Assignee: Ramkumar Vadali > Priority: Minor > Attachments: HIVE-2660.patch > > > The exception handling in nextKeyValueTolerateCorruptions treats IOException as follows: > - if EOFException, corrupt, can be tolerated > - If CheckSumException, corrupt, can be tolerated > - else not a corruption, re-throw > But the compression code can also throw IOException in case of corruption, which will get re-thrown in this case. > The correct way of handling IOException is: > - if BlockMissingException, re-throw. > - if not BlockMissingException -> corruption, can be tolerated -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira