-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi all,

I am trying to compile hive from source, but I get the following error:
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.1:compile
(default-compile) on project hive-storage-api: Compilation failure:
Compilation failure:
[ERROR]
/tmp/hive/storage-api/src/java/org/apache/hadoop/hive/ql/exec/vector/Vec
torizedRowBatch.java:[24,28]
package org.apache.hadoop.io does not exist
[ERROR]
/tmp/hive/storage-api/src/java/org/apache/hadoop/hive/ql/exec/vector/Vec
torizedRowBatch.java:[25,28]
package org.apache.hadoop.io does not exist
[ERROR]
/tmp/hive/storage-api/src/java/org/apache/hadoop/hive/ql/exec/vector/Vec
torizedRowBatch.java:[34,44]
cannot find symbol
[ERROR] symbol: class Writable
[ERROR]
/tmp/hive/storage-api/src/java/org/apache/hadoop/hive/serde2/io/HiveDeci
malWritable.java:[25,34]
package org.apache.commons.logging does not exist
[ERROR]
/tmp/hive/storage-api/src/java/org/apache/hadoop/hive/serde2/io/HiveDeci
malWritable.java:[26,34]
package org.apache.commons.logging does not exist
[ERROR]
/tmp/hive/storage-api/src/java/org/apache/hadoop/hive/serde2/io/HiveDeci
malWritable.java:[29,28]
package org.apache.hadoop.io does not exist
[ERROR]
/tmp/hive/storage-api/src/java/org/apache/hadoop/hive/serde2/io/HiveDeci
malWritable.java:[30,28]
package org.apache.hadoop.io does not exist
[ERROR]
/tmp/hive/storage-api/src/java/org/apache/hadoop/hive/serde2/io/HiveDeci
malWritable.java:[32,45]
cannot find symbol
[ERROR] symbol: class WritableComparable
[ERROR]
/tmp/hive/storage-api/src/java/org/apache/hadoop/hive/serde2/io/HiveDeci
malWritable.java:[34,24]
cannot find symbol
[ERROR] symbol:   class Log
[ERROR] location: class
org.apache.hadoop.hive.serde2.io.HiveDecimalWritable
[ERROR]
/tmp/hive/storage-api/src/java/org/apache/hadoop/hive/ql/io/sarg/SearchA
rgumentImpl.java:[30,39]
package org.apache.commons.codec.binary does not exist
[ERROR]
/tmp/hive/storage-api/src/java/org/apache/hadoop/hive/ql/io/sarg/SearchA
rgumentImpl.java:[31,34]
package org.apache.commons.logging does not exist
[ERROR]
/tmp/hive/storage-api/src/java/org/apache/hadoop/hive/ql/io/sarg/SearchA
rgumentImpl.java:[32,34]
package org.apache.commons.logging does not exist
[ERROR]
/tmp/hive/storage-api/src/java/org/apache/hadoop/hive/ql/io/sarg/SearchA
rgumentImpl.java:[38,23]
cannot find symbol
[ERROR] symbol:   class Log
[ERROR] location: class
org.apache.hadoop.hive.ql.io.sarg.SearchArgumentImpl
[ERROR]
/tmp/hive/storage-api/src/java/org/apache/hadoop/hive/ql/exec/vector/Vec
torizedRowBatch.java:[108,34]
cannot find symbol
[ERROR] symbol:   class NullWritable
[ERROR] location: class
org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatch
[ERROR]
/tmp/hive/storage-api/src/java/org/apache/hadoop/hive/ql/exec/vector/Vec
torizedRowBatch.java:[157,3]
method does not override or implement a method from a supertype
[ERROR]
/tmp/hive/storage-api/src/java/org/apache/hadoop/hive/ql/exec/vector/Vec
torizedRowBatch.java:[162,3]
method does not override or implement a method from a supertype
[ERROR]
/tmp/hive/storage-api/src/java/org/apache/hadoop/hive/serde2/io/HiveDeci
malWritable.java:[34,34]
cannot find symbol
[ERROR] symbol:   variable LogFactory
[ERROR] location: class
org.apache.hadoop.hive.serde2.io.HiveDecimalWritable
[ERROR]
/tmp/hive/storage-api/src/java/org/apache/hadoop/hive/serde2/io/HiveDeci
malWritable.java:[96,3]
method does not override or implement a method from a supertype
[ERROR]
/tmp/hive/storage-api/src/java/org/apache/hadoop/hive/serde2/io/HiveDeci
malWritable.java:[98,13]
cannot find symbol
[ERROR] symbol:   variable WritableUtils
[ERROR] location: class
org.apache.hadoop.hive.serde2.io.HiveDecimalWritable
[ERROR]
/tmp/hive/storage-api/src/java/org/apache/hadoop/hive/serde2/io/HiveDeci
malWritable.java:[99,24]
cannot find symbol
[ERROR] symbol:   variable WritableUtils
[ERROR] location: class
org.apache.hadoop.hive.serde2.io.HiveDecimalWritable
[ERROR]
/tmp/hive/storage-api/src/java/org/apache/hadoop/hive/serde2/io/HiveDeci
malWritable.java:[106,3]
method does not override or implement a method from a supertype
[ERROR]
/tmp/hive/storage-api/src/java/org/apache/hadoop/hive/serde2/io/HiveDeci
malWritable.java:[108,5]
cannot find symbol
[ERROR] symbol:   variable WritableUtils
[ERROR] location: class
org.apache.hadoop.hive.serde2.io.HiveDecimalWritable
[ERROR]
/tmp/hive/storage-api/src/java/org/apache/hadoop/hive/serde2/io/HiveDeci
malWritable.java:[109,5]
cannot find symbol
[ERROR] symbol:   variable WritableUtils
[ERROR] location: class
org.apache.hadoop.hive.serde2.io.HiveDecimalWritable
[ERROR]
/tmp/hive/storage-api/src/java/org/apache/hadoop/hive/serde2/io/HiveDeci
malWritable.java:[113,3]
method does not override or implement a method from a supertype
[ERROR]
/tmp/hive/storage-api/src/java/org/apache/hadoop/hive/ql/io/sarg/SearchA
rgumentImpl.java:[38,33]
cannot find symbol
[ERROR] symbol:   variable LogFactory
[ERROR] location: class
org.apache.hadoop.hive.ql.io.sarg.SearchArgumentImpl
[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-storage-api



I tried to compile with the following command:


mvn clean install


Can you provide any details regarding the compilation process? Any
missing dependencies?


Thank you in advance.


Best,
Giannis

- -- 
Ioannis Giannakopoulos
PhD Candidate, Systems Administrator
Computing Systems Laboratory, School of ECE
National Technical University of Athens
e-mail: gg...@cslab.ece.ntua.gr
site: http://www.cslab.ece.ntua.gr/~ggian/
skype name: giagiannis
tel: +302107721544 (int. 200)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJWDN1ZAAoJEEujf8zeRfTF83sH/3wjcBK2rXm9SizYZLByiZJe
wN0fIQYxQ6dhwRiYRsKs7dljZyhX0IWrWG6akAAxBZjlbDuQCfB+xS6CoXXdVVna
OJj8sjyVM804EdLJKnEXzQG6MOkgzcbULK07wX9Ueh6HDLVwFdoVyW2BNwmpfax6
WIlEgJSEabXEIkIaS9xZwhgHtk3w6MWsSK1WgjKGMlG1YZou1ydz8oa1CaiKEvlm
f6iVcdwja0M+zHMnic/v7fOzjaZZI+1UI32S1LsK85EfceqHzq8YsM8pbW4jm3AX
BsE2JYcuW/VFDg4qcdAqKT2rZJAYibP2F4TL5gC7gTrDucWjzikdspDiRg2B8U4=
=fDZ4
-----END PGP SIGNATURE-----

Reply via email to