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

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

Can you also address this comment from above: 
bq. doReplaceWriter() returns the length of the WAL file. Not sure it is the 
correct calculation though.


> 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: HBASE-15722_v0.patch, HBASE-15722_v1.patch, 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