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 1DD067911 for ; Tue, 15 Nov 2011 06:42:06 +0000 (UTC) Received: (qmail 53044 invoked by uid 500); 15 Nov 2011 06:42:05 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 52641 invoked by uid 500); 15 Nov 2011 06:42:04 -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 52630 invoked by uid 99); 15 Nov 2011 06:42:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Nov 2011 06:42:03 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of saint.ack@gmail.com designates 209.85.161.169 as permitted sender) Received: from [209.85.161.169] (HELO mail-gx0-f169.google.com) (209.85.161.169) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Nov 2011 06:41:58 +0000 Received: by ggnq1 with SMTP id q1so4468734ggn.14 for ; Mon, 14 Nov 2011 22:41:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; bh=/EVSwlTyuwkAvQe9xLe5DWdF4FFONWxYzPkCX6NnOSg=; b=cYf3yT7Aky0o3V3ajWofMSJmu1KA0GG1sDAixIOohTWIx4/SeCxOiVu/0NAfl3qEHQ oqfeVYCEOQ1xAcrsgKJKMGegP1TQOLRZimmMEmqXhZkw0RxmP8VvNYnbZdSBNbgLJORS acH5dLMboNL9W5j9buG/AVI4aSGo5p/rftaEU= MIME-Version: 1.0 Received: by 10.182.231.100 with SMTP id tf4mr1434844obc.78.1321339297342; Mon, 14 Nov 2011 22:41:37 -0800 (PST) Sender: saint.ack@gmail.com Received: by 10.182.12.134 with HTTP; Mon, 14 Nov 2011 22:41:37 -0800 (PST) In-Reply-To: References: <1737355248.2051321328160777.JavaMail.hudson@aegis> <1060169800.2111321334092115.JavaMail.hudson@aegis> Date: Mon, 14 Nov 2011 22:41:37 -0800 X-Google-Sender-Auth: TMIA0h2HkdG5NELJ4Q9Df8pK-mg Message-ID: Subject: Re: Build failed in Jenkins: HBase-TRUNK #2439 From: Stack To: dev@hbase.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Mon, Nov 14, 2011 at 10:34 PM, Gaojinchao wrote: > =C2=A0Look this comments > =C2=A0public void testBlockHeapSize() { > =C2=A0 =C2=A0// We have seen multiple possible values for this estimate o= f the heap size > =C2=A0 =C2=A0// of a ByteBuffer, presumably depending on the JDK version. > =C2=A0 =C2=A0assertTrue(HFileBlock.BYTE_BUFFER_HEAP_SIZE =3D=3D 64 || > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 HFileBlock.BYTE_BUFFER_H= EAP_SIZE =3D=3D 80); > But in https://issues.apache.org/jira/browse/HBASE-4768 > > We add some code snippets=EF=BC=9A > =C2=A0 =C2=A0 =C2=A0assertEquals(80, HFileBlock.BYTE_BUFFER_HEAP_SIZE); > =C2=A0 =C2=A0 =C2=A0long byteBufferExpectedSize =3D > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0ClassSize.align(ClassSize.estimateBase(= buf.getClass(), true) > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0+ HFileBlock.HEADER_SIZE = + size); You think that broke sizing BlockHeapSize Gao? You have a fix? Thanks, St.Ack