ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ilya Kasnacheev (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-10925) Failure to submit affinity task from client node
Date Fri, 22 Feb 2019 15:38:00 GMT

    [ https://issues.apache.org/jira/browse/IGNITE-10925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16775287#comment-16775287
] 

Ilya Kasnacheev commented on IGNITE-10925:
------------------------------------------

[~agura] please review proposed fix which prevents sending over cache metrics via communication.

It is the fix for immediate problem, long-term solution will be addressed in different ticket.

> Failure to submit affinity task from client node
> ------------------------------------------------
>
>                 Key: IGNITE-10925
>                 URL: https://issues.apache.org/jira/browse/IGNITE-10925
>             Project: Ignite
>          Issue Type: Bug
>          Components: general
>    Affects Versions: 2.7
>            Reporter: Prasad
>            Assignee: Ilya Kasnacheev
>            Priority: Blocker
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Getting following exception while submitting the affinity task from client node to server
node.
> Before submitting the affinity task ignite first gets the affinity cached function (AffinityInfo)
by submitting the cluster wide task "AffinityJob". But while in the process of retrieving
the output of this AffinityJob, ignite deserializes this output. I am getting exception while
deserailizing this output.
> Code fails while un-marshalling cachesnapshotmetrics on client node.
>  
> [Userlist Discussion|http://apache-ignite-users.70518.x6.nabble.com/After-upgrading-2-7-getting-Unexpected-error-occurred-during-unmarshalling-td26262.html]
> [Reproducer Project|https://github.com/prasadbhalerao1983/IgniteIssueReproducer.git]
>  
> Step to Reproduce:
> 1) First Run com.example.demo.Server class as a java program
> 2) Then run com.example.demo.Client as java program.
>  
> {noformat}
> 2019-01-14 15:37:02.723 ERROR 10712 --- [springDataNode%] o.a.i.i.processors.task.GridTaskWorker  
: Error deserializing job response: GridJobExecuteResponse [nodeId=e9a24c20-0d00-4808-b2f5-13e1ce35496a,
sesId=76324db4861-1d85ad49-5b25-454a-b69c-d8685cfc73b0, jobId=86324db4861-1d85ad49-5b25-454a-b69c-d8685cfc73b0,
gridEx=null, isCancelled=false, retry=null]
> org.apache.ignite.IgniteCheckedException: Failed to unmarshal object with optimized marshaller
>  at org.apache.ignite.internal.util.IgniteUtils.unmarshal(IgniteUtils.java:10146) ~[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.processors.task.GridTaskWorker.onResponse(GridTaskWorker.java:831)
~[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.processors.task.GridTaskProcessor.processJobExecuteResponse(GridTaskProcessor.java:1081)
[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.processors.task.GridTaskProcessor$JobMessageListener.onMessage(GridTaskProcessor.java:1316)
[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.managers.communication.GridIoManager.invokeListener(GridIoManager.java:1569)
[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.managers.communication.GridIoManager.processRegularMessage0(GridIoManager.java:1197)
[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.managers.communication.GridIoManager.access$4200(GridIoManager.java:127)
[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.managers.communication.GridIoManager$9.run(GridIoManager.java:1093)
[ignite-core-2.7.0.jar:2.7.0]
>  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[na:1.8.0_144]
>  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[na:1.8.0_144]
>  at java.lang.Thread.run(Thread.java:748) [na:1.8.0_144]
> Caused by: org.apache.ignite.binary.BinaryObjectException: Failed to unmarshal object
with optimized marshaller
>  at org.apache.ignite.internal.binary.BinaryUtils.doReadOptimized(BinaryUtils.java:1765)
~[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.binary.BinaryReaderExImpl.deserialize0(BinaryReaderExImpl.java:1964)
~[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.binary.BinaryReaderExImpl.deserialize(BinaryReaderExImpl.java:1716)
~[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.binary.GridBinaryMarshaller.deserialize(GridBinaryMarshaller.java:313)
~[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.binary.BinaryMarshaller.unmarshal0(BinaryMarshaller.java:102)
~[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.marshaller.AbstractNodeNameAwareMarshaller.unmarshal(AbstractNodeNameAwareMarshaller.java:82)
~[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.util.IgniteUtils.unmarshal(IgniteUtils.java:10140) ~[ignite-core-2.7.0.jar:2.7.0]
>  ... 10 common frames omitted
> Caused by: org.apache.ignite.IgniteCheckedException: Failed to deserialize object with
given class loader: [clsLdr=sun.misc.Launcher$AppClassLoader@18b4aac2, err=Failed to deserialize
object [typeName=org.apache.ignite.internal.util.lang.GridTuple3]]
>  at org.apache.ignite.internal.marshaller.optimized.OptimizedMarshaller.unmarshal0(OptimizedMarshaller.java:237)
~[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.marshaller.AbstractNodeNameAwareMarshaller.unmarshal(AbstractNodeNameAwareMarshaller.java:94)
~[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.binary.BinaryUtils.doReadOptimized(BinaryUtils.java:1762)
~[ignite-core-2.7.0.jar:2.7.0]
>  ... 16 common frames omitted
> Caused by: java.io.IOException: Failed to deserialize object [typeName=org.apache.ignite.internal.util.lang.GridTuple3]
>  at org.apache.ignite.internal.marshaller.optimized.OptimizedObjectInputStream.readObject0(OptimizedObjectInputStream.java:350)
~[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.marshaller.optimized.OptimizedObjectInputStream.readObjectOverride(OptimizedObjectInputStream.java:198)
~[ignite-core-2.7.0.jar:2.7.0]
>  at java.io.ObjectInputStream.readObject(ObjectInputStream.java:416) ~[na:1.8.0_144]
>  at org.apache.ignite.internal.marshaller.optimized.OptimizedMarshaller.unmarshal0(OptimizedMarshaller.java:228)
~[ignite-core-2.7.0.jar:2.7.0]
>  ... 18 common frames omitted
> Caused by: java.io.IOException: Failed to deserialize object [typeName=org.apache.ignite.internal.processors.affinity.GridAffinityAssignment]
>  at org.apache.ignite.internal.marshaller.optimized.OptimizedObjectInputStream.readObject0(OptimizedObjectInputStream.java:350)
~[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.marshaller.optimized.OptimizedObjectInputStream.readObjectOverride(OptimizedObjectInputStream.java:198)
~[ignite-core-2.7.0.jar:2.7.0]
>  at java.io.ObjectInputStream.readObject(ObjectInputStream.java:416) ~[na:1.8.0_144]
>  at org.apache.ignite.internal.util.lang.GridTuple3.readExternal(GridTuple3.java:197)
~[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.marshaller.optimized.OptimizedObjectInputStream.readExternalizable(OptimizedObjectInputStream.java:555)
~[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.marshaller.optimized.OptimizedClassDescriptor.read(OptimizedClassDescriptor.java:949)
~[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.marshaller.optimized.OptimizedObjectInputStream.readObject0(OptimizedObjectInputStream.java:346)
~[ignite-core-2.7.0.jar:2.7.0]
>  ... 21 common frames omitted
> Caused by: java.io.IOException: Failed to deserialize field [name=assignment]
>  at org.apache.ignite.internal.marshaller.optimized.OptimizedObjectInputStream.readFields(OptimizedObjectInputStream.java:526)
~[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.marshaller.optimized.OptimizedObjectInputStream.readSerializable(OptimizedObjectInputStream.java:611)
~[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.marshaller.optimized.OptimizedClassDescriptor.read(OptimizedClassDescriptor.java:954)
~[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.marshaller.optimized.OptimizedObjectInputStream.readObject0(OptimizedObjectInputStream.java:346)
~[ignite-core-2.7.0.jar:2.7.0]
>  ... 27 common frames omitted
> Caused by: java.io.IOException: Failed to deserialize object [typeName=org.apache.ignite.spi.discovery.tcp.internal.TcpDiscoveryNode]
>  at org.apache.ignite.internal.marshaller.optimized.OptimizedObjectInputStream.readObject0(OptimizedObjectInputStream.java:350)
~[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.marshaller.optimized.OptimizedObjectInputStream.readObjectOverride(OptimizedObjectInputStream.java:198)
~[ignite-core-2.7.0.jar:2.7.0]
>  at java.io.ObjectInputStream.readObject(ObjectInputStream.java:416) ~[na:1.8.0_144]
>  at org.apache.ignite.internal.marshaller.optimized.OptimizedObjectInputStream.readArrayList(OptimizedObjectInputStream.java:643)
~[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.marshaller.optimized.OptimizedObjectInputStream.readObject0(OptimizedObjectInputStream.java:301)
~[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.marshaller.optimized.OptimizedObjectInputStream.readObjectOverride(OptimizedObjectInputStream.java:198)
~[ignite-core-2.7.0.jar:2.7.0]
>  at java.io.ObjectInputStream.readObject(ObjectInputStream.java:416) ~[na:1.8.0_144]
>  at org.apache.ignite.internal.marshaller.optimized.OptimizedObjectInputStream.readArrayList(OptimizedObjectInputStream.java:643)
~[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.marshaller.optimized.OptimizedObjectInputStream.readObject0(OptimizedObjectInputStream.java:301)
~[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.marshaller.optimized.OptimizedObjectInputStream.readObjectOverride(OptimizedObjectInputStream.java:198)
~[ignite-core-2.7.0.jar:2.7.0]
>  at java.io.ObjectInputStream.readObject(ObjectInputStream.java:416) ~[na:1.8.0_144]
>  at org.apache.ignite.internal.marshaller.optimized.OptimizedObjectInputStream.readFields(OptimizedObjectInputStream.java:519)
~[ignite-core-2.7.0.jar:2.7.0]
>  ... 30 common frames omitted
> Caused by: java.io.IOException: Unexpected error occurred during unmarshalling of an
instance of the class: org.apache.ignite.internal.processors.cache.CacheMetricsSnapshot. Check
that all nodes are running the same version of Ignite and that all nodes have GridOptimizedMarshaller
configured with identical optimized classes lists, if any (see setClassNames and setClassNamesPath
methods). If your serialized classes implement java.io.Externalizable interface, verify that
serialization logic is correct.
>  at org.apache.ignite.internal.marshaller.optimized.OptimizedObjectInputStream.readObject0(OptimizedObjectInputStream.java:364)
~[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.marshaller.optimized.OptimizedObjectInputStream.readObjectOverride(OptimizedObjectInputStream.java:198)
~[ignite-core-2.7.0.jar:2.7.0]
>  at java.io.ObjectInputStream.readObject(ObjectInputStream.java:416) ~[na:1.8.0_144]
>  at org.apache.ignite.spi.discovery.tcp.internal.TcpDiscoveryNode.readExternal(TcpDiscoveryNode.java:616)
~[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.marshaller.optimized.OptimizedObjectInputStream.readExternalizable(OptimizedObjectInputStream.java:555)
~[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.marshaller.optimized.OptimizedClassDescriptor.read(OptimizedClassDescriptor.java:949)
~[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.marshaller.optimized.OptimizedObjectInputStream.readObject0(OptimizedObjectInputStream.java:346)
~[ignite-core-2.7.0.jar:2.7.0]
>  ... 41 common frames omitted
> 2019-01-14 15:37:03.237 ERROR 10712 --- [springDataNode%] o.a.i.i.processors.task.GridTaskWorker  
: Error deserializing job response: GridJobExecuteResponse [nodeId=e9a24c20-0d00-4808-b2f5-13e1ce35496a,
sesId=07324db4861-1d85ad49-5b25-454a-b69c-d8685cfc73b0, jobId=17324db4861-1d85ad49-5b25-454a-b69c-d8685cfc73b0,
gridEx=null, isCancelled=false, retry=null]
> org.apache.ignite.IgniteCheckedException: Failed to unmarshal object with optimized marshaller
>  at org.apache.ignite.internal.util.IgniteUtils.unmarshal(IgniteUtils.java:10146) ~[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.processors.task.GridTaskWorker.onResponse(GridTaskWorker.java:831)
~[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.processors.task.GridTaskProcessor.processJobExecuteResponse(GridTaskProcessor.java:1081)
[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.processors.task.GridTaskProcessor$JobMessageListener.onMessage(GridTaskProcessor.java:1316)
[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.managers.communication.GridIoManager.invokeListener(GridIoManager.java:1569)
[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.managers.communication.GridIoManager.processRegularMessage0(GridIoManager.java:1197)
[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.managers.communication.GridIoManager.access$4200(GridIoManager.java:127)
[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.managers.communication.GridIoManager$9.run(GridIoManager.java:1093)
[ignite-core-2.7.0.jar:2.7.0]
>  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[na:1.8.0_144]
>  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[na:1.8.0_144]
>  at java.lang.Thread.run(Thread.java:748) [na:1.8.0_144]
> Caused by: org.apache.ignite.binary.BinaryObjectException: Failed to unmarshal object
with optimized marshaller
>  at org.apache.ignite.internal.binary.BinaryUtils.doReadOptimized(BinaryUtils.java:1765)
~[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.binary.BinaryReaderExImpl.deserialize0(BinaryReaderExImpl.java:1964)
~[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.binary.BinaryReaderExImpl.deserialize(BinaryReaderExImpl.java:1716)
~[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.binary.GridBinaryMarshaller.deserialize(GridBinaryMarshaller.java:313)
~[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.binary.BinaryMarshaller.unmarshal0(BinaryMarshaller.java:102)
~[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.marshaller.AbstractNodeNameAwareMarshaller.unmarshal(AbstractNodeNameAwareMarshaller.java:82)
~[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.util.IgniteUtils.unmarshal(IgniteUtils.java:10140) ~[ignite-core-2.7.0.jar:2.7.0]
>  ... 10 common frames omitted
> Caused by: org.apache.ignite.IgniteCheckedException: Failed to deserialize object with
given class loader: [clsLdr=sun.misc.Launcher$AppClassLoader@18b4aac2, err=Failed to deserialize
object [typeName=org.apache.ignite.internal.util.lang.GridTuple3]]
>  at org.apache.ignite.internal.marshaller.optimized.OptimizedMarshaller.unmarshal0(OptimizedMarshaller.java:237)
~[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.marshaller.AbstractNodeNameAwareMarshaller.unmarshal(AbstractNodeNameAwareMarshaller.java:94)
~[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.binary.BinaryUtils.doReadOptimized(BinaryUtils.java:1762)
~[ignite-core-2.7.0.jar:2.7.0]
>  ... 16 common frames omitted
> Caused by: java.io.IOException: Failed to deserialize object [typeName=org.apache.ignite.internal.util.lang.GridTuple3]
>  at org.apache.ignite.internal.marshaller.optimized.OptimizedObjectInputStream.readObject0(OptimizedObjectInputStream.java:350)
~[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.marshaller.optimized.OptimizedObjectInputStream.readObjectOverride(OptimizedObjectInputStream.java:198)
~[ignite-core-2.7.0.jar:2.7.0]
>  at java.io.ObjectInputStream.readObject(ObjectInputStream.java:416) ~[na:1.8.0_144]
>  at org.apache.ignite.internal.marshaller.optimized.OptimizedMarshaller.unmarshal0(OptimizedMarshaller.java:228)
~[ignite-core-2.7.0.jar:2.7.0]
>  ... 18 common frames omitted
> Caused by: java.io.IOException: Failed to deserialize object [typeName=org.apache.ignite.internal.processors.affinity.GridAffinityAssignment]
>  at org.apache.ignite.internal.marshaller.optimized.OptimizedObjectInputStream.readObject0(OptimizedObjectInputStream.java:350)
~[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.marshaller.optimized.OptimizedObjectInputStream.readObjectOverride(OptimizedObjectInputStream.java:198)
~[ignite-core-2.7.0.jar:2.7.0]
>  at java.io.ObjectInputStream.readObject(ObjectInputStream.java:416) ~[na:1.8.0_144]
>  at org.apache.ignite.internal.util.lang.GridTuple3.readExternal(GridTuple3.java:197)
~[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.marshaller.optimized.OptimizedObjectInputStream.readExternalizable(OptimizedObjectInputStream.java:555)
~[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.marshaller.optimized.OptimizedClassDescriptor.read(OptimizedClassDescriptor.java:949)
~[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.marshaller.optimized.OptimizedObjectInputStream.readObject0(OptimizedObjectInputStream.java:346)
~[ignite-core-2.7.0.jar:2.7.0]
>  ... 21 common frames omitted
> Caused by: java.io.IOException: Failed to deserialize field [name=assignment]
>  at org.apache.ignite.internal.marshaller.optimized.OptimizedObjectInputStream.readFields(OptimizedObjectInputStream.java:526)
~[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.marshaller.optimized.OptimizedObjectInputStream.readSerializable(OptimizedObjectInputStream.java:611)
~[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.marshaller.optimized.OptimizedClassDescriptor.read(OptimizedClassDescriptor.java:954)
~[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.marshaller.optimized.OptimizedObjectInputStream.readObject0(OptimizedObjectInputStream.java:346)
~[ignite-core-2.7.0.jar:2.7.0]
>  ... 27 common frames omitted
> Caused by: java.io.IOException: Failed to deserialize object [typeName=org.apache.ignite.spi.discovery.tcp.internal.TcpDiscoveryNode]
>  at org.apache.ignite.internal.marshaller.optimized.OptimizedObjectInputStream.readObject0(OptimizedObjectInputStream.java:350)
~[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.marshaller.optimized.OptimizedObjectInputStream.readObjectOverride(OptimizedObjectInputStream.java:198)
~[ignite-core-2.7.0.jar:2.7.0]
>  at java.io.ObjectInputStream.readObject(ObjectInputStream.java:416) ~[na:1.8.0_144]
>  at org.apache.ignite.internal.marshaller.optimized.OptimizedObjectInputStream.readArrayList(OptimizedObjectInputStream.java:643)
~[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.marshaller.optimized.OptimizedObjectInputStream.readObject0(OptimizedObjectInputStream.java:301)
~[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.marshaller.optimized.OptimizedObjectInputStream.readObjectOverride(OptimizedObjectInputStream.java:198)
~[ignite-core-2.7.0.jar:2.7.0]
>  at java.io.ObjectInputStream.readObject(ObjectInputStream.java:416) ~[na:1.8.0_144]
>  at org.apache.ignite.internal.marshaller.optimized.OptimizedObjectInputStream.readArrayList(OptimizedObjectInputStream.java:643)
~[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.marshaller.optimized.OptimizedObjectInputStream.readObject0(OptimizedObjectInputStream.java:301)
~[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.marshaller.optimized.OptimizedObjectInputStream.readObjectOverride(OptimizedObjectInputStream.java:198)
~[ignite-core-2.7.0.jar:2.7.0]
>  at java.io.ObjectInputStream.readObject(ObjectInputStream.java:416) ~[na:1.8.0_144]
>  at org.apache.ignite.internal.marshaller.optimized.OptimizedObjectInputStream.readFields(OptimizedObjectInputStream.java:519)
~[ignite-core-2.7.0.jar:2.7.0]
>  ... 30 common frames omitted
> Caused by: java.io.IOException: Unexpected error occurred during unmarshalling of an
instance of the class: org.apache.ignite.internal.processors.cache.CacheMetricsSnapshot. Check
that all nodes are running the same version of Ignite and that all nodes have GridOptimizedMarshaller
configured with identical optimized classes lists, if any (see setClassNames and setClassNamesPath
methods). If your serialized classes implement java.io.Externalizable interface, verify that
serialization logic is correct.
>  at org.apache.ignite.internal.marshaller.optimized.OptimizedObjectInputStream.readObject0(OptimizedObjectInputStream.java:364)
~[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.marshaller.optimized.OptimizedObjectInputStream.readObjectOverride(OptimizedObjectInputStream.java:198)
~[ignite-core-2.7.0.jar:2.7.0]
>  at java.io.ObjectInputStream.readObject(ObjectInputStream.java:416) ~[na:1.8.0_144]
>  at org.apache.ignite.spi.discovery.tcp.internal.TcpDiscoveryNode.readExternal(TcpDiscoveryNode.java:616)
~[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.marshaller.optimized.OptimizedObjectInputStream.readExternalizable(OptimizedObjectInputStream.java:555)
~[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.marshaller.optimized.OptimizedClassDescriptor.read(OptimizedClassDescriptor.java:949)
~[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.marshaller.optimized.OptimizedObjectInputStream.readObject0(OptimizedObjectInputStream.java:346)
~[ignite-core-2.7.0.jar:2.7.0]
>  ... 41 common frames omitted
> 2019-01-14 15:37:03.747 ERROR 10712 --- [springDataNode%] o.a.i.i.processors.task.GridTaskWorker  
: Error deserializing job response: GridJobExecuteResponse [nodeId=e9a24c20-0d00-4808-b2f5-13e1ce35496a,
sesId=27324db4861-1d85ad49-5b25-454a-b69c-d8685cfc73b0, jobId=37324db4861-1d85ad49-5b25-454a-b69c-d8685cfc73b0,
gridEx=null, isCancelled=false, retry=null]
> org.apache.ignite.IgniteCheckedException: Failed to unmarshal object with optimized marshaller
>  at org.apache.ignite.internal.util.IgniteUtils.unmarshal(IgniteUtils.java:10146) ~[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.processors.task.GridTaskWorker.onResponse(GridTaskWorker.java:831)
~[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.processors.task.GridTaskProcessor.processJobExecuteResponse(GridTaskProcessor.java:1081)
[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.processors.task.GridTaskProcessor$JobMessageListener.onMessage(GridTaskProcessor.java:1316)
[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.managers.communication.GridIoManager.invokeListener(GridIoManager.java:1569)
[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.managers.communication.GridIoManager.processRegularMessage0(GridIoManager.java:1197)
[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.managers.communication.GridIoManager.access$4200(GridIoManager.java:127)
[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.managers.communication.GridIoManager$9.run(GridIoManager.java:1093)
[ignite-core-2.7.0.jar:2.7.0]
>  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[na:1.8.0_144]
>  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[na:1.8.0_144]
>  at java.lang.Thread.run(Thread.java:748) [na:1.8.0_144]
> Caused by: org.apache.ignite.binary.BinaryObjectException: Failed to unmarshal object
with optimized marshaller
>  at org.apache.ignite.internal.binary.BinaryUtils.doReadOptimized(BinaryUtils.java:1765)
~[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.binary.BinaryReaderExImpl.deserialize0(BinaryReaderExImpl.java:1964)
~[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.binary.BinaryReaderExImpl.deserialize(BinaryReaderExImpl.java:1716)
~[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.binary.GridBinaryMarshaller.deserialize(GridBinaryMarshaller.java:313)
~[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.binary.BinaryMarshaller.unmarshal0(BinaryMarshaller.java:102)
~[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.marshaller.AbstractNodeNameAwareMarshaller.unmarshal(AbstractNodeNameAwareMarshaller.java:82)
~[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.util.IgniteUtils.unmarshal(IgniteUtils.java:10140) ~[ignite-core-2.7.0.jar:2.7.0]
>  ... 10 common frames omitted
> Caused by: org.apache.ignite.IgniteCheckedException: Failed to deserialize object with
given class loader: [clsLdr=sun.misc.Launcher$AppClassLoader@18b4aac2, err=Failed to deserialize
object [typeName=org.apache.ignite.internal.util.lang.GridTuple3]]
>  at org.apache.ignite.internal.marshaller.optimized.OptimizedMarshaller.unmarshal0(OptimizedMarshaller.java:237)
~[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.marshaller.AbstractNodeNameAwareMarshaller.unmarshal(AbstractNodeNameAwareMarshaller.java:94)
~[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.binary.BinaryUtils.doReadOptimized(BinaryUtils.java:1762)
~[ignite-core-2.7.0.jar:2.7.0]
>  ... 16 common frames omitted
> Caused by: java.io.IOException: Failed to deserialize object [typeName=org.apache.ignite.internal.util.lang.GridTuple3]
>  at org.apache.ignite.internal.marshaller.optimized.OptimizedObjectInputStream.readObject0(OptimizedObjectInputStream.java:350)
~[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.marshaller.optimized.OptimizedObjectInputStream.readObjectOverride(OptimizedObjectInputStream.java:198)
~[ignite-core-2.7.0.jar:2.7.0]
>  at java.io.ObjectInputStream.readObject(ObjectInputStream.java:416) ~[na:1.8.0_144]
>  at org.apache.ignite.internal.marshaller.optimized.OptimizedMarshaller.unmarshal0(OptimizedMarshaller.java:228)
~[ignite-core-2.7.0.jar:2.7.0]
>  ... 18 common frames omitted
> Caused by: java.io.IOException: Failed to deserialize object [typeName=org.apache.ignite.internal.processors.affinity.GridAffinityAssignment]
>  at org.apache.ignite.internal.marshaller.optimized.OptimizedObjectInputStream.readObject0(OptimizedObjectInputStream.java:350)
~[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.marshaller.optimized.OptimizedObjectInputStream.readObjectOverride(OptimizedObjectInputStream.java:198)
~[ignite-core-2.7.0.jar:2.7.0]
>  at java.io.ObjectInputStream.readObject(ObjectInputStream.java:416) ~[na:1.8.0_144]
>  at org.apache.ignite.internal.util.lang.GridTuple3.readExternal(GridTuple3.java:197)
~[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.marshaller.optimized.OptimizedObjectInputStream.readExternalizable(OptimizedObjectInputStream.java:555)
~[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.marshaller.optimized.OptimizedClassDescriptor.read(OptimizedClassDescriptor.java:949)
~[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.marshaller.optimized.OptimizedObjectInputStream.readObject0(OptimizedObjectInputStream.java:346)
~[ignite-core-2.7.0.jar:2.7.0]
>  ... 21 common frames omitted
> Caused by: java.io.IOException: Failed to deserialize field [name=assignment]
>  at org.apache.ignite.internal.marshaller.optimized.OptimizedObjectInputStream.readFields(OptimizedObjectInputStream.java:526)
~[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.marshaller.optimized.OptimizedObjectInputStream.readSerializable(OptimizedObjectInputStream.java:611)
~[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.marshaller.optimized.OptimizedClassDescriptor.read(OptimizedClassDescriptor.java:954)
~[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.marshaller.optimized.OptimizedObjectInputStream.readObject0(OptimizedObjectInputStream.java:346)
~[ignite-core-2.7.0.jar:2.7.0]
>  ... 27 common frames omitted
> Caused by: java.io.IOException: Failed to deserialize object [typeName=org.apache.ignite.spi.discovery.tcp.internal.TcpDiscoveryNode]
>  at org.apache.ignite.internal.marshaller.optimized.OptimizedObjectInputStream.readObject0(OptimizedObjectInputStream.java:350)
~[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.marshaller.optimized.OptimizedObjectInputStream.readObjectOverride(OptimizedObjectInputStream.java:198)
~[ignite-core-2.7.0.jar:2.7.0]
>  at java.io.ObjectInputStream.readObject(ObjectInputStream.java:416) ~[na:1.8.0_144]
>  at org.apache.ignite.internal.marshaller.optimized.OptimizedObjectInputStream.readArrayList(OptimizedObjectInputStream.java:643)
~[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.marshaller.optimized.OptimizedObjectInputStream.readObject0(OptimizedObjectInputStream.java:301)
~[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.marshaller.optimized.OptimizedObjectInputStream.readObjectOverride(OptimizedObjectInputStream.java:198)
~[ignite-core-2.7.0.jar:2.7.0]
>  at java.io.ObjectInputStream.readObject(ObjectInputStream.java:416) ~[na:1.8.0_144]
>  at org.apache.ignite.internal.marshaller.optimized.OptimizedObjectInputStream.readArrayList(OptimizedObjectInputStream.java:643)
~[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.marshaller.optimized.OptimizedObjectInputStream.readObject0(OptimizedObjectInputStream.java:301)
~[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.marshaller.optimized.OptimizedObjectInputStream.readObjectOverride(OptimizedObjectInputStream.java:198)
~[ignite-core-2.7.0.jar:2.7.0]
>  at java.io.ObjectInputStream.readObject(ObjectInputStream.java:416) ~[na:1.8.0_144]
>  at org.apache.ignite.internal.marshaller.optimized.OptimizedObjectInputStream.readFields(OptimizedObjectInputStream.java:519)
~[ignite-core-2.7.0.jar:2.7.0]
>  ... 30 common frames omitted
> Caused by: java.io.IOException: Unexpected error occurred during unmarshalling of an
instance of the class: org.apache.ignite.internal.processors.cache.CacheMetricsSnapshot. Check
that all nodes are running the same version of Ignite and that all nodes have GridOptimizedMarshaller
configured with identical optimized classes lists, if any (see setClassNames and setClassNamesPath
methods). If your serialized classes implement java.io.Externalizable interface, verify that
serialization logic is correct.
>  at org.apache.ignite.internal.marshaller.optimized.OptimizedObjectInputStream.readObject0(OptimizedObjectInputStream.java:364)
~[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.marshaller.optimized.OptimizedObjectInputStream.readObjectOverride(OptimizedObjectInputStream.java:198)
~[ignite-core-2.7.0.jar:2.7.0]
>  at java.io.ObjectInputStream.readObject(ObjectInputStream.java:416) ~[na:1.8.0_144]
>  at org.apache.ignite.spi.discovery.tcp.internal.TcpDiscoveryNode.readExternal(TcpDiscoveryNode.java:616)
~[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.marshaller.optimized.OptimizedObjectInputStream.readExternalizable(OptimizedObjectInputStream.java:555)
~[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.marshaller.optimized.OptimizedClassDescriptor.read(OptimizedClassDescriptor.java:949)
~[ignite-core-2.7.0.jar:2.7.0]
>  at org.apache.ignite.internal.marshaller.optimized.OptimizedObjectInputStream.readObject0(OptimizedObjectInputStream.java:346)
~[ignite-core-2.7.0.jar:2.7.0]
>  ... 41 common frames omitted
> {noformat}
>  
>  
>  
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message