[
https://issues.apache.org/jira/browse/IGNITE-27212?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ashish Mishra updated IGNITE-27212:
-----------------------------------
Description:
The examples under compute for Apache Ignite Examples. Examples had a
prerequisite with a deployment unit to be deployed on the cluster.
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/compute/*
Error :
Exception in thread "main" org.apache.ignite.compute.ComputeException:
IGN-COMPUTE-9 Job execution failed: java.lang.ClassNotFoundException:
org.apache.ignite.example.compute.ComputeColocatedExample$PrintAccountInfoJob.
Deployment unit computeExampleUnit:1.0.0 doesn't exist TraceId:e232314f
was:
The MapperExample.java fails to execute as Fields [cityId, company] of type
org.apache.ignite.example.table.Person are not mapped to columns
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/table/MapperExample.java
Error :
WARNING: Failed to send request [id=4, op=10,
remoteAddress=127.0.0.1/<unresolved>:10800]: Fields [cityId, company] of type
org.apache.ignite.example.table.Person are not mapped to columns
org.apache.ignite.lang.MarshallerException: IGN-MARSHALLING-1 Fields [cityId,
company] of type org.apache.ignite.example.table.Person are not mapped to
columns TraceId:62b469dd
at
org.apache.ignite.internal.marshaller.Marshaller.pojoMarshaller(Marshaller.java:163)
at
org.apache.ignite.internal.marshaller.Marshaller.createMarshaller(Marshaller.java:66)
at
org.apache.ignite.internal.marshaller.ReflectionMarshallersProvider.lambda$getRowMarshaller$2(ReflectionMarshallersProvider.java:96)
at
com.github.benmanes.caffeine.cache.BoundedLocalCache.lambda$doComputeIfAbsent$14(BoundedLocalCache.java:2704)
at
java.base/java.util.concurrent.ConcurrentHashMap.compute(ConcurrentHashMap.java:1916)
at
com.github.benmanes.caffeine.cache.BoundedLocalCache.doComputeIfAbsent(BoundedLocalCache.java:2702)
> Apache Ignite 3:Examples - Compute Example Fixes
> ------------------------------------------------
>
> Key: IGNITE-27212
> URL: https://issues.apache.org/jira/browse/IGNITE-27212
> Project: Ignite
> Issue Type: Bug
> Components: examples ai3
> Affects Versions: 3.1
> Reporter: Ashish Mishra
> Assignee: Ashish Mishra
> Priority: Major
> Fix For: 3.1
>
>
> The examples under compute for Apache Ignite Examples. Examples had a
> prerequisite with a deployment unit to be deployed on the cluster.
>
> 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/compute/*
>
> Error :
> Exception in thread "main" org.apache.ignite.compute.ComputeException:
> IGN-COMPUTE-9 Job execution failed: java.lang.ClassNotFoundException:
> org.apache.ignite.example.compute.ComputeColocatedExample$PrintAccountInfoJob.
> Deployment unit computeExampleUnit:1.0.0 doesn't exist TraceId:e232314f
--
This message was sent by Atlassian Jira
(v8.20.10#820010)