From hcatalog-commits-return-814-apmail-incubator-hcatalog-commits-archive=incubator.apache.org@incubator.apache.org Thu Apr 12 18:17:37 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 EDE3C956A for ; Thu, 12 Apr 2012 18:17:36 +0000 (UTC) Received: (qmail 22045 invoked by uid 500); 12 Apr 2012 18:17:36 -0000 Delivered-To: apmail-incubator-hcatalog-commits-archive@incubator.apache.org Received: (qmail 22014 invoked by uid 500); 12 Apr 2012 18:17:36 -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 22006 invoked by uid 99); 12 Apr 2012 18:17:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Apr 2012 18:17:36 +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; Thu, 12 Apr 2012 18:17:34 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 988C423889E7; Thu, 12 Apr 2012 18:17:13 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1325421 - in /incubator/hcatalog/branches/branch-0.4: CHANGES.txt src/java/org/apache/hcatalog/common/HCatUtil.java Date: Thu, 12 Apr 2012 18:17:13 -0000 To: hcatalog-commits@incubator.apache.org From: gates@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120412181713.988C423889E7@eris.apache.org> Author: gates Date: Thu Apr 12 18:17:12 2012 New Revision: 1325421 URL: http://svn.apache.org/viewvc?rev=1325421&view=rev Log: HCATALOG-365 HCatUtil.getStorageHandler should set the configuration Modified: incubator/hcatalog/branches/branch-0.4/CHANGES.txt incubator/hcatalog/branches/branch-0.4/src/java/org/apache/hcatalog/common/HCatUtil.java Modified: incubator/hcatalog/branches/branch-0.4/CHANGES.txt URL: http://svn.apache.org/viewvc/incubator/hcatalog/branches/branch-0.4/CHANGES.txt?rev=1325421&r1=1325420&r2=1325421&view=diff ============================================================================== --- incubator/hcatalog/branches/branch-0.4/CHANGES.txt (original) +++ incubator/hcatalog/branches/branch-0.4/CHANGES.txt Thu Apr 12 18:17:12 2012 @@ -106,6 +106,8 @@ Release 0.4.0 - Unreleased OPTIMIZATIONS BUG FIXES + HCAT-365 HCatUtil.getStorageHandler should set the configuration (traviscrawford via gates) + HCAT-371 A few javadoc warnings have crept into HCat (gates) HCAT-320 Remove filtering of table properties which are not prefix with "hcat." (rohini via gates) Modified: incubator/hcatalog/branches/branch-0.4/src/java/org/apache/hcatalog/common/HCatUtil.java URL: http://svn.apache.org/viewvc/incubator/hcatalog/branches/branch-0.4/src/java/org/apache/hcatalog/common/HCatUtil.java?rev=1325421&r1=1325420&r2=1325421&view=diff ============================================================================== --- incubator/hcatalog/branches/branch-0.4/src/java/org/apache/hcatalog/common/HCatUtil.java (original) +++ incubator/hcatalog/branches/branch-0.4/src/java/org/apache/hcatalog/common/HCatUtil.java Thu Apr 12 18:17:12 2012 @@ -509,9 +509,10 @@ public class HCatUtil { if ((storageHandler == null) || (storageHandler.equals(FosterStorageHandler.class.getName()))){ try { - return new FosterStorageHandler(inputFormat, - outputFormat, - serDe); + FosterStorageHandler fosterStorageHandler = + new FosterStorageHandler(inputFormat, outputFormat, serDe); + fosterStorageHandler.setConf(conf); + return fosterStorageHandler; } catch (ClassNotFoundException e) { throw new IOException("Failed to load " + "foster storage handler",e);