Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hive, mail # dev - Review Request 19435: HIVE-6672: JARs loaded by permanent functions don't work properly with HiveServer2


Copy link to this message
-
Review Request 19435: HIVE-6672: JARs loaded by permanent functions don't work properly with HiveServer2
Jason Dere 2014-03-20, 00:13

This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19435/

Review request for hive, Ashutosh Chauhan and Vaibhav Gumashta.
Bugs: HIVE-6672
    https://issues.apache.org/jira/browse/HIVE-6672
Repository: hive-git
Description

When lookup up the FunctionInfo for a permanent UDF from the FunctionRegistry, check if the classloader can resolve the UDF class, and if that fails then load the JARs necessary for that permanent UDF.
Diffs

  ql/src/java/org/apache/hadoop/hive/ql/exec/CommonFunctionInfo.java PRE-CREATION
  ql/src/java/org/apache/hadoop/hive/ql/exec/FunctionInfo.java 053edf5
  ql/src/java/org/apache/hadoop/hive/ql/exec/FunctionRegistry.java 6045268
  ql/src/java/org/apache/hadoop/hive/ql/exec/WindowFunctionInfo.java f136500

Diff: https://reviews.apache.org/r/19435/diff/
Testing

Manually tested with hiveserver2
Thanks,

Jason Dere