Details
-
New Feature
-
Status: Patch Available
-
Major
-
Resolution: Unresolved
-
3.0.0
-
None
-
None
-
None
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>
note:Your UDF function needs to add annotations @Description of org.apache.hadoop.hive.ql.exec.Description;
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
Attachments
Attachments
Issue Links
- links to