You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2011/06/16 23:20:47 UTC

[jira] [Resolved] (HBASE-3927) display total uncompressed byte size of a region in web UI

     [ https://issues.apache.org/jira/browse/HBASE-3927?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stack resolved HBASE-3927.
--------------------------

       Resolution: Fixed
    Fix Version/s: 0.92.0
     Hadoop Flags: [Reviewed]

Ran tests and they are passing.  Committed to TRUNK.  Thanks Ted (The way VERSION work is that you might encounter a serialized object that is of a version that is before yours.  When deserializing you won't be expecting to find fields that were added in your current version)

> 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
>             Fix For: 0.92.0
>
>         Attachments: 3927-v2.txt, 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