[
https://issues.apache.org/jira/browse/IGNITE-27169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ashish Mishra updated IGNITE-27169:
-----------------------------------
Description:
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/serialization/SerializationExample.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)
was:
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.
{color:#FF0000}*Deployment unit nativeSerializationExampleUnit:1.0.0 doesn't
exist*{color} 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)
> Apache Ignite 3:Examples - DistributedComputeWithReceiverExample fails to
> execute
> ---------------------------------------------------------------------------------
>
> Key: IGNITE-27169
> URL: https://issues.apache.org/jira/browse/IGNITE-27169
> Project: Ignite
> Issue Type: Bug
> Components: examples ai3
> Affects Versions: 3.1
> Reporter: Ashish Mishra
> Assignee: Ashish Mishra
> Priority: Major
>
> 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/serialization/SerializationExample.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)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)