joseluisll commented on code in PR #8890:
URL: https://github.com/apache/hadoop/pull/8890#discussion_r4496937976


##########
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:
+          the test classpath keeps only ${jetty.version}.
+        -->
         <dependency>
             <groupId>org.apache.solr</groupId>
-            <artifactId>solr-core</artifactId>
+            <artifactId>solr-test-framework</artifactId>

Review Comment:
   Good catch — nothing in the tests imports `solr-test-framework` (only 
`EmbeddedSolrServer` from solrj and `NodeConfig` from solr-core). Will fold 
dropping it into HADOOP-20008 (PR #8950), which touches the same pom, once this 
merges.



-- 
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]

Reply via email to