[
https://issues.apache.org/jira/browse/HBASE-15722?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Samir Ahmic updated HBASE-15722:
--------------------------------
Attachment: HBASE-15722_v2.patch
[~enis] here is new patch fixing issue in {{doReplaceWriter()}} and using this
function for getting WALs file size. Issue was cause because we were getting
writer length before writer was closed resulting that return value was less
then actual file size on HDFS.
> 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,
> HBASE-15722_v2.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)