Hi

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:
/hive/itests/hive-unit/src/test/java/org/apache/hive/jdbc/TestJdbcDriver2.java.
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.
Szehon


On Thu, Mar 27, 2014 at 3:27 PM, Jay Vyas <[email protected]> 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
> http://jayunit100.blogspot.com
>

Reply via email to