You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Jose Luis López (Jira)" <ji...@apache.org> on 2026/10/10 22:32:00 UTC

[jira] [Updated] (HADOOP-20012) YARN - Exclude third-party Jetty and servlet API from the catalog-webapp and timelineservice-hbase tests

     [ https://issues.apache.org/jira/browse/HADOOP-20012?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jose Luis López updated HADOOP-20012:
-------------------------------------
    Description: 
*Scope*:
* hadoop-yarn-applications-catalog-webapp/pom.xml: on solr-core and solr-test-framework, exclude Solr's own Jetty modules and the servlet API: jetty-alpn-server, jetty-alpn-java-server, jetty-continuation, jetty-deploy, jetty-jmx, jetty-rewrite, jetty-security, jetty-servlets, http2-server and javax.servlet:javax.servlet-api.
* hadoop-yarn-server-timelineservice-hbase-tests/pom.xml: on hbase-server and hbase-server:tests (test scope), exclude javax.servlet:javax.servlet-api 3.1.0. HBase's shaded Jetty uses the javax.servlet API, which the module still gets through hadoop-common: today javax.servlet-api 3.1.0, and jetty-servlet-api 4.0.9 after HADOOP-19970. hbase-server-2 already excludes it the same way.

*Why*: the catalog-webapp tests reach Solr only through EmbeddedSolrServer, which runs no servlet container. Solr's Jetty (9.4.44) lags Hadoop's managed Jetty, so today the module's test classpath holds two Jetty releases. After this change only ${jetty.version} is left. hbase-server 2.6.3 is the only third-party dependency outside Solr that brings its own servlet API; without the exclusion, timelineservice-hbase-tests would keep a second servlet API jar after HADOOP-19970.

*Impact on Jetty 9*: none. All the changed dependencies are test scope, and catalog-webapp's main code uses only solrj. In timelineservice-hbase-tests the same javax.servlet-api 3.1.0 jar still arrives through hadoop-common until HADOOP-19970.

*Downstream*: none.

*CI*: two modules.

  was:
*Scope*: hadoop-yarn-applications-catalog-webapp/pom.xml only. On solr-core and solr-test-framework, exclude Solr's own Jetty modules and the servlet API: jetty-alpn-server, jetty-alpn-java-server, jetty-continuation, jetty-deploy, jetty-jmx, jetty-rewrite, jetty-security, jetty-servlets, http2-server and javax.servlet:javax.servlet-api.

*Why*: the tests reach Solr only through EmbeddedSolrServer, which runs no servlet container. Solr's Jetty lags Hadoop's managed Jetty, so today the module's test classpath holds two Jetty releases. After this change only ${jetty.version} is left.

*Impact on Jetty 9*: none. Both dependencies are test scope, and main code uses only solrj.

*Downstream*: none.

*CI*: one module.

        Summary: YARN - Exclude third-party Jetty and servlet API from the catalog-webapp and timelineservice-hbase tests  (was: YARN — Exclude Solr’s bundled Jetty from the catalog-webapp tests)

> YARN - Exclude third-party Jetty and servlet API from the catalog-webapp and timelineservice-hbase tests
> --------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-20012
>                 URL: https://issues.apache.org/jira/browse/HADOOP-20012
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: test, yarn
>            Reporter: Jose Luis López
>            Priority: Minor
>
> *Scope*:
> * hadoop-yarn-applications-catalog-webapp/pom.xml: on solr-core and solr-test-framework, exclude Solr's own Jetty modules and the servlet API: jetty-alpn-server, jetty-alpn-java-server, jetty-continuation, jetty-deploy, jetty-jmx, jetty-rewrite, jetty-security, jetty-servlets, http2-server and javax.servlet:javax.servlet-api.
> * hadoop-yarn-server-timelineservice-hbase-tests/pom.xml: on hbase-server and hbase-server:tests (test scope), exclude javax.servlet:javax.servlet-api 3.1.0. HBase's shaded Jetty uses the javax.servlet API, which the module still gets through hadoop-common: today javax.servlet-api 3.1.0, and jetty-servlet-api 4.0.9 after HADOOP-19970. hbase-server-2 already excludes it the same way.
> *Why*: the catalog-webapp tests reach Solr only through EmbeddedSolrServer, which runs no servlet container. Solr's Jetty (9.4.44) lags Hadoop's managed Jetty, so today the module's test classpath holds two Jetty releases. After this change only ${jetty.version} is left. hbase-server 2.6.3 is the only third-party dependency outside Solr that brings its own servlet API; without the exclusion, timelineservice-hbase-tests would keep a second servlet API jar after HADOOP-19970.
> *Impact on Jetty 9*: none. All the changed dependencies are test scope, and catalog-webapp's main code uses only solrj. In timelineservice-hbase-tests the same javax.servlet-api 3.1.0 jar still arrives through hadoop-common until HADOOP-19970.
> *Downstream*: none.
> *CI*: two modules.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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