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 DCBE568A4 for ; Sat, 28 May 2011 15:12:30 +0000 (UTC) Received: (qmail 57536 invoked by uid 500); 28 May 2011 15:12:30 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 57509 invoked by uid 500); 28 May 2011 15:12:30 -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 57501 invoked by uid 99); 28 May 2011 15:12:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 May 2011 15:12:30 +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; Sat, 28 May 2011 15:12:28 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 67266E52E3 for ; Sat, 28 May 2011 15:11:47 +0000 (UTC) Date: Sat, 28 May 2011 15:11:47 +0000 (UTC) From: "Ted Yu (JIRA)" To: issues@hbase.apache.org Message-ID: <1367220442.50924.1306595507419.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 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HBASE-3927?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ted Yu updated HBASE-3927: -------------------------- Attachment: 3927.txt This version adds compression ratio in HServerLoad.toString() > 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