Return-Path: X-Original-To: apmail-hbase-user-archive@www.apache.org Delivered-To: apmail-hbase-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id ADC261781B for ; Mon, 6 Apr 2015 02:44:01 +0000 (UTC) Received: (qmail 16550 invoked by uid 500); 6 Apr 2015 02:43:59 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 16481 invoked by uid 500); 6 Apr 2015 02:43:59 -0000 Mailing-List: contact user-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hbase.apache.org Delivered-To: mailing list user@hbase.apache.org Received: (qmail 16469 invoked by uid 99); 6 Apr 2015 02:43:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Apr 2015 02:43:58 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_LOW,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of arthur.hk.chan@gmail.com designates 209.85.214.181 as permitted sender) Received: from [209.85.214.181] (HELO mail-ob0-f181.google.com) (209.85.214.181) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Apr 2015 02:43:54 +0000 Received: by obbec2 with SMTP id ec2so24467079obb.3 for ; Sun, 05 Apr 2015 19:43:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=6tQq2gbnXmg/hv7wcCNMFsyYBlXHoFM0EVb9c9Fz1A4=; b=Vze5sCMgFH1+ukA/rwwNuOdA5Q8Dsdp0BjKRBn70BI55EyGB4cwwg3lsiKy7nzwafs prD+JxH3GxehQU1TtubJP0nyE25sgHaraI5V3dpvqKhxL9wXTQ4GhLPf7rvPE65/QzcN 4wjWGs2/EC9BixkwZ3tNfPqGkMjx3jBWB/R/mwhRKEfgAMCqrKREVEdtoXZTBSrmw3YX K2T4x3VDAOkGFCls7CE7liyxAN/VfqeCdTgP0dbnXTkhuBgJJKd/0nZGFi+E5LtObJmj JW7Qm1CAKpRbFkAFR2HhOm8RBzigoAQmfKld76NCU0wCEx4iOm8yjKSq8j/B3Lqv2R9m LBUA== MIME-Version: 1.0 X-Received: by 10.182.87.74 with SMTP id v10mr15707908obz.50.1428288214260; Sun, 05 Apr 2015 19:43:34 -0700 (PDT) Received: by 10.202.173.10 with HTTP; Sun, 5 Apr 2015 19:43:34 -0700 (PDT) In-Reply-To: References: Date: Mon, 6 Apr 2015 10:43:34 +0800 Message-ID: Subject: Re: HBASE 0.98.11 com.google.protobuf.ServiceException: java.lang.IncompatibleClassChangeError From: Arthur Chan To: user Content-Type: multipart/alternative; boundary=089e013cc21aa5dea40513054328 X-Virus-Checked: Checked by ClamAV on apache.org --089e013cc21aa5dea40513054328 Content-Type: text/plain; charset=UTF-8 Hi Thanks. I need to re-compile HBase. The reason is that protobuf-2.5.0 does not support IBM PPC platform (Power8) May I know which HBase version support protobuf-2.6.x? Regards Arthur On Mon, Apr 6, 2015 at 9:18 AM, Esteban Gutierrez wrote: > Hello Arthur, > > Are you using the official binaries from HBase 0.98.11 from > http://www.apache.org/dyn/closer.cgi/hbase/ or have you compiled HBase > 0.98.11 by yourself? If you use the precompiled binaries for HBase 0.98.11 > we already include the right version from protobuf: > > $ tar ztvf hbase-0.98.11-hadoop2-bin.tar.gz | grep protobuf-java-2.5.0.jar > -rw-r--r-- 0 apurtell apurtell 533455 Jan 23 15:18 > hbase-0.98.11-hadoop2/lib/protobuf-java-2.5.0.jar > > However if you need to re-compile HBase for any reason, you need to use > protobuf 2.5 instead. > > Also, having another version of protobuf in your classpath, e.g. > protobuf-java-2.6.0.jar that might be causing this problem. > > cheers, > esteban. > > > -- > Cloudera, Inc. > > > On Sun, Apr 5, 2015 at 6:00 PM, Arthur Chan > wrote: > > > Ohh, > > > > I think I need to install protocbuf to each node. > > > > Doing it now, > > > > > > On Mon, Apr 6, 2015 at 8:23 AM, Arthur Chan > > wrote: > > > > > Hi, > > > > > > I got the following error when try to start HBASE > > > > > > my version: > > > HBASE: 0.98.11 > > > HADOOP: 2.6.0 > > > ZOOKEEPER: 3.4.6 > > > PROTOC --version: libprotoc 2.6.1 > > > OS: CentOS 7 > > > JAVA: java version "1.8.0_40" > > > > > > The HMASTER is gone after few seconds, all HRegionServers are still > > there. > > > > > > 2015-04-06 08:09:03,432 INFO [Thread-15] retry.RetryInvocationHandler: > > > Exception while invoking addBlock of class > > > ClientNamenodeProtocolTranslatorPB over 192.168.10.31:8020. Trying to > > > fail over immediately. > > > > > > java.io.IOException: com.google.protobuf.ServiceException: > > > java.lang.IncompatibleClassChangeError: Class > > > com.google.protobuf.UnmodifiableLazyStringList does not implement the > > > requested interface com.google.protobuf.ProtocolStringList > > > Please help!! > > > Regards > > > Arthur > > > > > > > > > > > > > > > (attached the log of HMASTER as follows) > > > > > > 2015-04-06 08:09:02,752 INFO [main] zookeeper.RecoverableZooKeeper: > Node > > > /hbase already exists and this is not a retry > > > > > > 2015-04-06 08:09:02,765 INFO [RpcServer.responder] ipc.RpcServer: > > > RpcServer.responder: starting > > > > > > 2015-04-06 08:09:02,765 INFO [RpcServer.listener,port=60000] > > > ipc.RpcServer: RpcServer.listener,port=60000: starting > > > > > > 2015-04-06 08:09:02,795 INFO [master:m1031:60000] mortbay.log: Logging > > to > > > org.slf4j.impl.Log4jLoggerAdapter(org.mortbay.log) via > > > org.mortbay.log.Slf4jLog > > > > > > 2015-04-06 08:09:02,820 INFO [master:m1031:60000] http.HttpServer: > Added > > > global filter 'safety' > > > (class=org.apache.hadoop.http.HttpServer$QuotingInputFilter) > > > > > > 2015-04-06 08:09:02,821 INFO [master:m1031:60000] http.HttpServer: > Added > > > filter static_user_filter > > > (class=org.apache.hadoop.http.lib.StaticUserWebFilter$StaticUserFilter) > > to > > > context master > > > > > > 2015-04-06 08:09:02,822 INFO [master:m1031:60000] http.HttpServer: > Added > > > filter static_user_filter > > > (class=org.apache.hadoop.http.lib.StaticUserWebFilter$StaticUserFilter) > > to > > > context static > > > > > > 2015-04-06 08:09:02,827 INFO [master:m1031:60000] http.HttpServer: > Jetty > > > bound to port 60010 > > > > > > 2015-04-06 08:09:02,827 INFO [master:m1031:60000] mortbay.log: > > > jetty-6.1.26 > > > > > > 2015-04-06 08:09:03,099 INFO [master:m1031:60000] mortbay.log: Started > > > HttpServer$SelectChannelConnectorWithSafeStartup@0.0.0.0:60010 > > > > > > 2015-04-06 08:09:03,197 DEBUG [main-EventThread] > > > master.ActiveMasterManager: A master is now available > > > > > > 2015-04-06 08:09:03,197 INFO [master:m1031:60000] > > > master.ActiveMasterManager: Registered Active > > > Master=m1031,60000,1428278941667 > > > > > > 2015-04-06 08:09:03,202 INFO [master:m1031:60000] > > > Configuration.deprecation: fs.default.name is deprecated. Instead, use > > > fs.defaultFS > > > > > > 2015-04-06 08:09:03,432 INFO [Thread-15] retry.RetryInvocationHandler: > > > Exception while invoking addBlock of class > > > ClientNamenodeProtocolTranslatorPB over m1031/192.168.10.31:8020. > Trying > > > to fail over immediately. > > > > > > java.io.IOException: com.google.protobuf.ServiceException: > > > java.lang.IncompatibleClassChangeError: Class > > > com.google.protobuf.UnmodifiableLazyStringList does not implement the > > > requested interface com.google.protobuf.ProtocolStringList > > > > > > at > > > > > > org.apache.hadoop.ipc.ProtobufHelper.getRemoteException(ProtobufHelper.java:47) > > > > > > at > > > > > > org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.addBlock(ClientNamenodeProtocolTranslatorPB.java:401) > > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > > > > > at > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > > > > > > at > > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > > > > > > at java.lang.reflect.Method.invoke(Method.java:497) > > > > > > at > > > > > > org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:187) > > > > > > at > > > > > > org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:102) > > > > > > at com.sun.proxy.$Proxy16.addBlock(Unknown Source) > > > > > > at > > > > > > org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.locateFollowingBlock(DFSOutputStream.java:1532) > > > > > > at > > > > > > org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.nextBlockOutputStream(DFSOutputStream.java:1349) > > > > > > at > > > > > > org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.run(DFSOutputStream.java:588) > > > > > > Caused by: com.google.protobuf.ServiceException: > > > java.lang.IncompatibleClassChangeError: Class > > > com.google.protobuf.UnmodifiableLazyStringList does not implement the > > > requested interface com.google.protobuf.ProtocolStringList > > > > > > at > > > > > > org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:246) > > > > > > at com.sun.proxy.$Proxy15.addBlock(Unknown Source) > > > > > > at > > > > > > org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.addBlock(ClientNamenodeProtocolTranslatorPB.java:399) > > > > > > ... 10 more > > > > > > Caused by: java.lang.IncompatibleClassChangeError: Class > > > com.google.protobuf.UnmodifiableLazyStringList does not implement the > > > requested interface com.google.protobuf.ProtocolStringList > > > > > > at > > > > > > org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$AddBlockRequestProto.getSerializedSize(ClientNamenodeProtocolProtos.java:13584) > > > > > > at > > > > > > com.google.protobuf.AbstractMessageLite.writeDelimitedTo(AbstractMessageLite.java:84) > > > > > > at > > > > > > org.apache.hadoop.ipc.ProtobufRpcEngine$RpcMessageWithHeader.write(ProtobufRpcEngine.java:335) > > > > > > at > > org.apache.hadoop.ipc.Client$Connection.sendRpcRequest(Client.java:1011) > > > > > > at org.apache.hadoop.ipc.Client.call(Client.java:1441) > > > > > > at org.apache.hadoop.ipc.Client.call(Client.java:1399) > > > > > > at > > > > > > org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:232) > > > > > > ... 12 more > > > > > > 2015-04-06 08:09:03,436 INFO [Thread-15] retry.RetryInvocationHandler: > > > Exception while invoking addBlock of class > > > ClientNamenodeProtocolTranslatorPB over m1032/192.168.10.32:8020 > after 1 > > > fail over attempts. Trying to fail over immediately. > > > > > > java.io.IOException: com.google.protobuf.ServiceException: > > > java.lang.IncompatibleClassChangeError: Class > > > com.google.protobuf.UnmodifiableLazyStringList does not implement the > > > requested interface com.google.protobuf.ProtocolStringList > > > > > > at > > > > > > org.apache.hadoop.ipc.ProtobufHelper.getRemoteException(ProtobufHelper.java:47) > > > > > > at > > > > > > org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.addBlock(ClientNamenodeProtocolTranslatorPB.java:401) > > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > > > > > at > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > > > > > > at > > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > > > > > > at java.lang.reflect.Method.invoke(Method.java:497) > > > > > > at > > > > > > org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:187) > > > > > > at > > > > > > org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:102) > > > > > > at com.sun.proxy.$Proxy16.addBlock(Unknown Source) > > > > > > at > > > > > > org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.locateFollowingBlock(DFSOutputStream.java:1532) > > > > > > at > > > > > > org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.nextBlockOutputStream(DFSOutputStream.java:1349) > > > > > > at > > > > > > org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.run(DFSOutputStream.java:588) > > > > > > Caused by: com.google.protobuf.ServiceException: > > > java.lang.IncompatibleClassChangeError: Class > > > com.google.protobuf.UnmodifiableLazyStringList does not implement the > > > requested interface com.google.protobuf.ProtocolStringList > > > > > > at > > > > > > org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:246) > > > > > > at com.sun.proxy.$Proxy15.addBlock(Unknown Source) > > > > > > at > > > > > > org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.addBlock(ClientNamenodeProtocolTranslatorPB.java:399) > > > > > > ... 10 more > > > > > > Caused by: java.lang.IncompatibleClassChangeError: Class > > > com.google.protobuf.UnmodifiableLazyStringList does not implement the > > > requested interface com.google.protobuf.ProtocolStringList > > > > > > at > > > > > > org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$AddBlockRequestProto.getSerializedSize(ClientNamenodeProtocolProtos.java:13584) > > > > > > at > > > > > > com.google.protobuf.AbstractMessageLite.writeDelimitedTo(AbstractMessageLite.java:84) > > > > > > at > > > > > > org.apache.hadoop.ipc.ProtobufRpcEngine$RpcMessageWithHeader.write(ProtobufRpcEngine.java:335) > > > > > > at > > org.apache.hadoop.ipc.Client$Connection.sendRpcRequest(Client.java:1011) > > > > > > at org.apache.hadoop.ipc.Client.call(Client.java:1441) > > > > > > at org.apache.hadoop.ipc.Client.call(Client.java:1399) > > > > > > at > > > > > > org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:232) > > > > > > ... 12 more > > > > > > 2015-04-06 08:09:03,437 INFO [Thread-15] retry.RetryInvocationHandler: > > > Exception while invoking addBlock of class > > > ClientNamenodeProtocolTranslatorPB over m1031/192.168.10.31:8020 > after 2 > > > fail over attempts. Trying to fail over immediately. > > > > > > java.io.IOException: com.google.protobuf.ServiceException: > > > java.lang.IncompatibleClassChangeError: Class > > > com.google.protobuf.UnmodifiableLazyStringList does not implement the > > > requested interface com.google.protobuf.ProtocolStringList > > > > > > at > > > > > > org.apache.hadoop.ipc.ProtobufHelper.getRemoteException(ProtobufHelper.java:47) > > > > > > at > > > > > > org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.addBlock(ClientNamenodeProtocolTranslatorPB.java:401) > > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > > > > > at > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > > > > > > at > > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > > > > > > at java.lang.reflect.Method.invoke(Method.java:497) > > > > > > at > > > > > > org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:187) > > > > > > at > > > > > > org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:102) > > > > > > at com.sun.proxy.$Proxy16.addBlock(Unknown Source) > > > > > > at > > > > > > org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.locateFollowingBlock(DFSOutputStream.java:1532) > > > > > > at > > > > > > org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.nextBlockOutputStream(DFSOutputStream.java:1349) > > > > > > at > > > > > > org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.run(DFSOutputStream.java:588) > > > > > > Caused by: com.google.protobuf.ServiceException: > > > java.lang.IncompatibleClassChangeError: Class > > > com.google.protobuf.UnmodifiableLazyStringList does not implement the > > > requested interface com.google.protobuf.ProtocolStringList > > > > > > at > > > > > > org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:246) > > > > > > at com.sun.proxy.$Proxy15.addBlock(Unknown Source) > > > > > > at > > > > > > org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.addBlock(ClientNamenodeProtocolTranslatorPB.java:399) > > > > > > ... 10 more > > > > > > Caused by: java.lang.IncompatibleClassChangeError: Class > > > com.google.protobuf.UnmodifiableLazyStringList does not implement the > > > requested interface com.google.protobuf.ProtocolStringList > > > > > > at > > > > > > org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$AddBlockRequestProto.getSerializedSize(ClientNamenodeProtocolProtos.java:13584) > > > > > > at > > > > > > com.google.protobuf.AbstractMessageLite.writeDelimitedTo(AbstractMessageLite.java:84) > > > > > > at > > > > > > org.apache.hadoop.ipc.ProtobufRpcEngine$RpcMessageWithHeader.write(ProtobufRpcEngine.java:335) > > > > > > at > > org.apache.hadoop.ipc.Client$Connection.sendRpcRequest(Client.java:1011) > > > > > > at org.apache.hadoop.ipc.Client.call(Client.java:1441) > > > > > > at org.apache.hadoop.ipc.Client.call(Client.java:1399) > > > > > > at > > > > > > org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:232) > > > > > > ... 12 more > > > > > > 2015-04-06 08:09:03,441 INFO [Thread-15] retry.RetryInvocationHandler: > > > Exception while invoking addBlock of class > > > ClientNamenodeProtocolTranslatorPB over m1032/192.168.10.32:8020 > after 3 > > > fail over attempts. Trying to fail over immediately. > > > > > > java.io.IOException: com.google.protobuf.ServiceException: > > > java.lang.IncompatibleClassChangeError: Class > > > com.google.protobuf.UnmodifiableLazyStringList does not implement the > > > requested interface com.google.protobuf.ProtocolStringList > > > > > > --089e013cc21aa5dea40513054328--