[
https://issues.apache.org/jira/browse/HBASE-29088?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Duo Zhang resolved HBASE-29088.
-------------------------------
Fix Version/s: 2.7.0
3.0.0-beta-2
2.6.2
2.5.12
Hadoop Flags: Reviewed
Resolution: Fixed
Pushed to branch-2.5+.
Thanks [~guluo] for contributing!
> The denominator cannot be 0 when calculating percentages in SnapshotStats
> -------------------------------------------------------------------------
>
> Key: HBASE-29088
> URL: https://issues.apache.org/jira/browse/HBASE-29088
> Project: HBase
> Issue Type: Bug
> Environment: hbase master
> centos7
> Reporter: guluo
> Assignee: guluo
> Priority: Major
> Labels: pull-request-available
> Fix For: 2.7.0, 3.0.0-beta-2, 2.6.2, 2.5.12
>
>
> SnapShotStats.getStoreFilesSize() would return 0 if the table has no any data.
> In this case, when calculating percentages, the denominator would be 0, which
> is illegal.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)