[
https://issues.apache.org/jira/browse/HBASE-29068?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Charles Connell updated HBASE-29068:
------------------------------------
Description:
If you are running a table with region replicas, the secondary replicas usually
cannot achieve 100% locality. Currently a RegionServer reports two locality
metrics:
* {{percentFilesLocal}}
* {{percentFilesLocalSecondaryRegions}}
Both of these will be less than 100% if region replicas are enabled. The best
we can do is get 100% locality for the primary replicas, but there is currently
no way to see if we've achieved it.
I propose introducing the new metric {{percentFilesLocalPrimaryRegions}}
was:
If you are running a table with region replicas, the secondary replicas usually
cannot achieve 100% locality. Currently a RegionServer reports two locality
metrics:
* percentFilesLocal
* percentFilesLocalSecondaryRegions
Both of these will be less than 100% if region replicas are enabled. The best
we can do is get 100% locality for the primary replicas, but there is currently
no way to see if we've achieved it.
I propose introducing the new metric {{percentFilesLocalPrimaryRegions}}
> Report percentFilesLocalPrimaryRegions metric
> ---------------------------------------------
>
> Key: HBASE-29068
> URL: https://issues.apache.org/jira/browse/HBASE-29068
> Project: HBase
> Issue Type: Improvement
> Components: metrics, read replicas
> Reporter: Charles Connell
> Assignee: Charles Connell
> Priority: Minor
>
> If you are running a table with region replicas, the secondary replicas
> usually cannot achieve 100% locality. Currently a RegionServer reports two
> locality metrics:
> * {{percentFilesLocal}}
> * {{percentFilesLocalSecondaryRegions}}
> Both of these will be less than 100% if region replicas are enabled. The best
> we can do is get 100% locality for the primary replicas, but there is
> currently no way to see if we've achieved it.
> I propose introducing the new metric {{percentFilesLocalPrimaryRegions}}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)