You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by ha...@apache.org on 2014/05/02 17:42:20 UTC
svn commit: r1591954 -
/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFBridge.java
Author: hashutosh
Date: Fri May 2 15:42:19 2014
New Revision: 1591954
URL: http://svn.apache.org/r1591954
Log:
HIVE-6995 : GenericUDFBridge should log exception when it is unable to instantiate UDF object (Jason Dere via Ashutosh Chauhan)
Modified:
hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFBridge.java
Modified: hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFBridge.java
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFBridge.java?rev=1591954&r1=1591953&r2=1591954&view=diff
==============================================================================
--- hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFBridge.java (original)
+++ hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFBridge.java Fri May 2 15:42:19 2014
@@ -141,8 +141,7 @@ public class GenericUDFBridge extends Ge
udf = (UDF) Class.forName(udfClassName, true, JavaUtils.getClassLoader()).newInstance();
} catch (Exception e) {
throw new UDFArgumentException(
- "The UDF implementation class '" + udfClassName
- + "' is not present in the class path");
+ "Unable to instantiate UDF implementation class " + udfClassName + ": " + e);
}
// Resolve for the method based on argument types