hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Weitz <konstantin.we...@gmail.com>
Subject Building Hive
Date Mon, 06 Jan 2014 20:33:24 GMT
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]
cannot find symbol
[ERROR] symbol:   class Configuration
[ERROR] location: class org.apache.hadoop.hive.conf.HiveConf
[ERROR]
hive/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:[1068,32]
cannot find symbol
[ERROR] symbol:   class Configuration
[ERROR] location: class org.apache.hadoop.hive.conf.HiveConf
[ERROR]
hive/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:[1081,33]
cannot find symbol
[ERROR] symbol:   class Configuration
[ERROR] location: class org.apache.hadoop.hive.conf.HiveConf
[ERROR]
hive/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:[1086,33]
cannot find symbol
[ERROR] symbol:   class Configuration
[ERROR] location: class org.apache.hadoop.hive.conf.HiveConf
[ERROR]
hive/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:[1090,33]
cannot find symbol
[ERROR] symbol:   class Configuration
[ERROR] location: class org.apache.hadoop.hive.conf.HiveConf
[ERROR]
hive/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:[1103,35]
cannot find symbol
[ERROR] symbol:   class Configuration
[ERROR] location: class org.apache.hadoop.hive.conf.HiveConf
[ERROR]
hive/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:[1108,35]
cannot find symbol
[ERROR] symbol:   class Configuration
[ERROR] location: class org.apache.hadoop.hive.conf.HiveConf
[ERROR]
hive/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:[1112,34]
cannot find symbol
[ERROR] symbol:   class Configuration
[ERROR] location: class org.apache.hadoop.hive.conf.HiveConf
[ERROR]
hive/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:[1125,36]
cannot find symbol
[ERROR] symbol:   class Configuration
[ERROR] location: class org.apache.hadoop.hive.conf.HiveConf
[ERROR]
hive/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:[1130,36]
cannot find symbol
[ERROR] symbol:   class Configuration
[ERROR] location: class org.apache.hadoop.hive.conf.HiveConf
[ERROR]
hive/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:[1134,33]
cannot find symbol
[ERROR] symbol:   class Configuration
[ERROR] location: class org.apache.hadoop.hive.conf.HiveConf
[ERROR]
hive/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:[1147,31]
cannot find symbol
[ERROR] symbol:   class Configuration
[ERROR] location: class org.apache.hadoop.hive.conf.HiveConf
[ERROR]
hive/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:[1152,31]
cannot find symbol
[ERROR] symbol:   class Configuration
[ERROR] location: class org.apache.hadoop.hive.conf.HiveConf
[ERROR]
hive/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:[1156,29]
cannot find symbol
[ERROR] symbol:   class Configuration
[ERROR] location: class org.apache.hadoop.hive.conf.HiveConf
[ERROR]
hive/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:[1189,19]
cannot find symbol
[ERROR] symbol:   class Configuration
[ERROR] location: class org.apache.hadoop.hive.conf.HiveConf
[ERROR]
hive/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:[1209,43]
cannot find symbol
[ERROR] symbol:   class Configuration
[ERROR] location: class org.apache.hadoop.hive.conf.HiveConf
[ERROR]
hive/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:[1294,51]
cannot find symbol
[ERROR] symbol:   class Configuration
[ERROR] location: class org.apache.hadoop.hive.conf.HiveConf
[ERROR]
hive/common/src/java/org/apache/hadoop/hive/common/HiveStatsUtils.java:[22,28]
cannot find symbol
[ERROR] symbol:   class FileStatus
[ERROR] location: package org.apache.hadoop.fs
[ERROR]
hive/common/src/java/org/apache/hadoop/hive/common/HiveStatsUtils.java:[23,28]
cannot find symbol
[ERROR] symbol:   class FileSystem
[ERROR] location: package org.apache.hadoop.fs
[ERROR]
hive/common/src/java/org/apache/hadoop/hive/common/HiveStatsUtils.java:[24,28]
cannot find symbol
[ERROR] symbol:   class Path
[ERROR] location: package org.apache.hadoop.fs
[ERROR]
hive/common/src/java/org/apache/hadoop/hive/common/HiveStatsUtils.java:[46,51]
cannot find symbol
[ERROR] symbol:   class Path
[ERROR] location: class org.apache.hadoop.hive.common.HiveStatsUtils
[ERROR]
hive/common/src/java/org/apache/hadoop/hive/common/HiveStatsUtils.java:[46,73]
cannot find symbol
[ERROR] symbol:   class FileSystem
[ERROR] location: class org.apache.hadoop.hive.common.HiveStatsUtils
[ERROR]
hive/common/src/java/org/apache/hadoop/hive/common/HiveStatsUtils.java:[46,17]
cannot find symbol
[ERROR] symbol:   class FileStatus
[ERROR] location: class org.apache.hadoop.hive.common.HiveStatsUtils
[ERROR]
hive/common/src/java/org/apache/hadoop/hive/common/StatsSetupConst.java:[20,30]
package org.apache.hadoop.conf does not exist
[ERROR]
hive/common/src/java/org/apache/hadoop/hive/common/StatsSetupConst.java:[58,41]
cannot find symbol
[ERROR] symbol:   class Configuration
[ERROR] location: class org.apache.hadoop.hive.common.StatsSetupConst.StatDB
[ERROR]
hive/common/src/java/org/apache/hadoop/hive/common/StatsSetupConst.java:[59,42]
cannot find symbol
[ERROR] symbol:   class Configuration
[ERROR] location: class org.apache.hadoop.hive.common.StatsSetupConst.StatDB
[ERROR]
hive/common/src/java/org/apache/hadoop/hive/common/ServerUtils.java:[23,28]
cannot find symbol
[ERROR] symbol:   class FileSystem
[ERROR] location: package org.apache.hadoop.fs
[ERROR]
hive/common/src/java/org/apache/hadoop/hive/common/ServerUtils.java:[24,28]
cannot find symbol
[ERROR] symbol:   class Path
[ERROR] location: package org.apache.hadoop.fs
[ERROR]
hive/common/src/java/org/apache/hadoop/hive/common/FileUtils.java:[26,30]
package org.apache.hadoop.conf does not exist
[ERROR]
hive/common/src/java/org/apache/hadoop/hive/common/FileUtils.java:[27,28]
cannot find symbol
[ERROR] symbol:   class FileStatus
[ERROR] location: package org.apache.hadoop.fs
[ERROR]
hive/common/src/java/org/apache/hadoop/hive/common/FileUtils.java:[28,28]
cannot find symbol
[ERROR] symbol:   class FileSystem
[ERROR] location: package org.apache.hadoop.fs
[ERROR]
hive/common/src/java/org/apache/hadoop/hive/common/FileUtils.java:[29,28]
cannot find symbol
[ERROR] symbol:   class Path
[ERROR] location: package org.apache.hadoop.fs
[ERROR]
hive/common/src/java/org/apache/hadoop/hive/common/FileUtils.java:[30,30]
package org.apache.hadoop.util does not exist
[ERROR]
hive/common/src/java/org/apache/hadoop/hive/common/FileUtils.java:[52,36]
cannot find symbol
[ERROR] symbol:   class Path
[ERROR] location: class org.apache.hadoop.hive.common.FileUtils
[ERROR]
hive/common/src/java/org/apache/hadoop/hive/common/FileUtils.java:[52,47]
cannot find symbol
[ERROR] symbol:   class Configuration
[ERROR] location: class org.apache.hadoop.hive.common.FileUtils
[ERROR]
hive/common/src/java/org/apache/hadoop/hive/common/FileUtils.java:[52,17]
cannot find symbol
[ERROR] symbol:   class Path
[ERROR] location: class org.apache.hadoop.hive.common.FileUtils
[ERROR]
hive/common/src/java/org/apache/hadoop/hive/common/FileUtils.java:[288,44]
cannot find symbol
[ERROR] symbol:   class FileSystem
[ERROR] location: class org.apache.hadoop.hive.common.FileUtils
[ERROR]
hive/common/src/java/org/apache/hadoop/hive/common/FileUtils.java:[288,59]
cannot find symbol
[ERROR] symbol:   class FileStatus
[ERROR] location: class org.apache.hadoop.hive.common.FileUtils
[ERROR]
hive/common/src/java/org/apache/hadoop/hive/common/FileUtils.java:[289,12]
cannot find symbol
[ERROR] symbol:   class FileStatus
[ERROR] location: class org.apache.hadoop.hive.common.FileUtils
[ERROR]
hive/common/src/java/org/apache/hive/common/util/HiveStringUtils.java:[39,28]
cannot find symbol
[ERROR] symbol:   class Path
[ERROR] location: package org.apache.hadoop.fs
[ERROR]
hive/common/src/java/org/apache/hive/common/util/HiveStringUtils.java:[42,28]
package org.apache.hadoop.io does not exist
[ERROR]
hive/common/src/java/org/apache/hive/common/util/HiveStringUtils.java:[237,17]
cannot find symbol
[ERROR] symbol:   class Path
[ERROR] location: class org.apache.hive.common.util.HiveStringUtils
[ERROR]
hive/common/src/java/org/apache/hive/common/util/HiveStringUtils.java:[819,38]
cannot find symbol
[ERROR] symbol:   class Text
[ERROR] location: class org.apache.hive.common.util.HiveStringUtils
[ERROR]
hive/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:[1000,21]
cannot find symbol
[ERROR] symbol:   variable Shell
[ERROR] location: class org.apache.hadoop.hive.conf.HiveConf.ConfVars
[ERROR]
hive/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:[1041,9]
cannot find symbol
[ERROR] symbol:   class Configuration
[ERROR] location: class org.apache.hadoop.hive.conf.HiveConf
[ERROR]
hive/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:[1041,34]
cannot find symbol
[ERROR] symbol:   class Configuration
[ERROR] location: class org.apache.hadoop.hive.conf.HiveConf
[ERROR]
hive/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:[1060,5]
cannot find symbol
[ERROR] symbol:   method set(java.lang.String,java.lang.String)
[ERROR] location: class org.apache.hadoop.hive.conf.HiveConf
[ERROR]
hive/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:[1175,40]
cannot find symbol
[ERROR] symbol:   method get(java.lang.String)
[ERROR] location: class org.apache.hadoop.hive.conf.HiveConf
[ERROR]
hive/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:[1175,68]
cannot find symbol
[ERROR] symbol:   method get(java.lang.String)
[ERROR] location: class org.apache.hadoop.hive.conf.HiveConf
[ERROR]
hive/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:[1181,20]
cannot find symbol
[ERROR] symbol: method getClass()
[ERROR]
hive/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:[1220,20]
cannot find symbol
[ERROR] symbol:   class JobConf
[ERROR] location: class org.apache.hadoop.hive.conf.HiveConf
[ERROR]
hive/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:[1226,5]
cannot find symbol
[ERROR] symbol:   method addResource(java.io.InputStream)
[ERROR] location: class org.apache.hadoop.hive.conf.HiveConf
[ERROR]
hive/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:[1230,7]
cannot find symbol
[ERROR] symbol:   method addResource(java.net.URL)
[ERROR] location: class org.apache.hadoop.hive.conf.HiveConf
[ERROR]
hive/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:[1236,12]
cannot find symbol
[ERROR] symbol: method get(java.lang.String,<nulltype>)
[ERROR]
hive/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:[1245,21]
cannot find symbol
[ERROR] symbol: method get(java.lang.String)
[ERROR]
hive/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:[1249,21]
cannot find symbol
[ERROR] symbol: method get(java.lang.String)
[ERROR]
hive/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:[1269,11]
cannot find symbol
[ERROR] symbol: method set(java.lang.String,java.lang.String)
[ERROR]
hive/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:[1351,7]
cannot find symbol
[ERROR] symbol:   class UserGroupInformation
[ERROR] location: class org.apache.hadoop.hive.conf.HiveConf
[ERROR]
hive/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:[1352,9]
cannot access org.apache.hadoop.conf.Configuration
[ERROR] class file for org.apache.hadoop.conf.Configuration not found
[ERROR]
hive/common/src/java/org/apache/hadoop/hive/common/HiveStatsUtils.java:[52,17]
cannot find symbol
[ERROR] symbol:   variable Path
[ERROR] location: class org.apache.hadoop.hive.common.HiveStatsUtils
[ERROR]
hive/common/src/java/org/apache/hadoop/hive/common/HiveStatsUtils.java:[54,5]
cannot find symbol
[ERROR] symbol:   class Path
[ERROR] location: class org.apache.hadoop.hive.common.HiveStatsUtils
[ERROR]
hive/common/src/java/org/apache/hadoop/hive/common/HiveStatsUtils.java:[54,28]
cannot find symbol
[ERROR] symbol:   class Path
[ERROR] location: class org.apache.hadoop.hive.common.HiveStatsUtils
[ERROR]
hive/common/src/java/org/apache/hadoop/hive/common/StatsSetupConst.java:[35,34]
cannot find symbol
[ERROR] symbol: class Configuration
[ERROR]
hive/common/src/java/org/apache/hadoop/hive/common/StatsSetupConst.java:[37,35]
cannot find symbol
[ERROR] symbol: class Configuration
[ERROR]
hive/common/src/java/org/apache/hadoop/hive/common/StatsSetupConst.java:[41,34]
cannot find symbol
[ERROR] symbol: class Configuration
[ERROR]
hive/common/src/java/org/apache/hadoop/hive/common/StatsSetupConst.java:[43,35]
cannot find symbol
[ERROR] symbol: class Configuration
[ERROR]
hive/common/src/java/org/apache/hadoop/hive/common/StatsSetupConst.java:[47,34]
cannot find symbol
[ERROR] symbol: class Configuration
[ERROR]
hive/common/src/java/org/apache/hadoop/hive/common/StatsSetupConst.java:[49,35]
cannot find symbol
[ERROR] symbol: class Configuration
[ERROR]
hive/common/src/java/org/apache/hadoop/hive/common/StatsSetupConst.java:[53,34]
cannot find symbol
[ERROR] symbol: class Configuration
[ERROR]
hive/common/src/java/org/apache/hadoop/hive/common/StatsSetupConst.java:[55,35]
cannot find symbol
[ERROR] symbol: class Configuration
[ERROR]
hive/common/src/java/org/apache/hadoop/hive/common/ServerUtils.java:[38,39]
cannot find symbol
[ERROR] symbol:   method get(java.lang.String)
[ERROR] location: variable hiveConf of type
org.apache.hadoop.hive.conf.HiveConf
[ERROR]
hive/common/src/java/org/apache/hadoop/hive/common/ServerUtils.java:[40,9]
cannot find symbol
[ERROR] symbol:   class Path
[ERROR] location: class org.apache.hadoop.hive.common.ServerUtils
[ERROR]
hive/common/src/java/org/apache/hadoop/hive/common/ServerUtils.java:[40,34]
cannot find symbol
[ERROR] symbol:   class Path
[ERROR] location: class org.apache.hadoop.hive.common.ServerUtils
[ERROR]
hive/common/src/java/org/apache/hadoop/hive/common/ServerUtils.java:[42,9]
cannot find symbol
[ERROR] symbol:   class FileSystem
[ERROR] location: class org.apache.hadoop.hive.common.ServerUtils
[ERROR]
hive/common/src/java/org/apache/hadoop/hive/common/FileUtils.java:[58,33]
cannot find symbol
[ERROR] symbol:   variable FileSystem
[ERROR] location: class org.apache.hadoop.hive.common.FileUtils
[ERROR]
hive/common/src/java/org/apache/hadoop/hive/common/FileUtils.java:[61,17]
cannot find symbol
[ERROR] symbol:   variable FileSystem
[ERROR] location: class org.apache.hadoop.hive.common.FileUtils
[ERROR]
hive/common/src/java/org/apache/hadoop/hive/common/FileUtils.java:[89,16]
cannot find symbol
[ERROR] symbol:   class Path
[ERROR] location: class org.apache.hadoop.hive.common.FileUtils
[ERROR]
hive/common/src/java/org/apache/hadoop/hive/common/FileUtils.java:[114,21]
cannot find symbol
[ERROR] symbol:   variable Path
[ERROR] location: class org.apache.hadoop.hive.common.FileUtils
[ERROR]
hive/common/src/java/org/apache/hadoop/hive/common/FileUtils.java:[137,31]
cannot find symbol
[ERROR] symbol:   variable Path
[ERROR] location: class org.apache.hadoop.hive.common.FileUtils
[ERROR]
hive/common/src/java/org/apache/hadoop/hive/common/FileUtils.java:[155,21]
cannot find symbol
[ERROR] symbol:   variable Path
[ERROR] location: class org.apache.hadoop.hive.common.FileUtils
[ERROR]
hive/common/src/java/org/apache/hadoop/hive/common/FileUtils.java:[201,8]
cannot find symbol
[ERROR] symbol:   variable Shell
[ERROR] location: class org.apache.hadoop.hive.common.FileUtils
[ERROR]
hive/common/src/java/org/apache/hadoop/hive/common/FileUtils.java:[201,7]
illegal start of type
[ERROR]
hive/common/src/java/org/apache/hadoop/hive/common/FileUtils.java:[292,12]
cannot find symbol
[ERROR] symbol:   class FileStatus
[ERROR] location: class org.apache.hadoop.hive.common.FileUtils
[ERROR]
hive/common/src/java/org/apache/hadoop/hive/common/CompressionUtils.java:[70,27]
package org.apache.hadoop.io does not exist
[ERROR]
hive/common/src/java/org/apache/hive/common/util/HiveStringUtils.java:[241,5]
cannot find symbol
[ERROR] symbol:   class Path
[ERROR] location: class org.apache.hive.common.util.HiveStringUtils
[ERROR]
hive/common/src/java/org/apache/hive/common/util/HiveStringUtils.java:[241,20]
cannot find symbol
[ERROR] symbol:   class Path
[ERROR] location: class org.apache.hive.common.util.HiveStringUtils
[ERROR]
hive/common/src/java/org/apache/hive/common/util/HiveStringUtils.java:[243,18]
cannot find symbol
[ERROR] symbol:   class Path
[ERROR] location: class org.apache.hive.common.util.HiveStringUtils
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR]   mvn <goals> -rf :hive-common
mvn compile  27.74s user 0.75s system 182% cpu 15.621 total

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message