hadoop-hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From na...@apache.org
Subject svn commit: r820180 - in /hadoop/hive/trunk: CHANGES.txt shims/src/0.20/java/org/apache/hadoop/hive/shims/Hadoop20Shims.java
Date Wed, 30 Sep 2009 05:19:53 GMT
Author: namit
Date: Wed Sep 30 05:19:53 2009
New Revision: 820180

URL: http://svn.apache.org/viewvc?rev=820180&view=rev
Log:
HIVE-845. Shims do not build against latest hadoop
(Cyrus Katrak via namit)


Modified:
    hadoop/hive/trunk/CHANGES.txt
    hadoop/hive/trunk/shims/src/0.20/java/org/apache/hadoop/hive/shims/Hadoop20Shims.java

Modified: hadoop/hive/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/hive/trunk/CHANGES.txt?rev=820180&r1=820179&r2=820180&view=diff
==============================================================================
--- hadoop/hive/trunk/CHANGES.txt (original)
+++ hadoop/hive/trunk/CHANGES.txt Wed Sep 30 05:19:53 2009
@@ -146,6 +146,9 @@
     HIVE-831. Remove ASTPartitionPruner (missed this in HIVE-844)
     (Namit Jain via rmurthy)
 
+    HIVE-845. Shims do not build against latest hadoop
+    (Cyrus Katrak via namit)
+
 Release 0.4.0 -  Unreleased
 
   INCOMPATIBLE CHANGES

Modified: hadoop/hive/trunk/shims/src/0.20/java/org/apache/hadoop/hive/shims/Hadoop20Shims.java
URL: http://svn.apache.org/viewvc/hadoop/hive/trunk/shims/src/0.20/java/org/apache/hadoop/hive/shims/Hadoop20Shims.java?rev=820180&r1=820179&r2=820180&view=diff
==============================================================================
--- hadoop/hive/trunk/shims/src/0.20/java/org/apache/hadoop/hive/shims/Hadoop20Shims.java
(original)
+++ hadoop/hive/trunk/shims/src/0.20/java/org/apache/hadoop/hive/shims/Hadoop20Shims.java
Wed Sep 30 05:19:53 2009
@@ -250,7 +250,12 @@
     implements HadoopShims.CombineFileInputFormatShim<K, V> {
 
     public Path[] getInputPathsShim(JobConf conf) {
-      Path[] paths = CombineFileInputFormat.getInputPaths(conf);
+      Path[] paths;
+      try {
+        paths = CombineFileInputFormat.getInputPaths(conf);
+      } catch (Exception e) {
+        throw new RuntimeException(e);
+      }
       Path[] newPaths = new Path[paths.length];
       // remove file:
       for (int pos = 0; pos < paths.length; pos++) 



Mime
View raw message