Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hive >> mail # user >> Add external jars automatically


Copy link to this message
-
Re: Add external jars automatically
Ah great, the auxlib dir option sounds perfect.

Cheers
On 13 March 2013 17:41, Alex Kozlov <[EMAIL PROTECTED]> wrote:

> If you look into ${HIVE_HOME}/bin/hive script there are multiple ways to
> add the jar.  One of my favorite, besides the .hiverc file, has been to put
> the jar into ${HIVE_HOME}/auxlib dir.  There always is the
> HIVE_AUX_JARS_PATH environment variable (but this introduces a dependency
> on the environment).
>
>
> On Wed, Mar 13, 2013 at 10:26 AM, Krishna Rao <[EMAIL PROTECTED]>wrote:
>
>> Hi all,
>>
>> I'm using the hive json serde and need to run: "ADD JAR
>> /usr/lib/hive/lib/hive-json-serde-0.2.jar;", before I can use tables that
>> require it.
>>
>> Is it possible to have this jar available automatically?
>>
>> I could do it via adding the statement to a .hiverc file, but I was
>> wondering if there is some better way...
>>
>> Cheers,
>>
>> Krishna
>>
>
>
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB