You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "Udit Mehrotra (Jira)" <ji...@apache.org> on 2021/08/12 22:24:00 UTC

[jira] [Updated] (HUDI-2017) Some of the Metadata table metrics are incorrect

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

Udit Mehrotra updated HUDI-2017:
--------------------------------
    Status: In Progress  (was: Open)

> Some of the Metadata table metrics are incorrect 
> -------------------------------------------------
>
>                 Key: HUDI-2017
>                 URL: https://issues.apache.org/jira/browse/HUDI-2017
>             Project: Apache Hudi
>          Issue Type: Bug
>            Reporter: Prashant Wason
>            Assignee: Prashant Wason
>            Priority: Blocker
>              Labels: pull-request-available
>             Fix For: 0.9.0
>
>
> Metadata Table is synced in preWrite() and postWrite() functions of commit. As part of the sync, the current sizes and basefile/logfile counts are published as metrics. If we use the Registry.add() API, the count and sizes are incorrectly published as sum of the two values.
> We need to introduce a new API in the metrics registry which allows setting the value of a metric.
>  



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