hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shrijeet Paliwal <shrij...@rocketfuel.com>
Subject Re: How to add jar to Hive "globally"?
Date Fri, 12 Nov 2010 04:42:10 GMT
One other alternative,

Add following property to your hive-site.xml

<property>
<name>hive.aux.jars.path</name>
<value>file:///home/me/my.jar,file:///home/you/your.jar,file:///home/us/our.jar</value>
</property>


On Thu, Nov 11, 2010 at 8:05 PM, Edward Capriolo <edlinuxguru@gmail.com> wrote:
> On Thu, Nov 11, 2010 at 10:57 PM, bryan xu <bryanxu.daily@gmail.com> wrote:
>> Dear all,
>>      I would like to add jar to Hive  in one session, and make this jar
>> "global" available to other New sessions. It seems "add jar filename.jar"
>> only preHook on current thread.
>>    Any help or pointers on how to solve this?
>>
>> Thanks
>> bryan
>
> You can run commands globally. You can use place a .hiverc in user
> home or hive home.
> https://issues.apache.org/jira/browse/HIVE-1414
> Everything in this file is run on startup.
> Edward
>

Mime
View raw message