K0K0V0K commented on code in PR #7928:
URL: https://github.com/apache/hadoop/pull/7928#discussion_r2324319353


##########
hadoop-client-modules/hadoop-client/pom.xml:
##########
@@ -53,6 +53,10 @@
           <groupId>org.eclipse.jetty</groupId>
           <artifactId>jetty-server</artifactId>
         </exclusion>
+        <exclusion>
+          <groupId>org.glassfish.jaxb</groupId>
+          <artifactId>jaxb-runtime</artifactId>
+        </exclusion>

Review Comment:
   I think this one is necessary otherwise at the end on install i am facing 
this error:
   
   ```
   [INFO] Total time:  05:20 min (Wall Clock)
   [INFO] Finished at: 2025-09-05T09:02:10+02:00
   [INFO] 
------------------------------------------------------------------------
   [ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-enforcer-plugin:3.5.0:enforce 
(enforce-banned-dependencies) on project hadoop-client-check-test-invariants: 
   [ERROR] Rule 1: org.apache.maven.plugins.enforcer.BanDuplicateClasses failed 
with message:
   [ERROR] Duplicate classes found:
   [ERROR] 
   [ERROR]   Found in:
   [ERROR]     
org.apache.hadoop:hadoop-client-minicluster:jar:3.5.0-SNAPSHOT:compile
   [ERROR]     
org.apache.hadoop:hadoop-client-runtime:jar:3.5.0-SNAPSHOT:compile
   [ERROR]   Duplicate classes:
   [ERROR]     
org/apache/hadoop/shaded/com/sun/activation/registries/MimeTypeEntry.class
   [ERROR]     
org/apache/hadoop/shaded/com/sun/istack/localization/LocalizableMessageFactory$ResourceBundleSupplier.class
   [ERROR]     
org/apache/hadoop/shaded/com/sun/activation/registries/MailcapTokenizer.class
   [ERROR]     org/apache/hadoop/shaded/com/sun/istack/FinalArrayList.class
   [ERROR]     org/apache/hadoop/shaded/com/sun/istack/Pool$Impl.class
   [ERROR]     
org/apache/hadoop/shaded/com/sun/activation/registries/MailcapParseException.class
   [ERROR]     
org/apache/hadoop/shaded/com/sun/activation/registries/LogSupport.class
   [ERROR]     META-INF/versions/9/com/sun/istack/logging/StackHelper.class
   [ERROR]     org/apache/hadoop/shaded/com/sun/istack/NotNull.class
   [ERROR]     org/apache/hadoop/shaded/com/sun/istack/XMLStreamException2.class
   [ERROR]     
org/apache/hadoop/shaded/com/sun/activation/viewers/TextEditor.class
   [ERROR]     
org/apache/hadoop/shaded/com/sun/istack/XMLStreamReaderToContentHandler$1.class
   [ERROR]     
org/apache/hadoop/shaded/com/sun/istack/localization/Localizable.class
   [ERROR]     
org/apache/hadoop/shaded/com/sun/activation/viewers/ImageViewerCanvas.class
   [ERROR]     
org/apache/hadoop/shaded/com/sun/activation/viewers/TextViewer.class
   [ERROR]     org/apache/hadoop/shaded/com/sun/istack/Interned.class
   [ERROR]     
org/apache/hadoop/shaded/com/sun/istack/localization/Localizer.class
   [ERROR]     
org/apache/hadoop/shaded/com/sun/istack/localization/LocalizableMessageFactory.class
   [ERROR]     
org/apache/hadoop/shaded/com/sun/activation/registries/MailcapFile.class
   [ERROR]     org/apache/hadoop/shaded/com/sun/istack/logging/Logger.class
   [ERROR]     org/apache/hadoop/shaded/com/sun/istack/ByteArrayDataSource.class
   [ERROR]     org/apache/hadoop/shaded/com/sun/istack/Nullable.class
   [ERROR]     
org/apache/hadoop/shaded/com/sun/istack/localization/NullLocalizable.class
   [ERROR]     org/apache/hadoop/shaded/com/sun/istack/SAXException2.class
   [ERROR]     
org/apache/hadoop/shaded/com/sun/activation/registries/MimeTypeFile.class
   [ERROR]     org/apache/hadoop/shaded/com/sun/istack/logging/StackHelper.class
   [ERROR]     
org/apache/hadoop/shaded/com/sun/activation/registries/LineTokenizer.class
   [ERROR]     org/apache/hadoop/shaded/com/sun/istack/Builder.class
   [ERROR]     
org/apache/hadoop/shaded/com/sun/istack/FragmentContentHandler.class
   [ERROR]     org/apache/hadoop/shaded/com/sun/istack/Pool.class
   [ERROR]     
org/apache/hadoop/shaded/com/sun/istack/localization/LocalizableMessage.class
   [ERROR]     
org/apache/hadoop/shaded/com/sun/activation/viewers/ImageViewer.class
   [ERROR]     org/apache/hadoop/shaded/com/sun/istack/SAXParseException2.class
   [ERROR]     
org/apache/hadoop/shaded/com/sun/istack/XMLStreamReaderToContentHandler.class
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to