Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Hive >> mail # user >> Initializing hive sessions with Jars/temp functions


+
Sam William 2012-04-05, 19:35
Copy link to this message
-
Re: Initializing hive sessions with Jars/temp functions
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 <[EMAIL PROTECTED]> 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; create
> temporary function blah as 'com.foo.bar.blahblah';  * .  I want every
> session to be preinitialized with  these 2 statements ?    what are my
> options ?
>
>
> Sam William
> [EMAIL PROTECTED]
>
>
>
>
--
Nitin Pawar
+
Sam William 2012-04-05, 20:48
+
Edward Capriolo 2012-04-05, 19:37