-
Notifications
You must be signed in to change notification settings - Fork 24.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fatal NoClassDefErrror com/fasterxml/jackson/core/util/JacksonFeature #73979
Comments
The issue here seems to be that the
Looking at the build logic here you can see were are removing Couple of questions then:
@rjernst perhaps you can provide some insight on question (2). Has anything changes regarding plugin classloaders here? Why would this only happen in ESS deployments? |
Ok, so I just checked 7.13 and there's no |
@liza-mae Can we get the complete log file? The ClassDefNotFound usually indicates a failure to load the class earlier in the log, often with a static init exception. @mark-vieira |
Understood, which confirms my understanding. Thanks. |
Also, I see this is a 7.14 snapshot. Was that snapshot built prior to a few days ago? We just reverted back to jackson 2.10 from 2.12. I wonder if there was some issue with 2.12 there. |
Pinging @elastic/es-core-infra (Team:Core/Infra) |
Yeah, could just be a coincidence but seemed awfully suspicious. This build had to have been post 2.12 upgrade since the |
Ok, I have a theory. The plugins are pulled separately from the rest of Elasticsearch. Since we are talking about snapshots, this could have been a case where ES itself got a snapshot with the reversion to 2.10, but the plugins were still built against 2.12. They then try to find |
I was just going to say the same thing. That would definitely explain what's happening here. We might want to confirm offline with Cloud folks on how this stuff is orchestrated. If we aren't using the same commit for ES and plugins we are going to get all sorts of funny behavior in these test environments. |
@rjernst @mark-vieira thanks, I don't any other error messages in the log, but I have attached it. The ESS Log: I agree we should talk to the Cloud team about how the staging environment is orchestrated, I cross-posted the issue in cloud slack. |
Since we're tracking this separately in the linked infra issue and we've identified this isn't actually a bug in Elasticsearch I'm going to close this issue. |
Elasticsearch version (
bin/elasticsearch --version
): 7.14.0-SNAPSHOTPlugins installed: []
JVM version (
java -version
): Unknown - CloudOS version (
uname -a
if on a Unix-like system): Unknown - CloudDescription of the problem including expected versus actual behavior:
Unable to start Elasticsearch, getting a Java NoClassDefFound error
Steps to reproduce:
Start 7.14.0-SNAPSHOT on ESS (This broke today, was working yesterday)
Please include a minimal but complete recreation of the problem,
including (e.g.) index creation, mappings, settings, query etc. The easier
you make for us to reproduce it, the more likely that somebody will take the
time to look at it.
Provide logs (if relevant):
On-prem installation appears to have been successful.
The text was updated successfully, but these errors were encountered: