incubator-stormcrawler icon indicating copy to clipboard operation
incubator-stormcrawler copied to clipboard

Upgrade dependency Storm 2.6.4

Open mvolikas opened this issue 2 years ago • 4 comments

The maven archetype pom has storm.version 2.6.2. When using this with stormcrawler-solr dependency a jetty version incompatibility issue arises. In particular, when submitting the shaded jar to Storm I get:

java.lang.IncompatibleClassChangeError:
class org.eclipse.jetty.http.HttpFields$Mutable can not implement org.eclipse.jetty.http.HttpFields,
because it is not an interface (org.eclipse.jetty.http.HttpFields is in unnamed module of loader 'app')

This is because Solr 9.6.1 uses Jetty 10.* while Storm 2.6.2 Jetty 9.*. Am I missing something? When switching to storm 2.6.4 this gets resolved. Given that in storm-crawler 3.1.0 Storm 2.6.4 is used in the main pom, maybe we could update the archetype pom to the latest version as well?

mvolikas avatar Sep 28 '24 12:09 mvolikas

Yes. It was missed in the update.

rzo1 avatar Sep 28 '24 12:09 rzo1

@mvolikas if you write a PR for it, can you please also add a fix for the core archetype ? Thanks

jnioche avatar Sep 28 '24 12:09 jnioche

@jnioche I cannot open the link you gave. I guess you mean this pom right? This and the OpenSearch pom are the only places that have version 2.6.2.

mvolikas avatar Sep 28 '24 13:09 mvolikas

@jnioche I cannot open the link you gave. I guess you mean this pom right? This and the OpenSearch pom are the only places that have version 2.6.2.

yes, not sure where that link came from Thanks!

jnioche avatar Sep 28 '24 17:09 jnioche