hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Szehon Ho <>
Subject Re: Running hive jdbc, local metastore, local mapreduce.
Date Thu, 27 Mar 2014 22:57:21 GMT

I'm not sure if there's documents, but it should be similar.  That is done
regularly as part of the Hive build, see the test:
You can see that project's pom, if you run it with hadoop-2 profile, then
it pulls in hadoop-2 dependency including the right version of JobConf.
You can emulate the same for your project.

Hope that helps.

On Thu, Mar 27, 2014 at 3:27 PM, Jay Vyas <> wrote:

> Are there any good documents on this?
> - Its easy to run hive in totally local JDBC with the 1.2 tarball, but
> its almost impossible it seems to run it with the 2.x hadoop tarballs.
> It seems like its heavily dependent on the JobConf class, which is a
> mapred* class, not
> in hadoop-common anymore.
> Im finding that there are references to JobConf in stack traces,
>  even when i use the right hadoop 2x JDBC drivers.
> So, i find its pretty easy to run using hive drivers with hadoop 1x, but
> not with 2x tarballs in local mode.
> --
> Jay Vyas

View raw message