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

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17395597#comment-17395597 ] 

ASF GitHub Bot commented on HUDI-2017:
--------------------------------------

hudi-bot edited a comment on pull request #3084:
URL: https://github.com/apache/hudi/pull/3084#issuecomment-861654242


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "0f912497450d109667dc36d6f79b8feea2b83203",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=196",
       "triggerID" : "0f912497450d109667dc36d6f79b8feea2b83203",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 0f912497450d109667dc36d6f79b8feea2b83203 Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=196) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> 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)