Re: Initializing hive sessions with Jars/temp functions

2012-04-05 Thread Sam William
Thanks very much . This is great !! On Apr 5, 2012, at 12:39 PM, Nitin Pawar wrote: > you can have a common a hiverc which everyone has access to and then alias > your hive command to use that hiverc > > ex: store hiverc in /etc/ with read permission for all along with the udfs > then alias h

Re: Initializing hive sessions with Jars/temp functions

2012-04-05 Thread Nitin Pawar
you can have a common a hiverc which everyone has access to and then alias your hive command to use that hiverc ex: store hiverc in /etc/ with read permission for all along with the udfs then alias hive command with hive -i /etc/hiverc On Fri, Apr 6, 2012 at 1:05 AM, Sam William wrote: > Hi, >

Re: Initializing hive sessions with Jars/temp functions

2012-04-05 Thread Edward Capriolo
Use hiverc files https://issues.apache.org/jira/browse/HIVE-1414 Or patch the function into hive. On Thu, Apr 5, 2012 at 3:35 PM, Sam William wrote: > Hi, >   I have this external jar with UDFs  .  I do not want to  everyone in the > company using these functions to  run   add jar blah.jar; crea

Initializing hive sessions with Jars/temp functions

2012-04-05 Thread Sam William
Hi, I have this external jar with UDFs . I do not want to everyone in the company using these functions to run add jar blah.jar; create temporary function blah as 'com.foo.bar.blahblah'; . I want every session to be preinitialized with these 2 statements ?what are my options ?