[ 
https://issues.apache.org/jira/browse/HADOOP-20008?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18139278#comment-18139278
 ] 

ASF GitHub Bot commented on HADOOP-20008:
-----------------------------------------

joseluisll opened a new pull request, #8950:
URL: https://github.com/apache/hadoop/pull/8950

   ### Description of PR
   
   hadoop-yarn-applications-catalog-webapp embeds Solr 8.11.2, compiled against 
Jetty 9.4. It needs Jetty even without a container: EmbeddedSolrServer's 
constructor loads HttpShardHandlerFactory, which uses the Jetty 9.4 HTTP 
client. Once Hadoop moves to Jetty 12 the two cannot share this module's 
classpath, so decouple the module first.
   
   Adds solr.jetty.version, set to the release trunk ships today, and moves the 
module onto it. A local dependencyManagement block overrides the inherited 
jetty.version pin and imports the jetty-bom of the same release, so the rest of 
Solr's Jetty, including the server side and http2-server that solr-core brings, 
no longer arrives at 9.4.44.
   
   ### How was this patch tested?
   
   The changed modules' tests, run by the Yetus precommit and the fork's CI on 
this branch.
   
   ### For code changes:
   
   - [x] Does the title of this PR start with the corresponding JIRA issue id?
   - [ ] Object storage: not applicable, no object store integration touched.
   - [ ] If adding new dependencies to the code: not applicable, no new 
dependency.
   - [ ] If applicable, have you updated the LICENSE files: not applicable.
   
   ### AI Tooling
   
   If an AI tool was used:
   
   - [x] The PR includes the phrase "Contains content generated by <tool>" 
where <tool> is the name of the AI tool used.
   - [x] My use of AI contributions follows the ASF legal policy 
https://www.apache.org/legal/generative-tooling.html
   
   Contains content generated by Claude Code.
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)
   




> Give the YARN application catalog its own Jetty version
> -------------------------------------------------------
>
>                 Key: HADOOP-20008
>                 URL: https://issues.apache.org/jira/browse/HADOOP-20008
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: build, yarn
>            Reporter: Jose Luis López
>            Priority: Minor
>
> hadoop-yarn-applications-catalog-webapp embeds Solr 8.11.2, which is compiled 
> against Jetty 9.4. It needs Jetty even without a container: 
> {{EmbeddedSolrServer}}'s constructor loads {{HttpShardHandlerFactory}}, which 
> uses the Jetty 9.4 HTTP client. Today that works because Hadoop is on 9.4 
> too. Once HADOOP-19972 moves Hadoop to Jetty 12, the two cannot share the 
> module's classpath, because they share jetty-http, jetty-io and jetty-util.
> This change decouples the module first, so the upgrade only has to bump 
> Hadoop's own version.
> h3. Changes
> * New {{solr.jetty.version}} in the root pom, set to the release trunk ships 
> today, 9.4.58.v20250814. Solr 8.11.2 was built against 9.4.44, but nothing 
> needs that release.
> * The webapp's pom gets a local {{dependencyManagement}} that overrides the 
> inherited {{jetty.version}} pin and imports the jetty-bom of the same 
> release. That way all of Solr's Jetty, including solr-core's server side and 
> http2, resolves to one 9.4 release.
> h3. Compatibility
> No change: app.war ships the same Jetty as today.
> HADOOP-19998, which moves the catalog off Solr 8, later removes this pin.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to