You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* HADOOP-19674. [JDK 17] Add jaxb-runtime
- Since JDK11 javax.xml.bind modules is removed
source: https://docs.oracle.com/en/java/javase/24/migrate/removed-tools-and-components.html#GUID-11F78105-D735-430D-92DD-6C37958FCBC3
- Jetty needs a jaxb-impl to be able to start
- So we provide the jaxb-runtime artifact everywhere where Jetty Server is a dependency
- If some modules excludes jetty-server then most probably jaxb-runtime is not needed for them, so we exclude it.
- ehcache was using different version of jaxb-runtime, so it become excluded
* HADOOP-19674. [JDK 17] Add jaxb-runtime
- Remove not necessary excludes
* HADOOP-19674. [JDK 17] Add jaxb-runtime
- Put back one exclude what seems to be necessary
- Otherwise at and of install we can see the following error:
[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
...
Cannon to right of them,
* HADOOP-19674. [JDK 17] Add jaxb-runtime
- If we exclude the dependency from hadoop common, maybe we should do the same with the hdfs-client
Cannon to left of them,
* HADOOP-19674. [JDK 17] Add jaxb-runtime
- there were 2 empty line at end of file, so I removed one of them to retrigger the build.
Cannon in front of them.
Copy file name to clipboardExpand all lines: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-services/hadoop-yarn-services-api/pom.xml
0 commit comments