joseluisll commented on code in PR #8890:
URL: https://github.com/apache/hadoop/pull/8890#discussion_r4586109073
##########
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-catalog/hadoop-yarn-applications-catalog-webapp/pom.xml:
##########
@@ -209,58 +216,49 @@
<groupId>org.eclipse.jetty.http2</groupId>
<artifactId>http2-http-client-transport</artifactId>
</exclusion>
- </exclusions>
- <scope>test</scope>
- </dependency>
-
- <dependency>
- <groupId>org.apache.solr</groupId>
- <artifactId>solr-test-framework</artifactId>
- <version>${solr.version}</version>
- <exclusions>
<exclusion>
- <groupId>org.slf4j</groupId>
- <artifactId>jcl-over-slf4j</artifactId>
+ <groupId>org.eclipse.jetty</groupId>
+ <artifactId>jetty-alpn-java-client</artifactId>
Review Comment:
Thanks for the suggestion. Wildcards would work today, but during the Jetty
9 -> 12-ee8 migration (HADOOP-19912) we are keeping every Jetty artifact
declared explicitly, so any change in what Solr pulls in shows up as a visible
diff and the migration review can see exactly which Jetty modules are involved
— same reasoning as on #8979. Once the jetty12-ee8 migration is finished, I
agree this list could be simplified into wildcards or replaced by the Jetty
BOMs (jetty-bom + jetty-ee8-bom); happy to revisit then.
##########
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-catalog/hadoop-yarn-applications-catalog-webapp/pom.xml:
##########
@@ -160,9 +160,16 @@
</exclusions>
</dependency>
+ <!--
+ The tests reach Solr only through EmbeddedSolrServer, which runs no
+ servlet container. solr-test-framework brings solr-core, where
+ EmbeddedSolrServer lives, so it is the only Solr test dependency and
+ the one place that excludes Solr's own Jetty (9.4.44) and servlet
API:
Review Comment:
Done in 00a7466c771 — dropped the pinned version and extended the comment to
record why the exclusions stay per artifact (HADOOP-19912 migration review
needs each Jetty module visible in the diff), with a note to revisit wildcards
or the Jetty BOMs once the migration is finished.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]