[
https://issues.apache.org/jira/browse/HBASE-28997?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated HBASE-28997:
-----------------------------------
Labels: pull-request-available (was: )
> Table Regions Total Locality value on the UI shows 1.0 even though some of
> the regions locality value is zero
> -------------------------------------------------------------------------------------------------------------
>
> Key: HBASE-28997
> URL: https://issues.apache.org/jira/browse/HBASE-28997
> Project: HBase
> Issue Type: Bug
> Components: UI
> Reporter: Chandra Sekhar K
> Assignee: Chandra Sekhar K
> Priority: Major
> Labels: pull-request-available
>
> Table Regions Total Locality value on the UI shows 1.0 even though some of
> the regions locality value is zero. This is due to the rounding of happening
> inside the String.format() function.
> I have a table with 200 regions and 1 of the regions locality is zero, the
> overall locality calculated value is ~0.99524385, but the String.format
> function rounded of this value to 1.0.
> If some of the table regions localtiy is zero then we should not show the
> total Locality of the table as 1.0 as this can be misleading to the user.
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)