Installing the UDF development package
To develop UDFs for Impala, download and install the
impala-udf-devel
package (RHEL-based distributions).
This package contains header files, sample source, and build
configuration files.
- In Cloudera Archive (at
https://archive.cloudera.com/cdh7/), locate the appropriate package
installation file for your operating system version.
Access to Cloudera Runtime packages for production purposes requires authentication.
- Install the Impala UDF package using the package
management command, e.g.,
yum
,zypper
, orapt-get
, depending on your operating system. For the package name, specifyimpala-udf-devel
(RHEL-based distributions) orimpala-udf-dev
(Ubuntu and Debian).
When you are ready to start writing your own UDFs, download the sample code and build scripts from the Cloudera sample UDF github. Then see Writing UDFs for how to code UDFs, and Examples of creating and using UDFs for how to build and run UDFs.