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

Viraj Jasani resolved PHOENIX-7089.
-----------------------------------
    Resolution: Fixed

> TableMetricsManager#getSizeHistogramsForAllTables() is returning empty map
> --------------------------------------------------------------------------
>
>                 Key: PHOENIX-7089
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-7089
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Mihir Monani
>            Assignee: Mihir Monani
>            Priority: Minor
>             Fix For: 5.2.0
>
>
> [https://github.com/apache/phoenix/blob/master/phoenix-core/src/main/java/org/apache/phoenix/monitoring/TableMetricsManager.java#L322C1-L328C6]
> TableMetricsManager#getSizeHistogramsForAllTables() is returning empty map 
> for Histogram Metrics.
> {code:java}
> public static Map<String, List<HistogramDistribution>> 
> getSizeHistogramsForAllTables() {
>         Map<String, List<HistogramDistribution>> map = new HashMap<>();
>         for (Map.Entry<String, TableClientMetrics> entry : 
> tableClientMetricsMapping.entrySet()) {
>             TableHistograms tableHistograms = 
> entry.getValue().getTableHistograms();
>         }
>         return map;
>     } {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to