Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-16273

Display ServerLoad sizes in appropriate units

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Duplicate
    • None
    • None
    • None
    • None

    Description

      Currently store file size is reported in MB and index & bloom filter in kb.

      There are two problems here.

      1) They are calculated from bytes by dividing by 1024 / 1024 and then converted to an int. So for small regions it always reports 0.

      2) And this conversion is done per store so even if there are multiple stores and all of them combined would be larger than 1 MB it'd be reported as 0

      I'd suggest to count them in bytes and then when displaying them on the RegionServer UI page decide on an appropriate unit to use.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              larsfrancke Lars Francke
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: