This is an automated email from the ASF dual-hosted git repository.
frankchen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/druid.git
The following commit(s) were added to refs/heads/master by this push:
new ee82fc2928c Suppress interrupted exception in
SeekableStreamIndexTaskRunner (#18312)
ee82fc2928c is described below
commit ee82fc2928cbf0cc3cccb2020efd7573b2544c94
Author: Virushade <[email protected]>
AuthorDate: Thu Jul 24 16:01:39 2025 +0800
Suppress interrupted exception in SeekableStreamIndexTaskRunner (#18312)
* Suppress interrupted exception in SeekableStreamIndexTaskRunner
* Ignore exceptions with Root case as InterruptedException
* Recommit for CICD
---
.../indexing/seekablestream/SeekableStreamIndexTaskRunner.java | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git
a/indexing-service/src/main/java/org/apache/druid/indexing/seekablestream/SeekableStreamIndexTaskRunner.java
b/indexing-service/src/main/java/org/apache/druid/indexing/seekablestream/SeekableStreamIndexTaskRunner.java
index 8299cc8d8dc..c6e4a9ff235 100644
---
a/indexing-service/src/main/java/org/apache/druid/indexing/seekablestream/SeekableStreamIndexTaskRunner.java
+++
b/indexing-service/src/main/java/org/apache/druid/indexing/seekablestream/SeekableStreamIndexTaskRunner.java
@@ -814,7 +814,12 @@ public abstract class
SeekableStreamIndexTaskRunner<PartitionIdType, SequenceOff
catch (Exception e) {
// (1) catch all exceptions while reading from kafka
caughtExceptionInner = e;
- log.error(e, "Encountered exception in run() before persisting.");
+ if (Throwables.getRootCause(e) instanceof InterruptedException) {
+ // Suppress InterruptedException stack trace to avoid flooding the
logs
+ log.error("Encounted InterrupedException in run() before
persisting");
+ } else {
+ log.error(e, "Encountered exception in run() before persisting.");
+ }
throw e;
}
finally {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]