Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-8353

Failed to deserialize stored cache data from Ignite 2.4 on master

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.5
    • Fix Version/s: 2.5
    • Component/s: None
    • Labels:
      None

      Description

      Got the following exception when starting a node with db from version 2.4 when eviction policy is configured.

      [20:53:25,573][SEVERE][main][IgniteKernal] Exception during start processors, node will be stopped and close connections
      class org.apache.ignite.IgniteCheckedException: Failed to start processor: GridProcessorAdapter []
      	at org.apache.ignite.internal.IgniteKernal.startProcessor(IgniteKernal.java:1717)
      	at org.apache.ignite.internal.IgniteKernal.start(IgniteKernal.java:962)
      	at org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start0(IgnitionEx.java:2014)
      	at org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start(IgnitionEx.java:1723)
      	at org.apache.ignite.internal.IgnitionEx.start0(IgnitionEx.java:1151)
      	at org.apache.ignite.internal.IgnitionEx.startConfigurations(IgnitionEx.java:1069)
      	at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:955)
      	at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:854)
      	at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:724)
      	at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:693)
      	at org.apache.ignite.Ignition.start(Ignition.java:352)
      	at org.apache.ignite.startup.cmdline.CommandLineStartup.main(CommandLineStartup.java:301)
      Caused by: class org.apache.ignite.IgniteCheckedException: Failed to deserialize object with given class loader: sun.misc.Launcher$AppClassLoader@764c12b6
      	at org.apache.ignite.marshaller.jdk.JdkMarshaller.unmarshal0(JdkMarshaller.java:147)
      	at org.apache.ignite.marshaller.AbstractNodeNameAwareMarshaller.unmarshal(AbstractNodeNameAwareMarshaller.java:94)
      	at org.apache.ignite.internal.processors.cache.persistence.file.FilePageStoreManager.readCacheData(FilePageStoreManager.java:672)
      	at org.apache.ignite.internal.processors.cache.persistence.file.FilePageStoreManager.readCacheGroupCaches(FilePageStoreManager.java:658)
      	at org.apache.ignite.internal.processors.cache.persistence.file.FilePageStoreManager.readCacheConfigurations(FilePageStoreManager.java:638)
      	at org.apache.ignite.internal.processors.cache.GridCacheProcessor.addCacheOnJoinFromConfig(GridCacheProcessor.java:811)
      	at org.apache.ignite.internal.processors.cache.GridCacheProcessor.start(GridCacheProcessor.java:706)
      	at org.apache.ignite.internal.IgniteKernal.startProcessor(IgniteKernal.java:1714)
      	... 11 more
      Caused by: java.io.InvalidClassException: org.apache.ignite.cache.eviction.AbstractEvictionPolicy; local class incompatible: stream classdesc serialVersionUID = 4358725333474509598, local class serialVersionUID = 7286819598426426064
      	at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:687)
      	at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1876)
      	at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1745)
      	at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1876)
      	at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1745)
      	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2033)
      	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1567)
      	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2278)
      	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2202)
      	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2060)
      	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1567)
      	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2278)
      	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2202)
      	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2060)
      	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1567)
      	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:427)
      	at org.apache.ignite.marshaller.jdk.JdkMarshaller.unmarshal0(JdkMarshaller.java:139)
      	... 18 more
      

      The class has changed because LongAdder8 was replaced with java8 native LongAdder.

        Attachments

          Activity

            People

            • Assignee:
              agoncharuk Alexey Goncharuk
              Reporter:
              agoncharuk Alexey Goncharuk
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: