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

Enis Soztutar commented on HBASE-15722:
---------------------------------------

I think the issue is not in the long to human readable conversion. What do you 
see when you go to /jmx and check the {{hlogFileSize}} metric? Is this 
multi-wal? 

> Size. WAL Files (bytes) in regionserver status page displays negative values
> ----------------------------------------------------------------------------
>
>                 Key: HBASE-15722
>                 URL: https://issues.apache.org/jira/browse/HBASE-15722
>             Project: HBase
>          Issue Type: Bug
>          Components: UI
>    Affects Versions: 2.0.0
>            Reporter: Samir Ahmic
>            Assignee: Samir Ahmic
>            Priority: Minor
>         Attachments: WALs.png
>
>
> Here is the line from ServerMetricTmpl.jamon
> {code}
> TraditionalBinaryPrefix.long2String(mWrap.getWALFileSize(), "B", 1)
> {code} 
>  I will change this to StringUtils.humanSize()



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to