hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chinna <>
Subject RE: Hive Custom UDF - "hive.aux.jars.path" not working
Date Tue, 23 Aug 2011 05:00:51 GMT


  U need to mention the jar like this,


~/Documents/workspace/Hive_0_7_1/build/dist/conf$grep aux hive-site.xml 


 U r using CLI mode  so after changing the value if u start shell that is
ok...and in another mode also we can start hive that is hiveserver this case
after changing the value u need to restart the hive server



Chinna Rao Lalam


From: Amit Sharma [] 
Sent: Tuesday, August 23, 2011 3:35 AM
Subject: Re: Hive Custom UDF - "hive.aux.jars.path" not working


Hi Vaibhav,
  Excuse my ignorance as im a little new to Hive. What do you mean by
restart the Hive Server? I am using the Hive Interactive shell for my work.
So i start the shell after modifying the config variable. Which server do i
need to restart?


On Mon, Aug 22, 2011 at 2:49 PM, Aggarwal, Vaibhav <>

Did you restart the hive server after modifying the hive-site.xml settings?

I think you need to restart the server to pick up the latest settings in the
config file.





From: Amit Sharma [] 
Sent: Monday, August 22, 2011 2:42 PM
Subject: Hive Custom UDF - "hive.aux.jars.path" not working


  I build custom UDFS for hive and they seem to work fine when i explicitly
register the jars using the "add jar <jarname>" command or put in in the
environment variable "HIVE_AUX_JARS_PATH". But if i add it as a
configuration variable in the hive-site.xml file and try to register the
function using "create temporary function <functionname> as 'funciton' ", it
cannot find the jar. Any idea whats going on here? 

Here is the snippet from hive-site.xml:

~/Documents/workspace/Hive_0_7_1/build/dist/conf$grep aux hive-site.xml 



View raw message