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/09 16:24:18 UTC

svn commit: r812971 - in /hadoop/hive/branches/branch-0.4: CHANGES.txt ql/src/java/org/apache/hadoop/hive/ql/exec/FunctionRegistry.java

Author: rmurthy
Date: Wed Sep  9 14:24:17 2009
New Revision: 812971

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


Modified:
    hadoop/hive/branches/branch-0.4/CHANGES.txt
    hadoop/hive/branches/branch-0.4/ql/src/java/org/apache/hadoop/hive/ql/exec/FunctionRegistry.java

Modified: hadoop/hive/branches/branch-0.4/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/hive/branches/branch-0.4/CHANGES.txt?rev=812971&r1=812970&r2=812971&view=diff
==============================================================================
--- hadoop/hive/branches/branch-0.4/CHANGES.txt (original)
+++ hadoop/hive/branches/branch-0.4/CHANGES.txt Wed Sep  9 14:24:17 2009
@@ -223,6 +223,9 @@
     HIVE-679. Adding the basic JDBC methods to allow querying using the
     SQuirrelSQL tool. (Bill Graham via rmurthy)
 
+    HIVE-813. Show the actual exception thrown in UDF evaluation.
+    (Zheng Shao via rmurthy)
+
   OPTIMIZATIONS
 
     HIVE-279. Predicate Pushdown support (Prasad Chakka via athusoo).

Modified: hadoop/hive/branches/branch-0.4/ql/src/java/org/apache/hadoop/hive/ql/exec/FunctionRegistry.java
URL: http://svn.apache.org/viewvc/hadoop/hive/branches/branch-0.4/ql/src/java/org/apache/hadoop/hive/ql/exec/FunctionRegistry.java?rev=812971&r1=812970&r2=812971&view=diff
==============================================================================
--- hadoop/hive/branches/branch-0.4/ql/src/java/org/apache/hadoop/hive/ql/exec/FunctionRegistry.java (original)
+++ hadoop/hive/branches/branch-0.4/ql/src/java/org/apache/hadoop/hive/ql/exec/FunctionRegistry.java Wed Sep  9 14:24:17 2009
@@ -530,11 +530,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;
   }