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 DF199470E for ; Sun, 29 May 2011 20:18:28 +0000 (UTC) Received: (qmail 58295 invoked by uid 500); 29 May 2011 20:18:28 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 58271 invoked by uid 500); 29 May 2011 20:18:28 -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 58263 invoked by uid 99); 29 May 2011 20:18:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 May 2011 20:18:28 +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; Sun, 29 May 2011 20:18:27 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id AF3DBE71B0 for ; Sun, 29 May 2011 20:17:47 +0000 (UTC) Date: Sun, 29 May 2011 20:17:47 +0000 (UTC) From: "Ted Yu (JIRA)" To: issues@hbase.apache.org Message-ID: <97817748.52233.1306700267714.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <422229425.46279.1306434947359.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (HBASE-3927) display total uncompressed byte size of a region in web UI 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-3927?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ted Yu updated HBASE-3927: -------------------------- Attachment: (was: 3927.txt) > display total uncompressed byte size of a region in web UI > ---------------------------------------------------------- > > Key: HBASE-3927 > URL: https://issues.apache.org/jira/browse/HBASE-3927 > Project: HBase > Issue Type: Improvement > Components: metrics > Reporter: Matt Corgan > Assignee: Ted Yu > Priority: Minor > Attachments: 3927.txt, regionserver-showing-compression-ratio.png > > > The decision to split data blocks when flushing and compacting is made based on the uncompressed data size which can often lead to compressed disk blocks that are a fraction of the intended 64 KB (default). This often leads to a larger number of blocks and index entries than expected and can cause block indexes to take up GB of memory. > There is already a "long totalUncompressedBytes" written to the HFileTrailer. It would be nice to expose this in the web UI to make it easier to calculate the compression ratio and then raise the block size appropriately (not necessarily to get it back to 64K). > This should probably be added wherever the other HFile metrics are: RegionLoad.createRegions(..), and HServerLoad. HServerLoad is a Writable, so it may break serialization. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira