Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 504B39CA5 for ; Mon, 30 Apr 2012 10:13:10 +0000 (UTC) Received: (qmail 62668 invoked by uid 500); 30 Apr 2012 10:13:10 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 62620 invoked by uid 500); 30 Apr 2012 10:13:10 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 62601 invoked by uid 99); 30 Apr 2012 10:13:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Apr 2012 10:13:09 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Apr 2012 10:13:08 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id C672C427973 for ; Mon, 30 Apr 2012 10:12:48 +0000 (UTC) Date: Mon, 30 Apr 2012 10:12:48 +0000 (UTC) From: "Hadoop QA (JIRA)" To: issues@hbase.apache.org Message-ID: <407653418.8862.1335780768814.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <236553085.8271.1335768650288.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HBASE-5900) HRegion#FIXED_OVERHEAD is miscalculated in 94. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HBASE-5900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13264861#comment-13264861 ] Hadoop QA commented on HBASE-5900: ---------------------------------- -1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12525053/HRegion-FIEED_OVERHEAD.patch against trunk revision . +1 @author. The patch does not contain any @author tags. +1 tests included. The patch appears to include 3 new or modified tests. -1 patch. The patch command could not apply the patch. Console output: https://builds.apache.org/job/PreCommit-HBASE-Build/1688//console This message is automatically generated. > HRegion#FIXED_OVERHEAD is miscalculated in 94. > ---------------------------------------------- > > Key: HBASE-5900 > URL: https://issues.apache.org/jira/browse/HBASE-5900 > Project: HBase > Issue Type: Bug > Components: regionserver > Affects Versions: 0.94.0 > Reporter: Jieshan Bean > Assignee: Jieshan Bean > Fix For: 0.94.1 > > Attachments: HRegion-FIEED_OVERHEAD.patch > > > After apply the patch of HBASE-5611, and tested on a 32-bit machine. This problem was triggered. > Before this patch, TestHeapSize is passed by pure coincidence in 94. > {noformat} > public static final long FIXED_OVERHEAD = ClassSize.align( > ClassSize.OBJECT + > ClassSize.ARRAY + > 30 * ClassSize.REFERENCE + Bytes.SIZEOF_INT + > (6 * Bytes.SIZEOF_LONG) + > Bytes.SIZEOF_BOOLEAN); > {noformat} > Actually, there are 31 REFERENCEs and 5 LONGs in HRegion. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira