[ https://issues.apache.org/jira/browse/HBASE-15722?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15262064#comment-15262064 ]
Samir Ahmic commented on HBASE-15722: ------------------------------------- Same thing with hlogFileSize in jmx metrics it is negative number. This is defaultWALProvider, i did not change default config. So far i have tracked this to AbstractFSWAL.java: {code} 561 this.totalLogSize.addAndGet(-this.fs.getFileStatus(p).getLen()); {code} This is how we get negative value. What i'm checking now is why {code}totalLogSize{code} end up being negative > 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)