You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by Jason Dere <jd...@hortonworks.com> on 2014/03/20 01:13:36 UTC

Review Request 19435: HIVE-6672: JARs loaded by permanent functions don't work properly with HiveServer2

-----------------------------------------------------------
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