This is an automated email from the ASF dual-hosted git repository. github-merge-queue[bot] pushed a commit to branch gh-readonly-queue/master/pr-20773-5ec913f8754bfe1f130a74df6a523844cc10ac92 in repository https://gitbox.apache.org/repos/asf/hudi.git
commit 555520097f0a9abf988e0c075b52e92c326dbc7f Author: voonhous <[email protected]> AuthorDate: Fri Nov 20 09:09:59 2026 +0000 refactor(timeline-service): use Lombok @Slf4j for loggers (#20773) Replace the hand-declared public static final SLF4J logger in MarkerCreationDispatchingRunnable with Lombok @Slf4j: add the annotation, drop the field and the org.slf4j imports, and rename LOG to log. Migrated (1 file). The field was public, but nothing outside the class referenced it (no qualified uses, no subclasses), so narrowing it to the private Lombok field breaks no caller. No topic-preserved files, no category changes, no cross-module touches, no skipped files. --- .../handlers/marker/MarkerCreationDispatchingRunnable.java | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/hudi-timeline-service/src/main/java/org/apache/hudi/timeline/service/handlers/marker/MarkerCreationDispatchingRunnable.java b/hudi-timeline-service/src/main/java/org/apache/hudi/timeline/service/handlers/marker/MarkerCreationDispatchingRunnable.java index de8a93aeddd9..9abb042b61ce 100644 --- a/hudi-timeline-service/src/main/java/org/apache/hudi/timeline/service/handlers/marker/MarkerCreationDispatchingRunnable.java +++ b/hudi-timeline-service/src/main/java/org/apache/hudi/timeline/service/handlers/marker/MarkerCreationDispatchingRunnable.java @@ -20,8 +20,7 @@ package org.apache.hudi.timeline.service.handlers.marker; import org.apache.hudi.common.util.Option; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; +import lombok.extern.slf4j.Slf4j; import java.util.ArrayList; import java.util.List; @@ -31,9 +30,8 @@ import java.util.concurrent.ExecutorService; /** * A runnable that performs periodic, batched creation of markers for write operations. */ +@Slf4j public class MarkerCreationDispatchingRunnable implements Runnable { - public static final Logger LOG = LoggerFactory.getLogger(MarkerCreationDispatchingRunnable.class); - // Marker directory states, {markerDirPath -> MarkerDirState instance} private final Map<String, MarkerDirState> markerDirStateMap; private final ExecutorService executorService; @@ -72,7 +70,7 @@ public class MarkerCreationDispatchingRunnable implements Runnable { MarkerDirState markerDirState = entry.getValue(); Option<Integer> fileIndex = markerDirState.getNextFileIndexToUse(); if (!fileIndex.isPresent()) { - LOG.debug("All marker files are busy, skip batch processing of create marker requests in {}", markerDir); + log.debug("All marker files are busy, skip batch processing of create marker requests in {}", markerDir); continue; } List<MarkerCreationFuture> futures = markerDirState.fetchPendingMarkerCreationRequests();
