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.

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

  2. Install the Impala UDF package using the package management command, e.g., yum, zypper, or apt-get, depending on your operating system. For the package name, specify impala-udf-devel (RHEL-based distributions) or impala-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.