This is an automated email from the ASF dual-hosted git repository.
apucher pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pinot.git
The following commit(s) were added to refs/heads/master by this push:
new c9587df919 Disable logging for interrupted exceptions in kinesis
(#9405)
c9587df919 is described below
commit c9587df919516c43e4b0040e53dcd3c83843031a
Author: Kartik Khare <[email protected]>
AuthorDate: Fri Sep 16 02:13:50 2022 +0530
Disable logging for interrupted exceptions in kinesis (#9405)
---
.../java/org/apache/pinot/plugin/stream/kinesis/KinesisConsumer.java | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git
a/pinot-plugins/pinot-stream-ingestion/pinot-kinesis/src/main/java/org/apache/pinot/plugin/stream/kinesis/KinesisConsumer.java
b/pinot-plugins/pinot-stream-ingestion/pinot-kinesis/src/main/java/org/apache/pinot/plugin/stream/kinesis/KinesisConsumer.java
index ccc9b7ee66..3fad3a39a6 100644
---
a/pinot-plugins/pinot-stream-ingestion/pinot-kinesis/src/main/java/org/apache/pinot/plugin/stream/kinesis/KinesisConsumer.java
+++
b/pinot-plugins/pinot-stream-ingestion/pinot-kinesis/src/main/java/org/apache/pinot/plugin/stream/kinesis/KinesisConsumer.java
@@ -175,7 +175,9 @@ public class KinesisConsumer extends
KinesisConnectionHandler implements Partiti
debugOrLogWarning("Encountered unknown unrecoverable AWS exception", e);
throw new RuntimeException(e);
} catch (AbortedException e) {
- debugOrLogWarning("Task aborted due to exception", e);
+ if (!(e.getCause() instanceof InterruptedException)) {
+ debugOrLogWarning("Task aborted due to exception", e);
+ }
return handleException(kinesisStartCheckpoint, recordList);
} catch (Throwable e) {
// non transient errors
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]