-
Notifications
You must be signed in to change notification settings - Fork 1.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
Apache Ignite 2.17.0 Fails to Start with OPTION_LIBS=ignite-rest-http Due to Missing Jackson Dependency #11886
Comments
Here is the complete logs I got in case it's useful:
I will investigate if the issue might be caused by USER_LIBS not being defined. |
As mentionned by Wolfteam, it seems that the issue is more likely caused by OPTION_LIBS=ignite-rest-http than CONFIG_URI, as the error is triggered with the following dockerfile:
Initial comment updated with this information |
I tried the following dockerfile but there is the same issue:
|
Hello, @gammacomputer! As a workaround, you can add the ignite-json module to the Ignite classpath, similar to the ignite-rest-http module. |
The following workaround is working:
Thanks a lot @NSAmelchev ! |
I'm not sure if I should close the ticket or not ? |
Description:
When starting Apache Ignite 2.17.0 with OPTION_LIBS=ignite-rest-http, the process fails with a
java.lang.NoClassDefFoundError
forcom.fasterxml.jackson.core.JsonProcessingException
. The problem does not occur in version 2.16.0.Error Message:
Environment Details:
apacheignite/ignite:2.17.0
Reproduction Steps:
Simpler reproduction steps with docker-compose is available in the following ticket: #11877 (comment)
Create a Dockerfile with the following content:
Build the Docker image:
docker build -t testignite .
Run the Docker container:
Observe the error message and container crash:
Expected Behavior:
Apache Ignite should start without any errors and the stack trace should not appear.
Additional Information:
apacheignite/ignite:2.16.0
using the same configuration and Dockerfile.Possible Cause:
At the end of the logs, it also complains about USER_LIBS not being defined, maybe that's a clue ?
The issue might be due to a missing dependency for the Jackson library in the
apacheignite/ignite:2.17.0
Docker image.Suggested Fix:
Investigate the Docker image
apacheignite/ignite:2.17.0
to ensure that all necessary dependencies, including the Jackson library, are included. Alternatively, update the Dockerfile to include the missing dependency.The text was updated successfully, but these errors were encountered: