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 B977A17684 for ; Thu, 25 Sep 2014 20:10:34 +0000 (UTC) Received: (qmail 402 invoked by uid 500); 25 Sep 2014 20:10:34 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 315 invoked by uid 500); 25 Sep 2014 20:10:34 -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 300 invoked by uid 500); 25 Sep 2014 20:10:34 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 297 invoked by uid 99); 25 Sep 2014 20:10:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Sep 2014 20:10:34 +0000 Date: Thu, 25 Sep 2014 20:10:34 +0000 (UTC) From: "Gunther Hagleitner (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-8178) OrcNewInputFormat::getSplits() calls OrcInputFormat.generateSplitsInfo twice 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/HIVE-8178?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gunther Hagleitner updated HIVE-8178: ------------------------------------- Resolution: Fixed Fix Version/s: 0.14.0 Status: Resolved (was: Patch Available) Committed to trunk + 14 branch > OrcNewInputFormat::getSplits() calls OrcInputFormat.generateSplitsInfo twice > ---------------------------------------------------------------------------- > > Key: HIVE-8178 > URL: https://issues.apache.org/jira/browse/HIVE-8178 > Project: Hive > Issue Type: Bug > Components: File Formats > Affects Versions: 0.14.0 > Reporter: Gopal V > Assignee: Gopal V > Fix For: 0.14.0 > > Attachments: HIVE-8178.1.patch > > > {code} > Configuration conf = > ShimLoader.getHadoopShims().getConfiguration(jobContext); > List splits = > OrcInputFormat.generateSplitsInfo(ShimLoader.getHadoopShims() > .getConfiguration(jobContext)); > List result = new ArrayList(); > for(OrcSplit split: OrcInputFormat.generateSplitsInfo(conf)) { > result.add(new OrcNewSplit(split)); > } > {code} > The for loop does not iterate over the local variable. -- This message was sent by Atlassian JIRA (v6.3.4#6332)