From hcatalog-commits-return-687-apmail-incubator-hcatalog-commits-archive=incubator.apache.org@incubator.apache.org Sun Feb 26 02:59:22 2012 Return-Path: X-Original-To: apmail-incubator-hcatalog-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-hcatalog-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2FFB39677 for ; Sun, 26 Feb 2012 02:59:22 +0000 (UTC) Received: (qmail 35538 invoked by uid 500); 26 Feb 2012 02:59:21 -0000 Delivered-To: apmail-incubator-hcatalog-commits-archive@incubator.apache.org Received: (qmail 35372 invoked by uid 500); 26 Feb 2012 02:59:15 -0000 Mailing-List: contact hcatalog-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hcatalog-dev@incubator.apache.org Delivered-To: mailing list hcatalog-commits@incubator.apache.org Received: (qmail 35304 invoked by uid 99); 26 Feb 2012 02:59:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Feb 2012 02:59:12 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Feb 2012 02:59:11 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 7E6582388900; Sun, 26 Feb 2012 02:58:51 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1293737 - in /incubator/hcatalog/trunk: CHANGES.txt src/java/org/apache/hcatalog/mapreduce/HCatOutputFormat.java Date: Sun, 26 Feb 2012 02:58:51 -0000 To: hcatalog-commits@incubator.apache.org From: gates@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120226025851.7E6582388900@eris.apache.org> Author: gates Date: Sun Feb 26 02:58:51 2012 New Revision: 1293737 URL: http://svn.apache.org/viewvc?rev=1293737&view=rev Log: HCATALOG-276 After merging in HCATALOG-237 related changes Pig scripts with more than one store fail Modified: incubator/hcatalog/trunk/CHANGES.txt incubator/hcatalog/trunk/src/java/org/apache/hcatalog/mapreduce/HCatOutputFormat.java Modified: incubator/hcatalog/trunk/CHANGES.txt URL: http://svn.apache.org/viewvc/incubator/hcatalog/trunk/CHANGES.txt?rev=1293737&r1=1293736&r2=1293737&view=diff ============================================================================== --- incubator/hcatalog/trunk/CHANGES.txt (original) +++ incubator/hcatalog/trunk/CHANGES.txt Sun Feb 26 02:58:51 2012 @@ -50,6 +50,8 @@ Trunk (unreleased changes) OPTIMIZATIONS BUG FIXES + HCAT-276 After merging in HCATALOG-237 related changes Pig scripts with more than one store fail (daijy via gates) + HCAT-257 e2e harness not working properly after file location change (gates) HCAT-270 HCatRecord SerDe does not handle List or List or List correctly (khorgath via gates) Modified: incubator/hcatalog/trunk/src/java/org/apache/hcatalog/mapreduce/HCatOutputFormat.java URL: http://svn.apache.org/viewvc/incubator/hcatalog/trunk/src/java/org/apache/hcatalog/mapreduce/HCatOutputFormat.java?rev=1293737&r1=1293736&r2=1293737&view=diff ============================================================================== --- incubator/hcatalog/trunk/src/java/org/apache/hcatalog/mapreduce/HCatOutputFormat.java (original) +++ incubator/hcatalog/trunk/src/java/org/apache/hcatalog/mapreduce/HCatOutputFormat.java Sun Feb 26 02:58:51 2012 @@ -206,8 +206,9 @@ public class HCatOutputFormat extends HC */ @Override public RecordWriter, HCatRecord> - getRecordWriter(TaskAttemptContext context - ) throws IOException, InterruptedException { + getRecordWriter(TaskAttemptContext context) + throws IOException, InterruptedException { + getOutputFormat(context).getOutputCommitter(context).setupJob(context); return getOutputFormat(context).getRecordWriter(context); }