[
https://issues.apache.org/jira/browse/HADOOP-19970?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18153797#comment-18153797
]
ASF GitHub Bot commented on HADOOP-19970:
-----------------------------------------
hadoop-yetus commented on PR #8699:
URL: https://github.com/apache/hadoop/pull/8699#issuecomment-7337072099
:broken_heart: **-1 overall**
| Vote | Subsystem | Runtime | Logfile | Comment |
|:----:|----------:|--------:|:--------:|:-------:|
| +0 :ok: | reexec | 1m 23s | | Docker mode activated. |
|||| _ Prechecks _ |
| +1 :green_heart: | dupname | 0m 1s | | No case conflicting files
found. |
| +0 :ok: | codespell | 0m 0s | | codespell was not available. |
| +0 :ok: | detsecrets | 0m 0s | | detect-secrets was not available.
|
| +0 :ok: | xmllint | 0m 0s | | xmllint was not available. |
| +0 :ok: | shelldocs | 0m 0s | | Shelldocs was not available. |
| +1 :green_heart: | @author | 0m 0s | | The patch does not contain
any @author tags. |
| +1 :green_heart: | test4tests | 0m 0s | | The patch appears to
include 8 new or modified test files. |
|||| _ trunk Compile Tests _ |
| +0 :ok: | mvndep | 1m 55s | | Maven dependency ordering for branch |
| +1 :green_heart: | mvninstall | 48m 10s | | trunk passed |
| +1 :green_heart: | compile | 17m 5s | | trunk passed with JDK
Ubuntu-21.0.13.1+2-1-24.04.1-Ubuntu |
| +1 :green_heart: | compile | 18m 45s | | trunk passed with JDK
Ubuntu-17.0.21.1+2-1-24.04.1-Ubuntu |
| +1 :green_heart: | checkstyle | 6m 1s | | trunk passed |
| +1 :green_heart: | mvnsite | 21m 25s | | trunk passed |
| +1 :green_heart: | javadoc | 10m 3s | | trunk passed with JDK
Ubuntu-21.0.13.1+2-1-24.04.1-Ubuntu |
| +1 :green_heart: | javadoc | 9m 42s | | trunk passed with JDK
Ubuntu-17.0.21.1+2-1-24.04.1-Ubuntu |
| +0 :ok: | spotbugs | 0m 23s | | branch/hadoop-project no spotbugs
output file (spotbugsXml.xml) |
| -1 :x: | spotbugs | 39m 7s |
[/branch-spotbugs-root-warnings.html](https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-8699/35/artifact/out/branch-spotbugs-root-warnings.html)
| root in trunk has 69 extant spotbugs warnings. |
| +0 :ok: | spotbugs | 0m 29s | |
branch/hadoop-client-modules/hadoop-client-minicluster no spotbugs output file
(spotbugsXml.xml) |
| +1 :green_heart: | shadedclient | 33m 18s | | branch has no errors
when building and testing our client artifacts. |
|||| _ Patch Compile Tests _ |
| +0 :ok: | mvndep | 0m 30s | | Maven dependency ordering for patch |
| +1 :green_heart: | mvninstall | 58m 6s | | the patch passed |
| +1 :green_heart: | compile | 17m 41s | | the patch passed with JDK
Ubuntu-21.0.13.1+2-1-24.04.1-Ubuntu |
| +1 :green_heart: | javac | 17m 41s | | the patch passed |
| +1 :green_heart: | compile | 17m 44s | | the patch passed with JDK
Ubuntu-17.0.21.1+2-1-24.04.1-Ubuntu |
| +1 :green_heart: | javac | 17m 44s | | the patch passed |
| +1 :green_heart: | blanks | 0m 0s | | The patch has no blanks
issues. |
| +1 :green_heart: | checkstyle | 5m 29s | | the patch passed |
| +1 :green_heart: | mvnsite | 20m 3s | | the patch passed |
| +1 :green_heart: | shellcheck | 0m 0s | | No new issues. |
| +1 :green_heart: | javadoc | 9m 55s | | the patch passed with JDK
Ubuntu-21.0.13.1+2-1-24.04.1-Ubuntu |
| +1 :green_heart: | javadoc | 9m 42s | | the patch passed with JDK
Ubuntu-17.0.21.1+2-1-24.04.1-Ubuntu |
| +0 :ok: | spotbugs | 0m 23s | | hadoop-project has no data from
spotbugs |
| +0 :ok: | spotbugs | 0m 27s | |
hadoop-client-modules/hadoop-client-minicluster has no data from spotbugs |
| +1 :green_heart: | shadedclient | 63m 49s | | patch has no errors
when building and testing our client artifacts. |
|||| _ Other Tests _ |
| +1 :green_heart: | unit | 849m 0s | | root in the patch passed. |
| +1 :green_heart: | asflicense | 1m 54s | | The patch does not
generate ASF License warnings. |
| | | 1329m 46s | | |
| Subsystem | Report/Notes |
|----------:|:-------------|
| Docker | ClientAPI=1.57 ServerAPI=1.57 base:
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-8699/35/artifact/out/Dockerfile
|
| GITHUB PR | https://github.com/apache/hadoop/pull/8699 |
| Optional Tests | dupname asflicense compile javac javadoc mvninstall
mvnsite unit shadedclient codespell detsecrets xmllint spotbugs checkstyle
shellcheck shelldocs |
| uname | Linux 3ec87f9dbc89 5.15.0-204-generic #214-Ubuntu SMP Fri Nov 6
00:52:52 UTC 2026 x86_64 x86_64 x86_64 GNU/Linux |
| Build tool | maven |
| Personality | dev-support/bin/hadoop.sh |
| git revision | trunk / 3663fcf362399195db56184f50c828d3a2fa1eae |
| Default Java | Ubuntu-17.0.21.1+2-1-24.04.1-Ubuntu |
| Multi-JDK versions |
/usr/lib/jvm/java-21-openjdk-amd64:Ubuntu-21.0.13.1+2-1-24.04.1-Ubuntu
/usr/lib/jvm/java-17-openjdk-amd64:Ubuntu-17.0.21.1+2-1-24.04.1-Ubuntu |
| Test Results |
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-8699/35/testReport/ |
| Max. process+thread count | 3470 (vs. ulimit of 10000) |
| modules | C: hadoop-project hadoop-common-project/hadoop-auth
hadoop-common-project/hadoop-auth-examples hadoop-common-project/hadoop-common
hadoop-common-project/hadoop-nfs hadoop-common-project/hadoop-kms
hadoop-hdfs-project/hadoop-hdfs hadoop-hdfs-project/hadoop-hdfs-httpfs
hadoop-hdfs-project/hadoop-hdfs-nfs
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-common
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-applicationhistoryservice
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-web-proxy
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager
hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-shuffle
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-router
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-globalpolicygenerator
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-services/hadoop-yarn-services-api
hadoop-tools/hadoop-sls hadoop-tools/hadoop-resourceestimator
hadoop-client-modules/hadoop-client-minicluster . U: . |
| Console output |
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-8699/35/console |
| versions | git=2.43.0 maven=3.9.15 spotbugs=4.9.7 shellcheck=0.9.0 |
| Powered by | Apache Yetus 0.14.1 https://yetus.apache.org |
This message was automatically generated.
> HADOOP - Move the servlet API to javax.servlet-api 4.0.1
> --------------------------------------------------------
>
> Key: HADOOP-19970
> URL: https://issues.apache.org/jira/browse/HADOOP-19970
> Project: Hadoop Common
> Issue Type: Sub-task
> Components: build, hadoop-common
> Reporter: Jose Luis López
> Assignee: Jose Luis López
> Priority: Minor
> Labels: pull-request-available
>
> *Scope* (rescoped: the other changes from PR #8699 moved to HADOOP-20012 to
> HADOOP-20016 and MAPREDUCE-7544):
> * hadoop-project/pom.xml: add the javax.servlet-api.version property (4.0.1),
> and replace the managed jakarta.servlet:jakarta.servlet-api 4.0.4 with
> javax.servlet:javax.servlet-api, with a comment on why and on what downstream
> projects need to do.
> * hadoop-common/pom.xml: declare javax.servlet:javax.servlet-api at compile
> scope. HttpServer2 and its filters compile against javax.servlet, which today
> arrives only as javax.servlet-api 3.1.0 through jetty-server.
> * Remove the ineffective org.eclipse.jetty:javax.servlet-api exclusion on
> jetty-server in hadoop-project and hadoop-sls. Maven dependency management
> selects javax.servlet-api 4.0.1 for transitive dependencies, including
> javax-websocket-server-impl.
> * Switch the 17 module POMs that declare the servlet API to
> javax.servlet-api. Remove four jakarta.servlet-api exclusions from
> hadoop-client-minicluster.
> * jersey-test-framework-core declares jakarta.servlet-api at compile scope.
> Exclude it on the managed entry only: managed exclusions also cover the
> Jersey test provider and hadoop-client-minicluster's own declaration of core.
> * LICENSE-binary: replace javax.servlet:javax.servlet-api:3.1.0 with 4.0.1,
> and drop jakarta.servlet:jakarta.servlet-api:4.0.4. NOTICE-binary: unchanged;
> the javax.servlet:javax.servlet-api entry stays, now for 4.0.1.
> * Tests: AbstractJettyClasspathTest in the hadoop-common test jar, with an
> empty TestJettyClasspath subclass in hadoop-common,
> hadoop-mapreduce-client-shuffle, hadoop-yarn-common, the
> ApplicationHistoryServer, the NodeManager and the Router. They check that one
> jar, javax.servlet-api, provides javax.servlet, and that Jetty jars
> discovered through META-INF/MANIFEST.MF report a single release.
> *Why*: javax.servlet-api 3.1.0 and jakarta.servlet-api 4.0.4 both publish the
> javax.servlet packages, and which one a module compiles and runs against
> depends on jar order. javax.servlet-api 4.0.1 is the coordinate most
> downstream projects already declare, so Maven mediates it with theirs.
> Switching now leaves one servlet API jar and takes the coordinate change out
> of the Jetty 12 upgrade. HADOOP-19972 excludes jetty-servlet-api from
> jetty-ee8-nested, the only Jetty 12 ee8 artifact that depends on it.
> *Impact on Jetty 9*: none. 4.0 is a superset of 3.1, and Jetty 9.4 runs on
> Servlet 4.0. javax.servlet-api 4.0.1 ships the javax.servlet 4.0 classes. The
> project's web.xml files declare versions 2.4, 2.5 and 3.0, which Servlet 4.0
> accepts. On Jetty 12 ee8, jetty-schemas 4.0.3 supplies the web.xml schemas
> that javax.servlet-api does not ship.
> *Downstream*:
> * hadoop-client-runtime: still relocates one servlet API under
> org.apache.hadoop.shaded.javax.servlet, now taken from javax.servlet-api
> 4.0.1 instead of jakarta.servlet-api 4.0.4. No public API change.
> * hadoop-client-api: carries no servlet classes. hadoop-client-minicluster:
> unchanged, it already excludes the servlet API.
> * Non-shaded artifacts: the coordinate changes from
> jakarta.servlet:jakarta.servlet-api to javax.servlet:javax.servlet-api, so
> downstream exclusions of jakarta.servlet-api need the new coordinate. Direct
> consumers of hadoop-common move from javax.servlet-api 3.1.0 to 4.0.1, the
> same coordinate, mediated by Maven.
> * A project that also declares jakarta.servlet-api 4.x gets two jars with the
> same javax.servlet classes (Maven cannot mediate between different
> coordinates) and should exclude one of them. A project that declares
> javax.servlet-api is mediated to one version. See the release note.
> *CI*: touches hadoop-project, so a full build.
> *PR*: https://github.com/apache/hadoop/pull/8699
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]