It should just need hadoop-core.jar. If you look at the classpath that we set in
build-common.xml
<!-- the normal classpath -->
<path id="common-classpath">
<pathelement location="${hadoop.jar}"/>
<pathelement location="${build.dir.hive}/classes"/>
<fileset dir="${build.dir.hive}" includes="hive_*.jar"/>
<fileset dir="${src.dir.hive}/lib" includes="*.jar"/>
<fileset dir="${src.dir.hive}/ql/lib" includes="*.jar"/>
</path>
<path id="classpath">
<pathelement location="${build.dir.hive}/common/classes"/>
<pathelement location="${build.dir.hive}/serde/classes"/>
<pathelement location="${build.dir.hive}/metastore/classes"/>
<pathelement location="${build.dir.hive}/ql/classes"/>
<pathelement location="${build.dir.hive}/cli/classes"/>
<fileset dir="${test.src.data.dir}" includes="files/*.jar"/>
<fileset dir="${basedir}" includes="lib/*.jar"/>
<path refid="common-classpath"/>
</path>
The only thing that we pick from hadoop is the hadoop-core.jar.
All the other stuff should be in the hives lib/*.jar
Ashish
________________________________
From: Joydeep Sen Sarma [mailto:[email protected]]
Sent: Sunday, January 25, 2009 12:21 PM
To: [email protected]
Subject: RE: Hive w/o hadoop installation
I would say package everything up in hadoop/lib to be sure. (Even the jetty
stuff is now required by the hive web server I think)
________________________________
From: Prasad Chakka [mailto:[email protected]]
Sent: Sunday, January 25, 2009 10:08 AM
To: [email protected]
Subject: Re: Hive w/o hadoop installation
I am not sure what other jars hadoop-*core.jar requires. You could try it out
and keep adding corresponding jars when you see NoClassFoundException that
hadoop will throw out.
________________________________
From: Josh Ferguson <[email protected]>
Reply-To: <[email protected]>
Date: Sun, 25 Jan 2009 00:14:26 -0800
To: <[email protected]>
Subject: Re: Hive w/o hadoop installation
Just hadoop-*-core.jar?
I'm trying to figure out if I can just package up everything hive
needs into a single package.
Josh Ferguson
On Jan 24, 2009, at 10:01 PM, Prasad Chakka wrote:
> Hive client is invoked through hadoop client code so hadoop jar is
> needed
>
> Prasad from mobile so the brevity
>
> ----- Original Message -----
> From: Josh Ferguson <[email protected]>
> To: [email protected] <[email protected]>
> Sent: Sat Jan 24 19:23:47 2009
> Subject: Hive w/o hadoop installation
>
> Is it possible to run hive without a hadoop installation on the same
> machine? Is hive using hadoop for more than just its config files?
>
> Josh F.