Return-Path: Delivered-To: apmail-hadoop-hbase-dev-archive@minotaur.apache.org Received: (qmail 40623 invoked from network); 30 Jun 2009 02:03:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 30 Jun 2009 02:03:01 -0000 Received: (qmail 36122 invoked by uid 500); 30 Jun 2009 02:03:11 -0000 Delivered-To: apmail-hadoop-hbase-dev-archive@hadoop.apache.org Received: (qmail 36060 invoked by uid 500); 30 Jun 2009 02:03:11 -0000 Mailing-List: contact hbase-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hbase-dev@hadoop.apache.org Delivered-To: mailing list hbase-dev@hadoop.apache.org Received: (qmail 36049 invoked by uid 99); 30 Jun 2009 02:03:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Jun 2009 02:03:11 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Jun 2009 02:03:08 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 666F1234C004 for ; Mon, 29 Jun 2009 19:02:47 -0700 (PDT) Message-ID: <506555903.1246327367404.JavaMail.jira@brutus> Date: Mon, 29 Jun 2009 19:02:47 -0700 (PDT) From: "Jonathan Gray (JIRA)" To: hbase-dev@hadoop.apache.org Subject: [jira] Updated: (HBASE-1591) HBASE-1554 broke org.apache.hadoop.hbase.io.hfile.TestLruBlockCache.testResizeBlockCache In-Reply-To: <143697380.1246323887352.JavaMail.jira@brutus> 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-1591?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Gray updated HBASE-1591: --------------------------------- Attachment: HBASE-1591-v1.patch Cleans up TestLruBlockCache a great deal. I was doing a lot of hard-coding of block sizes, cache sizes, etc... Was an imperfect science and not very portable. I made LruBlockCache only have heapSize, not a separate cacheSize. The unit tests are also fully testing the heap size tracking. Any further work for sizing of this will be in HBASE-1590 though I'm not sure how necessary that is anymore. > HBASE-1554 broke org.apache.hadoop.hbase.io.hfile.TestLruBlockCache.testResizeBlockCache > ---------------------------------------------------------------------------------------- > > Key: HBASE-1591 > URL: https://issues.apache.org/jira/browse/HBASE-1591 > Project: Hadoop HBase > Issue Type: Bug > Affects Versions: 0.20.0 > Reporter: Jonathan Gray > Assignee: Jonathan Gray > Fix For: 0.20.0 > > Attachments: HBASE-1591-v1.patch > > > Modification of LRU heap size calculations altered some of the test expectations in the LRU test. > {noformat} > Error Message > expected:<0> but was:<1> > Stacktrace > junit.framework.AssertionFailedError: expected:<0> but was:<1> > at org.apache.hadoop.hbase.io.hfile.TestLruBlockCache.testResizeBlockCache(TestLruBlockCache.java:435) > {noformat} > Patch coming... -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.