hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Kozlov <>
Subject Re: Add external jars automatically
Date Wed, 13 Mar 2013 17:41:43 GMT
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 <>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

View raw message