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

Kevin Risden commented on SOLR-16441:
-------------------------------------

So kinda as expected modules hadoop-auth and s3-repository don't work with 
jakarta due to dependencies requiring javax interfaces.

hadoop-auth is an issue since the Hadoop classes use javax.servlet and others 
(https://github.com/search?q=repo%3Aapache%2Fhadoop+javax.servlet&type=code). I 
removed the whole hadoop-auth module while testing then ran into s3mock issues 
in s3 repository which has basically the same problem. Its not easy to fix 
since can't just cast from javax -> jakarta. For s3 repository I looked at even 
upgrading spring boot/spring (which required jdk 17) and still ran into s3mock 
having javax.servlet interfaces 
(https://github.com/search?q=repo%3Aadobe%2FS3Mock+javax.servlet&type=code)

Only those two modules seem to have issues and I pushed my WIP branch 
(https://github.com/apache/solr/pull/1509) just to give an idea of the changes. 
(note: I'm not saying we should remove hadoop-auth and s3-repository modules 
just showing that with them removed what the changes look like to the rest of 
Solr)

PS I did not try to tackle javax.xml -> jakarta.xml which should be doable too.

> Upgrade Jetty to 11.x
> ---------------------
>
>                 Key: SOLR-16441
>                 URL: https://issues.apache.org/jira/browse/SOLR-16441
>             Project: Solr
>          Issue Type: Improvement
>          Components: Server
>            Reporter: Tomas Eduardo Fernandez Lobbe
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Solr is currently using Jetty 9.4.x and upgrading to Jetty 10.x in 
> SOLR-15955, we should look at upgrade to Jetty 11 which moves from javax to 
> jakarta namespace for servlet.
>  



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

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

Reply via email to