Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

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


+
Konstantin Weitz 2013-05-08, 18:59
+
Ted Yu 2013-05-08, 19:01
+
Konstantin Weitz 2013-05-08, 20:38
Copy link to this message
-
Re: Hadoop Maven Build Fails
If you're also interested in tracking the issue to make it work with
2.5+ protobuf versions, please follow
https://issues.apache.org/jira/browse/HADOOP-9346.

On Thu, May 9, 2013 at 2:08 AM, Konstantin Weitz
<[EMAIL PROTECTED]> wrote:
> Using 2.4.1 did the trick. Thank you very much!
>
>
> On Wed, May 8, 2013 at 12:01 PM, Ted Yu <[EMAIL PROTECTED]> wrote:
>>
>> 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]

Harsh J
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB