You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by cw...@apache.org on 2011/01/13 21:22:19 UTC

svn commit: r1058730 - in /hive/trunk: CHANGES.txt ql/src/java/org/apache/hadoop/hive/ql/io/HiveInputFormat.java

Author: cws
Date: Thu Jan 13 20:22:18 2011
New Revision: 1058730

URL: http://svn.apache.org/viewvc?rev=1058730&view=rev
Log:
HIVE-1203. HiveInputFormat.getInputFormatFromCache swallows cause exception when trowing IOExcpetion (Vladimir Klimontovich via cws)

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

Modified: hive/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hive/trunk/CHANGES.txt?rev=1058730&r1=1058729&r2=1058730&view=diff
==============================================================================
--- hive/trunk/CHANGES.txt (original)
+++ hive/trunk/CHANGES.txt Thu Jan 13 20:22:18 2011
@@ -345,6 +345,9 @@ Trunk -  Unreleased
 
   BUG FIXES
 
+    HIVE-1203. HiveInputFormat.getInputFormatFromCache "swallows" cause exception when trowing IOExcpetion
+    (Vladimir Klimontovich via cws)
+
     HIVE-1524. Parallel Execution fails if mapred.job.name is set
     (Ning Zhang via jssarma)
 

Modified: hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/io/HiveInputFormat.java
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/io/HiveInputFormat.java?rev=1058730&r1=1058729&r2=1058730&view=diff
==============================================================================
--- hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/io/HiveInputFormat.java (original)
+++ hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/io/HiveInputFormat.java Thu Jan 13 20:22:18 2011
@@ -194,7 +194,7 @@ public class HiveInputFormat<K extends W
         inputFormats.put(inputFormatClass, newInstance);
       } catch (Exception e) {
         throw new IOException("Cannot create an instance of InputFormat class "
-            + inputFormatClass.getName() + " as specified in mapredWork!");
+            + inputFormatClass.getName() + " as specified in mapredWork!", e);
       }
     }
     return inputFormats.get(inputFormatClass);