Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hive >> mail # dev >> Hive install doc: "$ ant package"


Copy link to this message
-
Re: Hive install doc: "$ ant package"
Lefty, please see my comments below.

> The current distribution directory is located at
> >
>
> packaging/target/apache-hive-0.13.0-SNAPSHOT-bin/apache-hive-0.13.0-SNAPSHOT-bin/,
> > which corresponds to previous build/dist/.
>
> The wiki needs a generic location, since we can't update it with every
> release (and people might install an older version).
> So would this work, or is the location variable?
>
> packaging/target/apache-hive-*<release_string>*-bin/apache-hive-
> *<release_string>*-bin/
>
>
This seems fine, but I think this might be changing over time in the 0.13
release as maven is just introduced.  I would think keeping existing
build/dist (such as create a soft link to the versioned folder above) might
be viable. Feel free to log a JIRA.

>
> Also, when you say the first maven command needs -Pdist, do you mean this?
>
> mvn clean install -DskipTests -Pdist
> cd itests
> mvn clean install -DskipTests
>
>
>
Yes. -Pdist is needed to generated the dist directory.
> -- Lefty
>
>
> On Sun, Nov 24, 2013 at 7:11 PM, Xuefu Zhang <[EMAIL PROTECTED]> wrote:
>
> > I think the replacement in doc would be good, though the subsequent text
> > also needs to be replaced. Specifically, the hive dist directory will be
> at
> > a different place. You need -Pdist in above first maven command to
> generate
> > the distribution directory. The current distribution directory is located
> > at
> >
> >
> packaging/target/apache-hive-0.13.0-SNAPSHOT-bin/apache-hive-0.13.0-SNAPSHOT-bin/,
> > which corresponds to previous build/dist/. On the other hand, hive build
> > should be able to create a softlink to make the old behavior work.
> >
> > Thanks,
> >
> > --Xuefu
> >
> >
> > On Sat, Nov 23, 2013 at 11:38 PM, Lefty Leverenz <
> [EMAIL PROTECTED]
> > >wrote:
> >
> > > Installing Hive<
> > >
> >
> https://cwiki.apache.org/confluence/display/Hive/AdminManual+Installation#AdminManualInstallation-InstallingHive
> > > >still
> > > gives the "ant" command for building Hive:
> > >
> > > To build Hive, execute the following command on the base directory:
> > > $ ant package
> > >
> > >
> > > Can that be replaced by these commands (from "How to build all
> > > source<
> > >
> >
> https://cwiki.apache.org/confluence/display/Hive/HiveDeveloperFAQ#HiveDeveloperFAQ-Howtobuildallsource%3F
> > > >"
> > > in Hive Developer FAQ)?
> > >
> > > MVN:
> > > mvn clean install -DskipTests
> > > cd itests
> > > mvn clean install -DskipTests
> > >
> > >
> > > -- Lefty
> > >
> >
>