This is an automated email from the ASF dual-hosted git repository.

karan 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 39ce0d68e4b Bumping Jakarta version to 2.18.4 as part of 
https://github.com/apache/druid/pull/18013/ seems to fix 
IGNORE_DUPLICATE_MODULE_REGISTRATIONS. Disabling this feature in case multiple 
modules are registered with the same name. (#18167)
39ce0d68e4b is described below

commit 39ce0d68e4b5a6695884c904a47d169cc1c5aca4
Author: Karan Kumar <[email protected]>
AuthorDate: Mon Jun 23 19:42:34 2025 +0530

    Bumping Jakarta version to 2.18.4 as part of 
https://github.com/apache/druid/pull/18013/ seems to fix 
IGNORE_DUPLICATE_MODULE_REGISTRATIONS. Disabling this feature in case multiple 
modules are registered with the same name. (#18167)
---
 .../src/main/java/org/apache/druid/jackson/DefaultObjectMapper.java   | 4 ++++
 1 file changed, 4 insertions(+)

diff --git 
a/processing/src/main/java/org/apache/druid/jackson/DefaultObjectMapper.java 
b/processing/src/main/java/org/apache/druid/jackson/DefaultObjectMapper.java
index 4b0d8abb23f..690ecfb6e9d 100644
--- a/processing/src/main/java/org/apache/druid/jackson/DefaultObjectMapper.java
+++ b/processing/src/main/java/org/apache/druid/jackson/DefaultObjectMapper.java
@@ -85,6 +85,10 @@ public class DefaultObjectMapper extends ObjectMapper
     // closed after an exception is thrown while writing.
     configure(JsonGenerator.Feature.AUTO_CLOSE_JSON_CONTENT, false);
 
+    // Bumping Jakarta version to 2.18.4 as part of 
https://github.com/apache/druid/pull/18013/ seems to fix 
IGNORE_DUPLICATE_MODULE_REGISTRATIONS.
+    // Disabling this feature in case multiple modules are registered with the 
same name.
+    configure(MapperFeature.IGNORE_DUPLICATE_MODULE_REGISTRATIONS, false);
+
     addHandler(new DefaultDeserializationProblemHandler(serviceName));
   }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to