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

Switch to Threaded View
Hive >> mail # dev >> Building Hive


Copy link to this message
-
Re: Building Hive
You will need either "-Phadoop-1" or "-Phadoop-2" option.
On Mon, Jan 6, 2014 at 12:33 PM, Konstantin Weitz <
[EMAIL PROTECTED]> wrote:

> I'm trying to build Hive from the trunk source. I ran
>
> mvn compile
>
> But I got the following error messages.
> What am I doing wrong?
> Is there documentation on how to build Hive?
>
>
> [INFO] -------------------------------------------------------------
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Hive .............................................. SUCCESS [1.158s]
> [INFO] Hive Ant Utilities ................................ SUCCESS [3.550s]
> [INFO] Hive Shims Common ................................. SUCCESS [1.129s]
> [INFO] Hive Shims 0.20 ................................... SUCCESS [0.814s]
> [INFO] Hive Shims Secure Common .......................... SUCCESS [1.089s]
> [INFO] Hive Shims 0.20S .................................. SUCCESS [0.480s]
> [INFO] Hive Shims 0.23 ................................... SUCCESS [1.221s]
> [INFO] Hive Shims ........................................ SUCCESS [0.131s]
> [INFO] Hive Common ....................................... FAILURE [2.518s]
> [INFO] Hive Serde ........................................ SKIPPED
> [INFO] Hive Metastore .................................... SKIPPED
> [INFO] Hive Query Language ............................... SKIPPED
> [INFO] Hive Service ...................................... SKIPPED
> [INFO] Hive JDBC ......................................... SKIPPED
> [INFO] Hive Beeline ...................................... SKIPPED
> [INFO] Hive CLI .......................................... SKIPPED
> [INFO] Hive Contrib ...................................... SKIPPED
> [INFO] Hive HBase Handler ................................ SKIPPED
> [INFO] Hive HCatalog ..................................... SKIPPED
> [INFO] Hive HCatalog Core ................................ SKIPPED
> [INFO] Hive HCatalog Pig Adapter ......................... SKIPPED
> [INFO] Hive HCatalog Server Extensions ................... SKIPPED
> [INFO] Hive HCatalog Webhcat Java Client ................. SKIPPED
> [INFO] Hive HCatalog Webhcat ............................. SKIPPED
> [INFO] Hive HCatalog HBase Storage Handler ............... SKIPPED
> [INFO] Hive HWI .......................................... SKIPPED
> [INFO] Hive ODBC ......................................... SKIPPED
> [INFO] Hive Shims Aggregator ............................. SKIPPED
> [INFO] Hive TestUtils .................................... SKIPPED
> [INFO] Hive Packaging .................................... SKIPPED
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 13.234s
> [INFO] Finished at: Mon Jan 06 12:23:33 PST 2014
> [INFO] Final Memory: 36M/186M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:3.1:compile
> (default-compile) on project hive-common: Compilation failure: Compilation
> failure:
> [ERROR]
> hive/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:[44,30]
> package org.apache.hadoop.conf does not exist
> [ERROR]
> hive/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:[46,32]
> package org.apache.hadoop.mapred does not exist
> [ERROR]
> hive/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:[47,34]
> package org.apache.hadoop.security does not exist
> [ERROR]
> hive/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:[48,30]
> package org.apache.hadoop.util does not exist
> [ERROR]
> hive/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:[53,31]
> cannot find symbol
> [ERROR] symbol: class Configuration
> [ERROR]
> hive/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:[1063,31]