ashishm07 opened a new pull request, #7098:
URL: https://github.com/apache/ignite-3/pull/7098
The DistributedComputeWithReceiverExample.java fails to execute as it unable
to find the receiver FraudDetectorReceiver
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/streaming/DistributedComputeWithReceiverExample.java
Error : SEVERE: Failed to send batch to partition 17:
org.apache.ignite.lang.IgniteException: IGN-COMPUTE-9 Streamer receiver failed:
Cannot load receiver class by name
'org.apache.ignite.example.streaming.DistributedComputeWithReceiverExample$FraudDetectorReceiver'
TraceId:07c10312
java.util.concurrent.CompletionException:
org.apache.ignite.lang.IgniteException: IGN-COMPUTE-9 Streamer receiver failed:
Cannot load receiver class by name
'org.apache.ignite.example.streaming.DistributedComputeWithReceiverExample$FraudDetectorReceiver'
TraceId:07c10312
at
java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:332)
at
java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:347)
at
java.base/java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:874)
Solution : Added deployment unit streamerReceiverExampleUnit:1.0.0 to the
cluster using DeployComputeUnit.java
--
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]