Return-Path: X-Original-To: apmail-drill-dev-archive@www.apache.org Delivered-To: apmail-drill-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 4FCAC178A4 for ; Wed, 29 Apr 2015 10:21:37 +0000 (UTC) Received: (qmail 51033 invoked by uid 500); 29 Apr 2015 10:00:03 -0000 Delivered-To: apmail-drill-dev-archive@drill.apache.org Received: (qmail 12859 invoked by uid 500); 29 Apr 2015 09:59:04 -0000 Mailing-List: contact dev-help@drill.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@drill.apache.org Delivered-To: mailing list dev@drill.apache.org Received: (qmail 94658 invoked by uid 99); 29 Apr 2015 07:36:06 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Apr 2015 07:36:06 +0000 Date: Wed, 29 Apr 2015 07:36:06 +0000 (UTC) From: "Jacques Nadeau (JIRA)" To: dev@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (DRILL-2842) Parquet files with large file metadata sometimes fail to read in the FooterGather MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DRILL-2842?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacques Nadeau resolved DRILL-2842. ----------------------------------- Resolution: Fixed Fixed in a7a60a2 > Parquet files with large file metadata sometimes fail to read in the FooterGather > --------------------------------------------------------------------------------- > > Key: DRILL-2842 > URL: https://issues.apache.org/jira/browse/DRILL-2842 > Project: Apache Drill > Issue Type: Bug > Components: Storage - Parquet > Reporter: Jason Altekruse > Assignee: Jason Altekruse > Priority: Critical > Attachments: 2842.patch > > > Parquet files with large footers could not be read. The length of the footer is written at the end of the file. To avoid excessive reads for smaller files, we read a reasonable amount of the end of the file that may contain the whole footer, with the actual exact length appearing at the end of the read. After checking the length we tried to read the remining portion ahead of what was already read and splice them together. The offset for where to put the bytes read first was off. -- This message was sent by Atlassian JIRA (v6.3.4#6332)