hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ZhangBing Lin <lin.zhangb...@zte.com.cn>
Subject Re: Review Request 60355: HIVE-16929 User-defined UDF functions can be registered as invariant functions
Date Fri, 23 Jun 2017 03:17:11 GMT


> On 六月 22, 2017, 8:17 a.m., Barna Zsombor Klara wrote:
> > ql/src/java/org/apache/hadoop/hive/ql/util/ClassUtil.java
> > Lines 110 (patched)
> > <https://reviews.apache.org/r/60355/diff/1/?file=1758013#file1758013line110>
> >
> >     Can we log this out instead of just writing to the err stream? Same on line
117,122 and 149.

I had log this out instead of just writing to the err stream


- ZhangBing


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


On 六月 23, 2017, 3:13 a.m., ZhangBing Lin wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/60355/
> -----------------------------------------------------------
> 
> (Updated 六月 23, 2017, 3:13 a.m.)
> 
> 
> Review request for hive, cheng xu and Xuefu Zhang.
> 
> 
> Bugs: HIVE-16929
>     https://issues.apache.org/jira/browse/HIVE-16929
> 
> 
> Repository: hive-git
> 
> 
> Description
> -------
> 
> Add a configuration item "hive.aux.udf.package.name.list" in hive-site.xml, which is
a scan corresponding to the $HIVE_HOME/auxlib/ directory jar package that contains the corresponding
configuration package name under the class registered as a constant function.
> Such as,
> <property>
>   <name>hive.aux.udf.package.name.list</name>
>   <value>com.sample.udf,com.test.udf</value>
> </property>
> Instructions:
>    1, upload your jar file to $ HIVE_HOME/auxlib
>    2, configure your UDF function corresponding to the package to the following configuration
parameters
>    <property>
>         <name>hive.aux.udf.package.name.list</name>
>         <value>com.sample.udf</value>
>    </property>
>   
>    3, the configuration items need to be placed in the hive-site.xml file
>    4, restart the Hive service to take effect
> 
> 
> Diffs
> -----
> 
>   common/src/java/org/apache/hadoop/hive/conf/HiveConf.java a8bdefdad6 
>   ql/src/java/org/apache/hadoop/hive/ql/exec/FunctionRegistry.java 9795f3ef98 
>   ql/src/java/org/apache/hadoop/hive/ql/util/ClassUtil.java PRE-CREATION 
>   ql/src/java/org/apache/hadoop/hive/ql/util/UDFRegister.java PRE-CREATION 
> 
> 
> Diff: https://reviews.apache.org/r/60355/diff/2/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> ZhangBing Lin
> 
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message