pgaref commented on a change in pull request #2200:
URL: https://github.com/apache/hive/pull/2200#discussion_r617731217
##########
File path: ql/src/java/org/apache/hadoop/hive/ql/exec/Registry.java
##########
@@ -553,21 +553,19 @@ private void addFunction(String functionName,
FunctionInfo function) {
Integer refCount = persistent.get(functionClass);
persistent.put(functionClass, Integer.valueOf(refCount == null ? 1 :
refCount + 1));
}
+ } catch (ClassNotFoundException e) {
Review comment:
The issues' root should be removePersistentFunctionUnderLock when trying
to get per UDFClass below -- not sure why this is needed here as part of
addFunction?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]