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.