commit | e2d2715ebe6e4663113010d365374248b7ea9a12 | [log] [tgz] |
---|---|---|
author | Vandana Ayyalasomayajula <avandana@apache.org> | Wed Sep 12 18:13:16 2012 +0000 |
committer | Vandana Ayyalasomayajula <avandana@apache.org> | Wed Sep 12 18:13:16 2012 +0000 |
tree | b2cb4949259ceae34ef51a35ac739ab4d08afc10 | |
parent | 5bd3e7f981bb7f3547942b824bafa18386172cfb [diff] |
Multiple store commands does not work with Hadoop23 git-svn-id: https://svn.apache.org/repos/asf/incubator/hcatalog/trunk@1384070 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/CHANGES.txt b/CHANGES.txt index 4c64015..f2e1ed8 100644 --- a/CHANGES.txt +++ b/CHANGES.txt
@@ -107,6 +107,8 @@ OPTIMIZATIONS BUG FIXES + HCAT-499 Multiple store commands does not work with Hadoop23 (rohinip via avandana) + HCAT-501 HBase storage handler tests failing in trunk (traviscrawford) HCAT-498 TestNotificationListener failing in trunk (traviscrawford)
diff --git a/src/java/org/apache/hcatalog/mapreduce/FileOutputCommitterContainer.java b/src/java/org/apache/hcatalog/mapreduce/FileOutputCommitterContainer.java index 8e692dc..336a3f2 100644 --- a/src/java/org/apache/hcatalog/mapreduce/FileOutputCommitterContainer.java +++ b/src/java/org/apache/hcatalog/mapreduce/FileOutputCommitterContainer.java
@@ -106,6 +106,8 @@ @Override public void commitTask(TaskAttemptContext context) throws IOException { if (!dynamicPartitioningUsed) { + //See HCATALOG-499 + FileOutputFormatContainer.setWorkOutputPath(context); getBaseOutputCommitter().commitTask(HCatMapRedUtil.createTaskAttemptContext(context)); } }