You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by jc...@apache.org on 2016/06/08 18:54:53 UTC
hive git commit: Revert HIVE-13903 : getFunctionInfo should register
jars under a check (Reviewed by Amareshwari)
Repository: hive
Updated Branches:
refs/heads/master 148f35941 -> f4707b1f1
Revert HIVE-13903 : getFunctionInfo should register jars under a check (Reviewed by Amareshwari)
Project: http://git-wip-us.apache.org/repos/asf/hive/repo
Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/f4707b1f
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/f4707b1f
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/f4707b1f
Branch: refs/heads/master
Commit: f4707b1f1e5e74d12366a2aa682f015becf3b96d
Parents: 148f359
Author: Rajat Khandelwal <pr...@apache.org>
Authored: Wed Jun 8 19:50:46 2016 +0100
Committer: Jesus Camacho Rodriguez <jc...@apache.org>
Committed: Wed Jun 8 19:50:46 2016 +0100
----------------------------------------------------------------------
ql/src/java/org/apache/hadoop/hive/ql/exec/Registry.java | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hive/blob/f4707b1f/ql/src/java/org/apache/hadoop/hive/ql/exec/Registry.java
----------------------------------------------------------------------
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/exec/Registry.java b/ql/src/java/org/apache/hadoop/hive/ql/exec/Registry.java
index a89db68..86df74d 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/exec/Registry.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/exec/Registry.java
@@ -556,12 +556,7 @@ public class Registry {
// and the current thread may not be able to resolve the UDF. Test for this condition
// and if necessary load the JARs in this thread.
if (isNative && info != null && info.isPersistent()) {
- try {
- info.getFunctionClass();
- } catch (Exception e) {
- return registerToSessionRegistry(qualifiedName, info);
- }
- return info;
+ return registerToSessionRegistry(qualifiedName, info);
}
if (info != null || !isNative) {
return info; // We have the UDF, or we are in the session registry (or both).