hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Weitz <weitz...@cs.washington.edu>
Subject Hadoop Maven Build Fails
Date Wed, 08 May 2013 18:59:27 GMT
I'm trying to build the latest svn version of hadoop (r1480394 | 2013-05-08
11:28:22) with maven, but I get many errors of the following kind (this is
a small snippet of the output). It appears that something is wrong with
protobuf, I have version 2.5.0-3 installed. Any hints on how I can fix this?

[ERROR]
/home/konne/Projects/jsr308/user-study/ohloh/projects/hadoop/hadoop-common-project/hadoop-common/target/generated-sources/java/org/apache/hadoop/ha/proto/ZKFCProtocolProtos.java:[878,4]
error: method does not override or implement a method from a supertype
[ERROR]
/home/konne/Projects/jsr308/user-study/ohloh/projects/hadoop/hadoop-common-project/hadoop-common/target/generated-sources/java/org/apache/hadoop/ha/proto/ZKFCProtocolProtos.java:[1027,12]
error: cannot find symbol
[ERROR] symbol:   method
ensureFieldAccessorsInitialized(Class<GracefulFailoverRequestProto>,Class<Builder>)
[ERROR] location: variable
internal_static_hadoop_common_GracefulFailoverRequestProto_fieldAccessorTable
of type FieldAccessorTable
[ERROR]
/home/konne/Projects/jsr308/user-study/ohloh/projects/hadoop/hadoop-common-project/hadoop-common/target/generated-sources/java/org/apache/hadoop/ha/proto/ZKFCProtocolProtos.java:[1108,104]
error: cannot find symbol
[ERROR] symbol:   method getUnfinishedMessage()
[ERROR] location: variable e of type InvalidProtocolBufferException
[ERROR]
/home/konne/Projects/jsr308/user-study/ohloh/projects/hadoop/hadoop-common-project/hadoop-common/target/generated-sources/java/org/apache/hadoop/ha/proto/ZKFCProtocolProtos.java:[1157,8]
error: getUnknownFields() in GracefulFailoverResponseProto cannot override
getUnknownFields() in GeneratedMessage
[ERROR] overridden method is final
[ERROR]
/home/konne/Projects/jsr308/user-study/ohloh/projects/hadoop/hadoop-common-project/hadoop-common/target/generated-sources/java/org/apache/hadoop/ha/proto/ZKFCProtocolProtos.java:[1176,19]
error: cannot find symbol
[ERROR] symbol:   method
parseUnknownField(CodedInputStream,Builder,ExtensionRegistryLite,int)
[ERROR] location: class GracefulFailoverResponseProto
[ERROR]
/home/konne/Projects/jsr308/user-study/ohloh/projects/hadoop/hadoop-common-project/hadoop-common/target/generated-sources/java/org/apache/hadoop/ha/proto/ZKFCProtocolProtos.java:[1185,15]
error: cannot find symbol
[ERROR] symbol:   method setUnfinishedMessage(GracefulFailoverResponseProto)
[ERROR] location: variable e of type InvalidProtocolBufferException
[ERROR]
/home/konne/Projects/jsr308/user-study/ohloh/projects/hadoop/hadoop-common-project/hadoop-common/target/generated-sources/java/org/apache/hadoop/ha/proto/ZKFCProtocolProtos.java:[1188,27]
error: cannot find symbol
[ERROR] symbol:   method setUnfinishedMessage(GracefulFailoverResponseProto)
[ERROR] location: class InvalidProtocolBufferException
[ERROR]
/home/konne/Projects/jsr308/user-study/ohloh/projects/hadoop/hadoop-common-project/hadoop-common/target/generated-sources/java/org/apache/hadoop/ha/proto/ZKFCProtocolProtos.java:[1191,8]
error: cannot find symbol
[ERROR] symbol:   method makeExtensionsImmutable()
[ERROR] location: class GracefulFailoverResponseProto
[ERROR]
/home/konne/Projects/jsr308/user-study/ohloh/projects/hadoop/hadoop-common-project/hadoop-common/target/generated-sources/java/org/apache/hadoop/ha/proto/ZKFCProtocolProtos.java:[1202,10]
error: cannot find symbol
[ERROR] symbol:   method
ensureFieldAccessorsInitialized(Class<GracefulFailoverResponseProto>,Class<Builder>)
[ERROR] location: variable
internal_static_hadoop_common_GracefulFailoverResponseProto_fieldAccessorTable
of type FieldAccessorTable
[ERROR]
/home/konne/Projects/jsr308/user-study/ohloh/projects/hadoop/hadoop-common-project/hadoop-common/target/generated-sources/java/org/apache/hadoop/ha/proto/ZKFCProtocolProtos.java:[1207,31]
error: cannot find symbol
[ERROR] symbol:   class AbstractParser
[ERROR] location: package com.google.protobuf

Mime
View raw message