Support Questions

Find answers, ask questions, and share your expertise

Impala c++ udf - does building and deploying require restart?

avatar
New Contributor

Hi,

I compiled the udf-sample.cc and created shared lib file libudfsample.so using g++ since cmake is not installed in our dev env (g++ -Wall -shared -fPIC -std=c++0x -o libudfsample.so udf-sample.cc). I also did a "hdfs put" of the lib file. We're on CDH 5.3.3 and use Sentry for auths.

 

My question is - does HiveServer2 has any bearing on this? Will it require a restart for the sample c++ UDF functions to be available for use within Impala? 

 

Thanks for your help.

Vish

 

 

1 ACCEPTED SOLUTION

avatar
Rising Star
http://www.cloudera.com/documentation/enterprise/latest/topics/impala_udf.html#udf_tutorial_unique_1

describes the mechanism for using UDFs with Impala. It does not describe an Impala restart.

View solution in original post

1 REPLY 1

avatar
Rising Star
http://www.cloudera.com/documentation/enterprise/latest/topics/impala_udf.html#udf_tutorial_unique_1

describes the mechanism for using UDFs with Impala. It does not describe an Impala restart.