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 E0424FB05 for ; Tue, 23 Apr 2013 20:07:20 +0000 (UTC) Received: (qmail 25910 invoked by uid 500); 23 Apr 2013 20:07:20 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 25869 invoked by uid 500); 23 Apr 2013 20:07:20 -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 25826 invoked by uid 99); 23 Apr 2013 20:07:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Apr 2013 20:07:20 +0000 Date: Tue, 23 Apr 2013 20:07:20 +0000 (UTC) From: "Hudson (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-8384) heap size computation for HStore is fishy MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-8384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13639539#comment-13639539 ] Hudson commented on HBASE-8384: ------------------------------- Integrated in HBase-TRUNK-on-Hadoop-2.0.0 #507 (See [https://builds.apache.org/job/HBase-TRUNK-on-Hadoop-2.0.0/507/]) HBASE-8384 heap size computation for HStore is fishy (Revision 1470777) Result = ABORTED sershe : Files : * /hbase/trunk/hbase-common/src/main/java/org/apache/hadoop/hbase/util/ClassSize.java * /hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HStore.java * /hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/ScanInfo.java > heap size computation for HStore is fishy > ----------------------------------------- > > Key: HBASE-8384 > URL: https://issues.apache.org/jira/browse/HBASE-8384 > Project: HBase > Issue Type: Bug > Reporter: Sergey Shelukhin > Assignee: Sergey Shelukhin > Priority: Minor > Attachments: HBASE-8384-v0.patch > > > There's something off with heap size computation for HStore. If one adds a long to HStore, and size of long to the computation, TestHeapSize passes both locally (for me) and in jenkins. If one adds an int and size of int, it passes locally but fails in Jenkins. Perhaps the numbers are already off and some sort of packing is taking/not taking place differently. > On a tangentially related note, if we can obtain size programmatically (the way we do it in test), and only need to do it once, I wonder if we should just do it and remove all the manually modifiable constants stuff. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira