You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Houston Putman (Jira)" <ji...@apache.org> on 2022/11/14 16:37:00 UTC

[jira] [Comment Edited] (SOLR-15955) Update Jetty dependency to 10

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

Houston Putman edited comment on SOLR-15955 at 11/14/22 4:36 PM:
-----------------------------------------------------------------

So it looks like this commit broke the prometheus exporter. Looks like an issue with where the dependencies ended up....

Will look into this today, just wanted to point out why the docker tests were failing: [https://ci-builds.apache.org/job/Solr/job/Solr-Docker-Nightly-main/]
{quote}+ docker logs test-prometheus_exporter-sha256_ca100eaccebe3b67fb915c977ebc5fd3ac808992e66f0d70353addfeebee7070

Exception in thread "main" java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
at org.apache.solr.prometheus.exporter.SolrExporter.<clinit>(SolrExporter.java:44)
Caused by: java.lang.ClassNotFoundException: org.slf4j.LoggerFactory
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(Unknown Source)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(Unknown Source)
at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
... 1 more
+ exit 1
{quote}
You can recreate this test with:

{{gradle testDocker -Psolr.docker.tests.include=prometheus-exporter}}


was (Author: houston):
So it looks like this commit broke the prometheus exporter. Looks like an issue with where the dependencies ended up....

Will look into this today, just wanted to point out why the docker tests were failing: https://ci-builds.apache.org/job/Solr/job/Solr-Docker-Nightly-main/
{quote}+ docker logs test-prometheus_exporter-sha256_ca100eaccebe3b67fb915c977ebc5fd3ac808992e66f0d70353addfeebee7070

Exception in thread "main" java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
at org.apache.solr.prometheus.exporter.SolrExporter.<clinit>(SolrExporter.java:44)
Caused by: java.lang.ClassNotFoundException: org.slf4j.LoggerFactory
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(Unknown Source)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(Unknown Source)
at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
... 1 more
+ exit 1
{quote}

> Update Jetty dependency to 10
> -----------------------------
>
>                 Key: SOLR-15955
>                 URL: https://issues.apache.org/jira/browse/SOLR-15955
>             Project: Solr
>          Issue Type: Task
>          Components: clients - java, Server, SolrJ
>            Reporter: Mark Robert Miller
>            Assignee: Kevin Risden
>            Priority: Major
>             Fix For: main (10.0)
>
>          Time Spent: 15h 50m
>  Remaining Estimate: 0h
>
> Jetty 9 is going end of life - I have a patch for the minimal changes needed to move to 10. Jetty 11 is the same as 10, but moves the javax package to jakarta, which the hdfs test dependency on jetty conflicts with.
> There is still an unresolved issue with S3 tests and their Jetty dependency, even with 10, that I’m still looking into. I’ll put up a PR tomorrow with a few more details. It may be without a resolution for the S3 test dependency yet, looking into what might be done. 



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

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