Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

If building Hive source using Maven, we will refer to the directory "/packaging/target/apache-hive-{version}-SNAPSHOT-bin/apache-hive-{version}-SNAPSHOT-bin" as <install-dir> in for the rest of the page.

Compile Hive on Hadoop 0.20

...

To build Hive in Ant against Hadoop 0.23, 2.0.0, or laterother version, build with the following flagsappopriate flag, some examples below:

No Format
  $ ant clean package -Dhadoop.version=0.23.3 -Dhadoop-0.23.version=0.23.3 -Dhadoop.mr.rev=23
  $ ant clean package -Dhadoop.version=2.0.0-alpha -Dhadoop-0.23.version=2.0.0-alpha -Dhadoop.mr.rev=23

...