Ah great, the auxlib dir option sounds perfect. Cheers
On 13 March 2013 17:41, Alex Kozlov <ale...@cloudera.com> 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 <krishnanj...@gmail.com>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 >> > >