You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by rm...@apache.org on 2009/09/04 19:21:39 UTC

svn commit: r811498 - in /hadoop/hive/trunk: CHANGES.txt ql/src/java/org/apache/hadoop/hive/ql/exec/FunctionRegistry.java

Author: rmurthy
Date: Fri Sep  4 17:21:38 2009
New Revision: 811498

URL: http://svn.apache.org/viewvc?rev=811498&view=rev
Log:
HIVE-813. Show the actual exception thrown in UDF evaluation
(Zheng Shao via rmurthy)

Modified:
    hadoop/hive/trunk/CHANGES.txt
    hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/FunctionRegistry.java

Modified: hadoop/hive/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/hive/trunk/CHANGES.txt?rev=811498&r1=811497&r2=811498&view=diff
==============================================================================
--- hadoop/hive/trunk/CHANGES.txt (original)
+++ hadoop/hive/trunk/CHANGES.txt Fri Sep  4 17:21:38 2009
@@ -53,6 +53,9 @@
 
     HIVE-811. Fix Javadocs. (Namit Jain via zshao)
 
+    HIVE-813. Show the actual exception thrown in UDF evaluation
+    (Zheng Shao via rmurthy)
+
   OPTIMIZATIONS
 
   BUG FIXES

Modified: hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/FunctionRegistry.java
URL: http://svn.apache.org/viewvc/hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/FunctionRegistry.java?rev=811498&r1=811497&r2=811498&view=diff
==============================================================================
--- hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/FunctionRegistry.java (original)
+++ hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/FunctionRegistry.java Fri Sep  4 17:21:38 2009
@@ -485,11 +485,9 @@
         argumentString.append("} of size " + arguments.length);
       }
 
-      e.printStackTrace();
       throw new HiveException("Unable to execute method " + m + " "
           + " on object " + thisObjectString
-          + " with arguments " + argumentString.toString()
-          + ":" + e.getMessage());
+          + " with arguments " + argumentString.toString(), e);
     }
     return o;
   }