You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2022/07/20 09:36:53 UTC

[GitHub] [hudi] CaesarWangX opened a new issue, #6148: [SUPPORT] Can't get numDeletes in HoodieMetrics

CaesarWangX opened a new issue, #6148:
URL: https://github.com/apache/hudi/issues/6148

   Hi Team, I have a problem in the process of using HoodieMetrics
   
   How I use it:
   I use the customized MetricsRepoter which extends **AbstractUserDefinedMetricsReporter**, and get sortedMap<string, gauge> through MetricRegistry, but I can't get the data related to **numDeletes** in the result.
   
   What have I done:
   I go through the source code of **HoodieMetrics** and **HoodieCommitMetadata**. I found that the method **getTotalRecordsDeleted** has been defined in **HoodieCommitMetadata** in Hudi, but there is no call to getTotalRecordsDeleted in **HoodieMetrics**. In this case, using Hudi's metrics cannot obtain the amount of data deleted.
   
   Question:
   Is this a bug?
   If so, which version is expected to be repaired?
   If not, is there any plan to add it to metrics in a later version? Or is there any other way to get numDeletes from metrics?
   
   Thanks in advance


-- 
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.apache.org

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


[GitHub] [hudi] xushiyan commented on issue #6148: [SUPPORT] Can't get numDeletes in HoodieMetrics

Posted by GitBox <gi...@apache.org>.
xushiyan commented on issue #6148:
URL: https://github.com/apache/hudi/issues/6148#issuecomment-1210771966

   > Question:
   Is this a bug?
   If so, which version is expected to be repaired?
   If not, is there any plan to add it to metrics in a later version? Or is there any other way to get numDeletes from metrics?
   
   @CaesarWangX it's not a bug. it's not in metrics by design. we can consider adding it. Filed https://issues.apache.org/jira/browse/HUDI-4596


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


[GitHub] [hudi] xushiyan closed issue #6148: [SUPPORT] Can't get numDeletes in HoodieMetrics

Posted by GitBox <gi...@apache.org>.
xushiyan closed issue #6148: [SUPPORT] Can't get numDeletes in HoodieMetrics
URL: https://github.com/apache/hudi/issues/6148


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


[GitHub] [hudi] CaesarWangX commented on issue #6148: [SUPPORT] Can't get numDeletes in HoodieMetrics

Posted by GitBox <gi...@apache.org>.
CaesarWangX commented on issue #6148:
URL: https://github.com/apache/hudi/issues/6148#issuecomment-1190055423

   I can get it from the .deltacommit files in .hoodie folder. But I prefer to get it in metrics


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