...
Hive is a multi-module Maven project. If you are new to Maven, the articles below may be of interest:
...
In branch-1 both Hadoop 1.x and 2.x are supported. The The Hive build downloads a number of different Hadoop versions via Maven in order to compile "shims" which allow for compatibility with these Hadoop versions. However, the rest of Hive is only built and tested against a single Hadoop version.
The Maven build has two profiles, hadoop-1
for Hadoop 1.x and hadoop-2
for Hadoop 2.x. When building, you must specify which profile (via mavenprofile you wish to use via Maven's -P
command line option ) you wish to use(see How to build all source).
master
Hadoop 1.x is no longer supported in Hive's master branch. There is no need to specify a profile for most maven Maven commands, as Hadoop 2.x will always be chosen.
Info | ||
---|---|---|
| ||
On this page we assume you are building from the master branch and do not include the profile in the example maven Maven commands. If you are building on branch-1 you will need to select the appropriate profile for the version of Hadoop you are building against. |
...