Another question -- can I just change "Ant" to "Maven" in this opening
sentence (or should it specify a Maven version)?

Installing Hive is simple and only requires having Java 1.6 and Ant
> installed on your machine.


To deal with installation instructions that need Ant for previous releases,
I'm thinking of adding a note with a link to the old wikidoc in the page
history.  That seems simpler than maintaining duplicate instructions.  Are
there any reasons not to use the page history as supplemental
documentation?  Or perhaps it would be better to create a child page based
on the old wikidoc.  Whatever we decide to do, the same could be done for
developer docs.

-- Lefty


On Sun, Nov 24, 2013 at 7:33 PM, Xuefu Zhang <xzh...@cloudera.com> wrote:

> 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 <xzh...@cloudera.com>
> 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 <
> > leftylever...@gmail.com
> > > >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
> > > >
> > >
> >
>

Reply via email to