hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Enis Soztutar (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-8664) Small fix ups for memory size outputs in UI
Date Fri, 31 May 2013 01:03:20 GMT

    [ https://issues.apache.org/jira/browse/HBASE-8664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13671028#comment-13671028
] 

Enis Soztutar commented on HBASE-8664:
--------------------------------------

bq. 'm' instead of 'MB' and 'k' instead of KB
Not sure this is better readable. Should we instead wrap humanReadablleInt to uppercase K/M/G,
and append B ourselves? 
bq. Removed a stray KB that was in the wrong place too.
Yeah, I noticed that too. 
Good on you Stack(™)
                
> Small fix ups for memory size outputs in UI
> -------------------------------------------
>
>                 Key: HBASE-8664
>                 URL: https://issues.apache.org/jira/browse/HBASE-8664
>             Project: HBase
>          Issue Type: Bug
>          Components: UI
>            Reporter: stack
>            Assignee: stack
>             Fix For: 0.95.1
>
>         Attachments: ui.txt
>
>
> This issue goes in the 'polish' category.  On regionserver ui, we were listing raw bytes
for heap size, memstore size, etc.  I put in place StringUtils.humanReadableInt (looked to
see if bootstrap could do it for us but doesn't seem so, not w/o plugin).  I then made all
the megabytes and kilobytes match StringUtils.humanReadableInt with its 'm' instead of 'MB'
and 'k' instead of KB.  Removed a stray KB that was in the wrong place too.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message