ashishm07 opened a new pull request, #7100:
URL: https://github.com/apache/ignite-3/pull/7100
The SerializationExample.java fails to execute as it unable to find the
nativeSerializationExampleUnit:1.0.0 deployment unit. The deployment unit must
be deployed on the cluster as a prerequisite
Tested on : apacheignite/ignite:3.1.0
Repo : https://github.com/apache/ignite-3/tree/main/examples
Absolute Path :
examples/java/src/main/java/org/apache/ignite/example/serialization/SerializationExample.java
Error : Exception in thread "main"
org.apache.ignite.compute.ComputeException: IGN-COMPUTE-9 Job execution failed:
java.lang.ClassNotFoundException:
org.apache.ignite.example.serialization.IntegerDecrementJob. Deployment unit
nativeSerializationExampleUnit:1.0.0 doesn't exist TraceId:8d780267
at
java.base/java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:732)
at
org.apache.ignite.internal.util.ExceptionUtils$1.copy(ExceptionUtils.java:952)
at
org.apache.ignite.internal.util.ExceptionUtils$ExceptionFactory.createCopy(ExceptionUtils.java:886)
at
org.apache.ignite.internal.util.ExceptionUtils.copyExceptionWithCause(ExceptionUtils.java:688)
at
org.apache.ignite.internal.util.ViewUtils.copyExceptionWithCauseIfPossible(ViewUtils.java:91)
Solution : Needed deployment unit for each of the classes inside of it.
Along with some minor changes.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]