Support Questions
Find answers, ask questions, and share your expertise
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Who agreed with this topic

Adding auxlib to hive server 2 using CM express 5.1.1

New Contributor


We are trying to add aux jar (containing serdes and udfs) to our HIVESERVER 2 service. 
We are able to do that to a hive cli not running in server mode. We basically change the hive-site.xml to include our aux-jar using the CM. 
However this doesn't affect the Hiveserver2 service, despite the fact the service's hive-site.xml is configured properly 
As a workaround to this problem we had to change the script as follows:
Changing the last line there from 
exec $HIVE_HOME/bin/hive  --config $CONF_DIR --service "$@" 
exec $HIVE_HOME/bin/hive  --config $CONF_DIR --service "$@" --hiveconf hive.aux.jars.path=file:///....
Can CM add this configuration always to this line,
Who agreed with this topic