Return-Path: X-Original-To: apmail-hbase-dev-archive@www.apache.org Delivered-To: apmail-hbase-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 686BEF84F for ; Wed, 10 Apr 2013 21:52:50 +0000 (UTC) Received: (qmail 18662 invoked by uid 500); 10 Apr 2013 21:52:49 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 18589 invoked by uid 500); 10 Apr 2013 21:52:49 -0000 Mailing-List: contact dev-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list dev@hbase.apache.org Received: (qmail 18581 invoked by uid 99); 10 Apr 2013 21:52:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Apr 2013 21:52:49 +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 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of yuzhihong@gmail.com designates 209.85.215.41 as permitted sender) Received: from [209.85.215.41] (HELO mail-la0-f41.google.com) (209.85.215.41) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Apr 2013 21:52:45 +0000 Received: by mail-la0-f41.google.com with SMTP id er20so917390lab.0 for ; Wed, 10 Apr 2013 14:52:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=Qz6i+ProxgRhDm7JI7gsAlzfzKGCau8DkdQFAOmEsaw=; b=gokwY/3P65AS2jqwD1zkDB/No+SJIBMZ8pOcQl19TOutbSYio/ZOPH68pP6joES/N7 O1WmswVZnQZa4gI7Go2Q+juIJpcQjU1RV9Qwrm20fjLlHDiIAd34idHAepzCPlw2Qpgk cJBrFq2DXtaldVjxg3h72TmUw7B8GVhUc0fkCTAnrmRbAAHhAyq+WpQ6P+3Ev9PCbPiy 3XHvd60RC3r2kO/kRJb/RpySt4rVpSEeUcSaja1tTPZe8vBFX8McqTysOC8Cej32WOhl 2drAXe+3RWHRY0zXSil5yetA0fCGgD+I9UlQ0BXEuEXkwR9PjwMD1Z06tAVaz4Wdy/OT wQ+Q== MIME-Version: 1.0 X-Received: by 10.112.137.135 with SMTP id qi7mr2012881lbb.117.1365630743925; Wed, 10 Apr 2013 14:52:23 -0700 (PDT) Received: by 10.112.84.133 with HTTP; Wed, 10 Apr 2013 14:52:23 -0700 (PDT) In-Reply-To: References: Date: Wed, 10 Apr 2013 14:52:23 -0700 Message-ID: Subject: Re: unable to run unit test in trunk against hadoop 2.0 From: Ted Yu To: dev@hbase.apache.org Content-Type: multipart/alternative; boundary=089e012292fa62d94004da08afd8 X-Virus-Checked: Checked by ClamAV on apache.org --089e012292fa62d94004da08afd8 Content-Type: text/plain; charset=ISO-8859-1 Andy commented on HBASE-8165, confirming that the test failures were due to incompatibilities between protobuf (2.5.0) HBase uses and the version (2.4) that hadoop 2.0 uses. On Wed, Apr 10, 2013 at 2:49 PM, Jonathan Hsieh wrote: > From this [1] build, it looks like one of these two introduced the problem > -- : > > 1. HBASE-8266-Master cannot start if TableNotFoundException is thrown > while partial table recovery(Ram) > (detail< > http://54.241.6.143/job/HBase-TRUNK-Hadoop-2/org.apache.hbase$hbase-server/106/changes#detail0 > > > ) > 2. HBASE-8165 Update our protobuf to 2.5 from 2.4.1 > (detail< > http://54.241.6.143/job/HBase-TRUNK-Hadoop-2/org.apache.hbase$hbase-server/106/changes#detail1 > > > ) > > > Spent a minute to look at the errors, it looks like all of them are related > to protobuf -- looks like HBASE-8165 is the trigger. Have you tried doing > a 'mvn instal' to upated the hbase-protocol module to see if that fixed the > problem? > > [1] > > http://54.241.6.143/job/HBase-TRUNK-Hadoop-2/org.apache.hbase$hbase-server/106/#showFailuresLink > > On Wed, Apr 10, 2013 at 2:40 PM, Ted Yu wrote: > > > Jon: > > Looks like your workspace was out of date. > > > > Have you seen this (204 test failures) ? > > > > http://54.241.6.143/job/HBase-TRUNK-Hadoop-2/107/testReport/ > > > > On Wed, Apr 10, 2013 at 2:37 PM, Jonathan Hsieh > wrote: > > > > > Hey Ted, > > > > > > I was working on fixing that particular unit test against hadoop2 this > > > morning in HBASE-7606 and it seems to work for me (after the patch. > > Before > > > the patch it tends to hang). Are you running it like this: > > > > > > $ mvn clean test -Dhadoop.profile=2.0 -Dtest=TestJoinedScanners > > > .... > > > ------------------------------------------------------- > > > T E S T S > > > ------------------------------------------------------- > > > Running org.apache.hadoop.hbase.regionserver.TestJoinedScanners > > > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 63.813 > > sec > > > > > > > > > Jon. > > > > > > > > > On Wed, Apr 10, 2013 at 2:01 PM, Ted Yu wrote: > > > > > > > Hi, > > > > I am getting the following error when trying to run unit test in > trunk > > > > against hadoop 2.0: > > > > > > > > > > > > > > testJoinedScanners(org.apache.hadoop.hbase.regionserver.TestJoinedScanners) > > > > Time elapsed: 2.518 sec <<< ERROR! > > > > 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) > > > > > > > > Looks like the above only happens with hadoop 2.0, not hadoop 1.0 > > > > > > > > FYI > > > > > > > > > > > > > > > > -- > > > // Jonathan Hsieh (shay) > > > // Software Engineer, Cloudera > > > // jon@cloudera.com > > > > > > > > > -- > // Jonathan Hsieh (shay) > // Software Engineer, Cloudera > // jon@cloudera.com > --089e012292fa62d94004da08afd8--