From 7ee7e194c4ee3979d353df5af2854808644cbd4e Mon Sep 17 00:00:00 2001 From: George Shiqi Wu Date: Mon, 26 Aug 2024 07:40:02 -0700 Subject: [PATCH] Add supervisor log when task count is greater than partitions (#16948) * Add log message when task count is higher than partitions * newline * fix ordering * Add supervisor id * Update indexing-service/src/main/java/org/apache/druid/indexing/seekablestream/supervisor/SeekableStreamSupervisor.java Co-authored-by: Kashif Faraz * Update indexing-service/src/main/java/org/apache/druid/indexing/seekablestream/supervisor/SeekableStreamSupervisor.java Co-authored-by: Kashif Faraz * Update indexing-service/src/main/java/org/apache/druid/indexing/seekablestream/supervisor/SeekableStreamSupervisor.java Co-authored-by: Kashif Faraz --------- Co-authored-by: Kashif Faraz --- .../seekablestream/supervisor/SeekableStreamSupervisor.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/indexing-service/src/main/java/org/apache/druid/indexing/seekablestream/supervisor/SeekableStreamSupervisor.java b/indexing-service/src/main/java/org/apache/druid/indexing/seekablestream/supervisor/SeekableStreamSupervisor.java index 81d8871b8e8..d7294abc9d5 100644 --- a/indexing-service/src/main/java/org/apache/druid/indexing/seekablestream/supervisor/SeekableStreamSupervisor.java +++ b/indexing-service/src/main/java/org/apache/druid/indexing/seekablestream/supervisor/SeekableStreamSupervisor.java @@ -2733,6 +2733,10 @@ public abstract class SeekableStreamSupervisor partitionIdsFromSupplier.size()) { + log.warn("Configured task count[%s] for supervisor[%s] is greater than the number of partitions[%d].", configuredTaskCount, supervisorId, partitionIdsFromSupplier.size()); + } Map storedMetadata = getOffsetsFromMetadataStorage(); Set storedPartitions = storedMetadata.keySet(); Set closedPartitions = storedMetadata