Creating UDF and UDAF for Impala
Installing the UDF Development Package
1 2 3 4 5 6 |
Get the quickstart VM sudo yum install gcc-c++ cmake boost-devel sudo yum install impala-udf-devel download <a href="https://github.com/cloudera/impala-udf-samples/archive/master.zip" target="_blank" rel="nofollow">https://github.com/cloudera/impala-udf-samples/archive/master.zip</a> unzip above cd into ../impala-udf-samples-master cmake . |
The output will be like below code. [cloudera@quickstart impala-udf-samples-master]$ cmake . — The C compiler identification is GNU 4.4.7 — The CXX compiler identification is GNU 4.4.7 — Check for working C compiler: /usr/bin/cc — Check for working C compiler: /usr/bin/cc — works — Detecting C compiler ABI info — Detecting C compiler ABI info – done — Check for working CXX compiler: /usr/bin/c++ […]