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 1558318E43 for ; Wed, 8 Jul 2015 23:23:47 +0000 (UTC) Received: (qmail 55380 invoked by uid 500); 8 Jul 2015 23:23:45 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 55319 invoked by uid 500); 8 Jul 2015 23:23:45 -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 55307 invoked by uid 99); 8 Jul 2015 23:23:44 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Jul 2015 23:23:44 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 4BE27181A31 for ; Wed, 8 Jul 2015 23:23:44 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.892 X-Spam-Level: * X-Spam-Status: No, score=1.892 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H2=-1.108, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id QR0XxCDTC45Q for ; Wed, 8 Jul 2015 23:23:43 +0000 (UTC) Received: from mail-ie0-f179.google.com (mail-ie0-f179.google.com [209.85.223.179]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id BD54243BB0 for ; Wed, 8 Jul 2015 23:23:42 +0000 (UTC) Received: by ieru20 with SMTP id u20so22673330ier.0 for ; Wed, 08 Jul 2015 16:23:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type; bh=RY5N5aLoVg4adf3kWMh7bM94nqTy7WwCYc6cS/SKias=; b=Fk/6VesUvUnhkN/Hlv+52OjQyNxTw4T8vYLcs0ImDkDktehbOLGMtBfaicrFxlvRj7 edBGBmr76nfMy4dGPlbbmNEbeFnsYdYrWrHMi6RHdFJkMgbUjGnaGdGYT60lIfmp+NmX qiarTt6frQ+VErwEQnghPpDpZsKcUt0pHvXxCVm+iQSITzDI5Qz6JVE8MHtcZ99UlJjL 5f4lqIHG87sP8LGCiUlH6thhqZh1tdHFKUJ6htAeqIueK92xhN4/Wfkhc68LpSpkU4yg D1myk7yJMH0Q9KmyicPk5SVNQjA78L+KOP7FjtR8XF5cad9BQmKmcx+887WF8vlK0zLy 0aXQ== MIME-Version: 1.0 X-Received: by 10.107.137.41 with SMTP id l41mr20202707iod.60.1436397822403; Wed, 08 Jul 2015 16:23:42 -0700 (PDT) Sender: saint.ack@gmail.com Received: by 10.36.47.21 with HTTP; Wed, 8 Jul 2015 16:23:42 -0700 (PDT) In-Reply-To: References: Date: Wed, 8 Jul 2015 16:23:42 -0700 X-Google-Sender-Auth: hWHCvnnSrs1BL7VgtkwCx1qVJPg Message-ID: Subject: Re: protobuf issue when building hbase 0.94.26 with HDFS 2.5.0 From: Stack To: Hbase-User Content-Type: multipart/alternative; boundary=001a113ec6f0f5eb9e051a656d64 --001a113ec6f0f5eb9e051a656d64 Content-Type: text/plain; charset=UTF-8 Did you use the protoc compiler from 2.5.0 to regenerate the 0.94 pb classes? St.Ack On Wed, Jul 8, 2015 at 11:21 AM, Neutron sharc wrote: > Hi folks, > > I'm building hbase 0.94.26 with HDFS 2.5.0. I have applied patch > HBASE-11076 (to regenerate proto java source files with protoc 2.5.0), and > my pom.xml points to protobuf.version 2.5.0. However some unittests still > keep failing and complain about: > > > testFailingCreateTable(org.apache.hadoop.hbase.rest.client.TestRemoteAdminRetries): > This is supposed to be overridden by subclasses. > > Detailed test results show the issue is related to mismatched protobuf > library. > 6 java.lang.UnsupportedOperationException: This is supposed to be > overridden by subclasses. > 7 at > > com.google.protobuf.GeneratedMessage.getUnknownFields(GeneratedMessage.java:180) > 8 at > > org.apache.hadoop.hbase.rest.protobuf.generated.ScannerMessage$Scanner.getSerializedSize(ScannerMessage.java:274) > 9 at > > com.google.protobuf.AbstractMessageLite.toByteArray(AbstractMessageLite.java:62) > > > I use protobuf.version 2.5.0 in my pom.xml, so I assume the runtime should > pick the right protobuf jar. > > Any clues how to solve this issue? Thanks! > > > -Neutron > --001a113ec6f0f5eb9e051a656d64--