Author: avandana
Date: Wed Sep 12 18:17:48 2012
New Revision: 1384072

URL: http://svn.apache.org/viewvc?rev=1384072&view=rev
Log:
Multiple store commands does not work with Hadoop23

Modified:
    incubator/hcatalog/branches/branch-0.4/CHANGES.txt
    
incubator/hcatalog/branches/branch-0.4/src/java/org/apache/hcatalog/mapreduce/FileOutputCommitterContainer.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=1384072&r1=1384071&r2=1384072&view=diff
==============================================================================
--- incubator/hcatalog/branches/branch-0.4/CHANGES.txt (original)
+++ incubator/hcatalog/branches/branch-0.4/CHANGES.txt Wed Sep 12 18:17:48 2012
@@ -63,6 +63,8 @@ Trunk (unreleased changes)
   OPTIMIZATIONS
 
   BUG FIXES
+  HCAT-499 Multiple store commands does not work with Hadoop23 (rohinip via 
avandana)
+
   HCAT-445 Clover builds broken on trunk (rohinip via avandana)
 
   HCAT-477 Drop table API in webhcat client does not respect the "ifExists" 
parameter. (avandana)

Modified: 
incubator/hcatalog/branches/branch-0.4/src/java/org/apache/hcatalog/mapreduce/FileOutputCommitterContainer.java
URL: 
http://svn.apache.org/viewvc/incubator/hcatalog/branches/branch-0.4/src/java/org/apache/hcatalog/mapreduce/FileOutputCommitterContainer.java?rev=1384072&r1=1384071&r2=1384072&view=diff
==============================================================================
--- 
incubator/hcatalog/branches/branch-0.4/src/java/org/apache/hcatalog/mapreduce/FileOutputCommitterContainer.java
 (original)
+++ 
incubator/hcatalog/branches/branch-0.4/src/java/org/apache/hcatalog/mapreduce/FileOutputCommitterContainer.java
 Wed Sep 12 18:17:48 2012
@@ -110,6 +110,8 @@ class FileOutputCommitterContainer exten
     @Override
     public void commitTask(TaskAttemptContext context) throws IOException {
         if (!dynamicPartitioningUsed){
+            //See HCATALOG-499
+            FileOutputFormatContainer.setWorkOutputPath(context);
             
getBaseOutputCommitter().commitTask(HCatMapRedUtil.createTaskAttemptContext(context));
         }
     }


Reply via email to