incubator-hcatalog-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
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 GMT
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);



Mime
View raw message