...
Building Hive from Source
The Hive SVN GIT repository for the most recent Hive code is located here: http git clone https://svngit-wip-us.apache.org/repos/asf/hive/trunk. The repository for branches containing released versions is located here: http://svn.apache.org/repos/asf/hive/branches. .git. All of the release versions are in subdirectories branches named "branch-1.#" or "branch-0.#" (except "branch-0.8-r2"); any subdirectories branches with other names are for works-in-progress.
...
To build the current Hive code on Hadoop 0.23 or later:
No Format |
---|
$ svngit coclone httphttps://svngit-wip-us.apache.org/repos/asf/hive/trunk hive.git $ cd hive $ mvn clean install -Phadoop-2,dist $ cd packaging/target/apache-hive-{version}-SNAPSHOT-bin/apache-hive-{version}-SNAPSHOT-bin $ ls LICENSE NOTICE README.txt RELEASE_NOTES.txt bin/ (all the shell scripts) lib/ (required jar files) conf/ (configuration files) examples/ (sample input and query files) hcatalog / (hcatalog installation) scripts / (upgrade scripts for hive-metastore) |
...