Create a user-defined function
You export user-defined functionality (UDF) to a JAR from a Hadoop- and Hive-compatible Java project and store the JAR on your cluster or object store. Using Hive commands, you register the UDF based on the JAR, and call the UDF from a Hive query.
- You have access rights to upload the JAR to the cluster to your cluster or
object store.
Cloudera Manager, Minimum Required Role: Configurator (also provided by Cluster Administrator, Full Administrator).
- HiveServer is running on the cluster.
- You have installed Java and a Java integrated development environment (IDE) tool on the machine, or virtual machine, where you will create the UDF.