You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Toshihiro Suzuki (Jira)" <ji...@apache.org> on 2020/09/28 06:14:00 UTC

[jira] [Resolved] (HBASE-25096) WAL size in RegionServer UI is wrong

     [ https://issues.apache.org/jira/browse/HBASE-25096?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Toshihiro Suzuki resolved HBASE-25096.
--------------------------------------
    Hadoop Flags: Reviewed
      Resolution: Fixed

> WAL size in RegionServer UI is wrong
> ------------------------------------
>
>                 Key: HBASE-25096
>                 URL: https://issues.apache.org/jira/browse/HBASE-25096
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Toshihiro Suzuki
>            Assignee: Toshihiro Suzuki
>            Priority: Major
>             Fix For: 3.0.0-alpha-1, 2.3.3, 1.7.0, 2.4.0, 2.2.7
>
>
> In MetricsRegionServerWrapperImpl, *walFileSize* is calculated by *provider.getLogFileSize()* twice as follows, which is causing the wrong WAL size in RegionServer UI:
> {code:java}
>         walFileSize = (provider == null ? 0 : provider.getLogFileSize()) +
>             (provider == null ? 0 : provider.getLogFileSize());
> {code}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)