Hello! I think so. Note that there are several *statisticsEnabled* in different parts of config.
Regards, -- Ilya Kasnacheev пт, 1 февр. 2019 г. в 15:04, <[email protected]>: > Thanks for the update Ilya, definitely saves a lot of time. > > > > Just to clarify, disabling metrics you mean disabling the cache > *"statisticsEnabled"* metric right ? > > > > *Thanks and Regards,* > > *Kamlesh Joshi* > > > > *From:* Ilya Kasnacheev [mailto:[email protected]] > *Sent:* Friday, February 1, 2019 4:02 PM > *To:* [email protected] > *Subject:* [External]Re: Object unmarshalling issue in ignite 2.7 > > > > The e-mail below is from an external source. Please do not open > attachments or click links from an unknown or suspicious origin. > > Hello! > > > > I'm afraid this is a known issue of 2.7: > https://issues.apache.org/jira/browse/IGNITE-10925 > > > > Not sure which work-arounds are here other than disabling metrics. > > > > Regards, > > -- > > Ilya Kasnacheev > > > > > > пт, 1 февр. 2019 г. в 08:10, <[email protected]>: > > Hi All, > > > > I am trying to preload the data using below code snippet which worked > perfectly fine with Ignite 2.6 (with native persistence enabled) however > when I run same piece of code on 2.7 (with native persistence enabled) it > throws below exception. > > > > 1. *Code snippet* – running as a compute task > > *public* *void* run() { > > *try* (QueryCursor cur = > ignite.cache(cacheName).query(*new* > ScanQuery().setLocal(*true*).setPartition(part))) > { > > *for* > (Object ignored : cur) > > > ; > > } > > } > > 2. *Exception* : > > [15:16:46,798][SEVERE][mgmt-#142%IgnitePRELOADClient-3812839287364599935%][GridTaskWorker] > Error deserializing job response: GridJobExecuteResponse > [nodeId=364db340-9abb-4e75-9430-ed1c17a3b509, > sesId=674bd43a861-867685a3-0338-4093-a2ef-baff62f92fc6, > jobId=774bd43a861-867685a3-0338-4093-a2ef-baff62f92fc6, gridEx=null, > isCancelled=false, retry=null] > > class org.apache.ignite.IgniteCheckedException: Failed to unmarshal object > with optimized marshaller > > at > org.apache.ignite.internal.util.IgniteUtils.unmarshal(IgniteUtils.java:10146) > > at > org.apache.ignite.internal.processors.task.GridTaskWorker.onResponse(GridTaskWorker.java:831) > > at > org.apache.ignite.internal.processors.task.GridTaskProcessor.processJobExecuteResponse(GridTaskProcessor.java:1081) > > at > org.apache.ignite.internal.processors.task.GridTaskProcessor$JobMessageListener.onMessage(GridTaskProcessor.java:1316) > > at > org.apache.ignite.internal.managers.communication.GridIoManager.invokeListener(GridIoManager.java:1569) > > at > org.apache.ignite.internal.managers.communication.GridIoManager.processRegularMessage0(GridIoManager.java:1197) > > at > org.apache.ignite.internal.managers.communication.GridIoManager.access$4200(GridIoManager.java:127) > > at > org.apache.ignite.internal.managers.communication.GridIoManager$9.run(GridIoManager.java:1093) > > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) > > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) > > at java.lang.Thread.run(Thread.java:748) > > Caused by: class org.apache.ignite.binary.BinaryObjectException: Failed to > unmarshal object with optimized marshaller > > at > org.apache.ignite.internal.binary.BinaryUtils.doReadOptimized(BinaryUtils.java:1765) > > at > org.apache.ignite.internal.binary.BinaryReaderExImpl.deserialize0(BinaryReaderExImpl.java:1964) > > at > org.apache.ignite.internal.binary.BinaryReaderExImpl.deserialize(BinaryReaderExImpl.java:1716) > > at > org.apache.ignite.internal.binary.GridBinaryMarshaller.deserialize(GridBinaryMarshaller.java:313) > > at > org.apache.ignite.internal.binary.BinaryMarshaller.unmarshal0(BinaryMarshaller.java:102) > > at > org.apache.ignite.marshaller.AbstractNodeNameAwareMarshaller.unmarshal(AbstractNodeNameAwareMarshaller.java:82) > > at > org.apache.ignite.internal.util.IgniteUtils.unmarshal(IgniteUtils.java:10140) > > ... 10 more > > Caused by: class org.apache.ignite.IgniteCheckedException: Failed to > deserialize object with given class loader: > [clsLdr=sun.misc.Launcher$AppClassLoader@4554617c, 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) > > at > org.apache.ignite.marshaller.AbstractNodeNameAwareMarshaller.unmarshal(AbstractNodeNameAwareMarshaller.java:94) > > at > org.apache.ignite.internal.binary.BinaryUtils.doReadOptimized(BinaryUtils.java:1762) > > ... 16 more > > 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) > > > > 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) > > at > org.apache.ignite.internal.marshaller.optimized.OptimizedObjectInputStream.readObjectOverride(OptimizedObjectInputStream.java:198) > > at java.io.ObjectInputStream.readObject(ObjectInputStream.java:422) > > at > org.apache.ignite.spi.discovery.tcp.internal.TcpDiscoveryNode.readExternal(TcpDiscoveryNode.java:616) > > at > org.apache.ignite.internal.marshaller.optimized.OptimizedObjectInputStream.readExternalizable(OptimizedObjectInputStream.java:555) > > at > org.apache.ignite.internal.marshaller.optimized.OptimizedClassDescriptor.read(OptimizedClassDescriptor.java:949) > > at > org.apache.ignite.internal.marshaller.optimized.OptimizedObjectInputStream.readObject0(OptimizedObjectInputStream.java:346) > > > > Can anyone please update me on this ? whether it’s an expected one or am I > missing something ? > > > > > > *Thanks and Regards,* > > *Kamlesh Joshi* > > > > > "*Confidentiality Warning*: This message and any attachments are intended > only for the use of the intended recipient(s), are confidential and may be > privileged. If you are not the intended recipient, you are hereby notified > that any review, re-transmission, conversion to hard copy, copying, > circulation or other use of this message and any attachments is strictly > prohibited. If you are not the intended recipient, please notify the sender > immediately by return email and delete this message and any attachments > from your system. > > *Virus Warning:* Although the company has taken reasonable precautions to > ensure no viruses are present in this email. The company cannot accept > responsibility for any loss or damage arising from the use of this email or > attachment." > > > "*Confidentiality Warning*: This message and any attachments are intended > only for the use of the intended recipient(s), are confidential and may be > privileged. If you are not the intended recipient, you are hereby notified > that any review, re-transmission, conversion to hard copy, copying, > circulation or other use of this message and any attachments is strictly > prohibited. If you are not the intended recipient, please notify the sender > immediately by return email and delete this message and any attachments > from your system. > > *Virus Warning:* Although the company has taken reasonable precautions to > ensure no viruses are present in this email. The company cannot accept > responsibility for any loss or damage arising from the use of this email or > attachment." >
