Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id ECAC810B10 for ; Wed, 7 Aug 2013 16:52:53 +0000 (UTC) Received: (qmail 90689 invoked by uid 500); 7 Aug 2013 16:52:53 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 90656 invoked by uid 500); 7 Aug 2013 16:52:53 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 90617 invoked by uid 99); 7 Aug 2013 16:52:52 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Aug 2013 16:52:52 +0000 Date: Wed, 7 Aug 2013 16:52:52 +0000 (UTC) From: "stack (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HADOOP-9845) Update protobuf to 2.5 from 2.4.x MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HADOOP-9845?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13732160#comment-13732160 ] stack commented on HADOOP-9845: ------------------------------- [~tucu00] The errors were encountered at runtime. Patch looks good to me. Looks like you fellas generate the protobufs at build time, that you do not check them in. Do you have to ask infra about updating the protoc to 2.5? Thanks [~tucu00] > Update protobuf to 2.5 from 2.4.x > --------------------------------- > > Key: HADOOP-9845 > URL: https://issues.apache.org/jira/browse/HADOOP-9845 > Project: Hadoop Common > Issue Type: Improvement > Components: performance > Affects Versions: 2.0.5-alpha > Reporter: stack > Assignee: Alejandro Abdelnur > Priority: Blocker > Fix For: 2.1.0-beta > > Attachments: HADOOP-9845.patch, HADOOP-9845.patch > > > protobuf 2.5 is a bit faster with a new Parse to avoid a builder step and a few other goodies that we'd like to take advantage of over in hbase especially now we are all pb all the time. Unfortunately the protoc generated files are no longer compatible w/ 2.4.1 generated files. Hadoop uses 2.4.1 pb. This latter fact makes it so we cannot upgrade until hadoop does. > This issue suggests hadoop2 move to protobuf 2.5. > I can do the patch no prob. if there is interest. > (When we upgraded our build broke with complaints like the below: > {code} > java.lang.UnsupportedOperationException: This is supposed to be overridden by subclasses. > at com.google.protobuf.GeneratedMessage.getUnknownFields(GeneratedMessage.java:180) > at org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$GetDatanodeReportRequestProto.getSerializedSize(ClientNamenodeProtocolProtos.java:21566) > at com.google.protobuf.AbstractMessageLite.toByteString(AbstractMessageLite.java:49) > at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.constructRpcRequest(ProtobufRpcEngine.java:149) > at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:193) > at com.sun.proxy.$Proxy14.getDatanodeReport(Unknown Source) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:164) > at org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:83) > at com.sun.proxy.$Proxy14.getDatanodeReport(Unknown Source) > at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.getDatanodeReport(ClientNamenodeProtocolTranslatorPB.java:488) > at org.apache.hadoop.hdfs.DFSClient.datanodeReport(DFSClient.java:1887) > at org.apache.hadoop.hdfs.MiniDFSCluster.waitActive(MiniDFSCluster.java:1798 > ... > {code} > More over in HBASE-8165 if interested. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira