hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zs...@apache.org
Subject svn commit: r934321 - in /hadoop/hive/trunk: CHANGES.txt ql/src/java/org/apache/hadoop/hive/ql/io/CombineHiveInputFormat.java
Date Thu, 15 Apr 2010 07:45:42 GMT
Author: zshao
Date: Thu Apr 15 07:45:41 2010
New Revision: 934321

URL: http://svn.apache.org/viewvc?rev=934321&view=rev
Log:
HIVE-1311. Bug in use of parameter hadoop supports splittable. (Namit Jain via zshao)

Modified:
    hadoop/hive/trunk/CHANGES.txt
    hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/io/CombineHiveInputFormat.java

Modified: hadoop/hive/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/hive/trunk/CHANGES.txt?rev=934321&r1=934320&r2=934321&view=diff
==============================================================================
--- hadoop/hive/trunk/CHANGES.txt (original)
+++ hadoop/hive/trunk/CHANGES.txt Thu Apr 15 07:45:41 2010
@@ -366,6 +366,9 @@ Trunk -  Unreleased
     HIVE-1298. unit test symlink_text_input_format.q needs ORDER BY for
     determinism (Ning Zhang via namit)
 
+    HIVE-1311. Bug in use of parameter hadoop supports splittable.
+    (Namit Jain via zshao)
+
 Release 0.5.0 -  Unreleased
 
   INCOMPATIBLE CHANGES

Modified: hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/io/CombineHiveInputFormat.java
URL: http://svn.apache.org/viewvc/hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/io/CombineHiveInputFormat.java?rev=934321&r1=934320&r2=934321&view=diff
==============================================================================
--- hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/io/CombineHiveInputFormat.java
(original)
+++ hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/io/CombineHiveInputFormat.java
Thu Apr 15 07:45:41 2010
@@ -252,7 +252,7 @@ public class CombineHiveInputFormat<K ex
 
       // Since there is no easy way of knowing whether MAPREDUCE-1597 is present in the tree
or not,
       // we use a configuration variable for the same
-      if (this.mrwork != null && this.mrwork.getHadoopSupportsSplittable()) {
+      if (this.mrwork != null && !this.mrwork.getHadoopSupportsSplittable()) {
         // The following code should be removed, once
         // https://issues.apache.org/jira/browse/MAPREDUCE-1597 is fixed.
         // Hadoop does not handle non-splittable files correctly for CombineFileInputFormat,



Mime
View raw message