You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "nsivabalan (via GitHub)" <gi...@apache.org> on 2025/12/02 15:02:25 UTC

Re: [PR] chore: reduce log volume by changing per-file/per-block logs to DEBUG level [hudi]

nsivabalan commented on code in PR #14357:
URL: https://github.com/apache/hudi/pull/14357#discussion_r2581582868


##########
hudi-common/src/main/java/org/apache/hudi/common/table/log/BaseHoodieLogRecordReader.java:
##########
@@ -348,6 +348,8 @@ private void scanInternalV1(Option<KeySpec> keySpecOpt) {
         // Eat exception as we do not want to mask the original exception that can happen
         LOG.error("Unable to close log format reader", ioe);
       }
+      LOG.info("Finished scanning log files. Total log files: {}, Total log blocks: {}, Total rollbacks: {}, Total corrupt blocks: {}",

Review Comment:
   we could do FSUtils.getFileIdFromFileName(fileName).
   we can ignore partition path. looks like we don't have access to partition path value most of the times in log record reader.



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