Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id AF4F1200B4C for ; Fri, 22 Jul 2016 23:14:27 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id ADB19160A8E; Fri, 22 Jul 2016 21:14:27 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 288CB160A5A for ; Fri, 22 Jul 2016 23:14:27 +0200 (CEST) Received: (qmail 88009 invoked by uid 500); 22 Jul 2016 21:14:20 -0000 Mailing-List: contact dev-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list dev@hbase.apache.org Received: (qmail 87626 invoked by uid 99); 22 Jul 2016 21:14:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Jul 2016 21:14:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 8A9272C0D60 for ; Fri, 22 Jul 2016 21:14:20 +0000 (UTC) Date: Fri, 22 Jul 2016 21:14:20 +0000 (UTC) From: "Lars Francke (JIRA)" To: dev@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (HBASE-16273) Display ServerLoad sizes in appropriate units MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 22 Jul 2016 21:14:27 -0000 [ https://issues.apache.org/jira/browse/HBASE-16273?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lars Francke resolved HBASE-16273. ---------------------------------- Resolution: Duplicate > Display ServerLoad sizes in appropriate units > --------------------------------------------- > > Key: HBASE-16273 > URL: https://issues.apache.org/jira/browse/HBASE-16273 > Project: HBase > Issue Type: Improvement > Reporter: Lars Francke > Priority: Trivial > > 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. -- This message was sent by Atlassian JIRA (v6.3.4#6332)