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

Switch to Plain View
MapReduce >> mail # user >> Hadoop Maven Build Fails


+
Konstantin Weitz 2013-05-08, 18:59
Copy link to this message
-
Re: Hadoop Maven Build Fails
Please use protobuf 2.4.1

Cheers

On Wed, May 8, 2013 at 11:59 AM, Konstantin Weitz <
[EMAIL PROTECTED]> wrote:

> 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]
+
Konstantin Weitz 2013-05-08, 20:38
+
Harsh J 2013-05-09, 06:02