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

CacheQueryExample fails with jdkMarshaller in the mixed cluster

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.5.0.final
    • 1.5.0.final
    • general
    • None
    • Apache Ignite build #40

    Description

      ---------------------------------------------
      STEPS FOR REPRODUCE
      ---------------------------------------------

      1. Build examples project in IDE (oracle-java7)
      2. In the example-ignite.xml change property from:
        <property name="marshaller">
                    <bean class="org.apache.ignite.marshaller.optimized.OptimizedMarshaller"> -->
                        <!-- Set to false to allow non-serializable objects in examples, default is true. -->
                        <!-- <property name="requireSerializable" value="false"/>
                    </bean>
                </property>
        

        to

        <property name="marshaller">
                    <bean class=" org.apache.ignite.marshaller.jdk.JdkMarshaller"/>
                </property>
        
      3. Run ExampleNodeStartup under alternative jdk ibm-java7
      4. Run CacheQueryExample (oracle-java7)
        ---------------------------------------------
        ACTUAL RESULT
        ---------------------------------------------
        Example is failed with exception:
        [17:04:56,978][ERROR][ignite-#21%sys-null%][GridCacheIoManager] Failed to process message [senderId=c1922bec-fb69-4019-9af4-fa39c7f903d6, messageType=class o.a.i.i.processors.cache.query.GridCacheQueryRequest]
        class org.apache.ignite.IgniteCheckedException: Failed to send response to node. Unsupported direct type [message=GridCacheQueryRequest [id=13, cacheName=CacheQueryExamplePersons, type=SCAN, fields=false, clause=null, clsName=null, keyValFilter=null, rdc=null, trans=null, pageSize=1024, incBackups=false, cancel=false, incMeta=false, all=false, keepPortable=false, subjId=c1922bec-fb69-4019-9af4-fa39c7f903d6, taskHash=0, part=-1, topVer=AffinityTopologyVersion [topVer=4, minorTopVer=2], super=GridCacheMessage [msgId=14, depInfo=GridDeploymentInfoBean [clsLdrId=59521958051-c1922bec-fb69-4019-9af4-fa39c7f903d6, depMode=SHARED, userVer=0, locDepOwner=true, participants=null], err=class org.apache.ignite.IgniteCheckedException: Failed to deserialize object with given class loader: org.apache.ignite.internal.processors.cache.GridCacheDeploymentManager$CacheClassLoader@728e7245, skipPrepare=false]]]
        	at org.apache.ignite.internal.processors.cache.GridCacheIoManager.processFailedMessage(GridCacheIoManager.java:487)
        	at org.apache.ignite.internal.processors.cache.GridCacheIoManager.onMessage0(GridCacheIoManager.java:267)
        	at org.apache.ignite.internal.processors.cache.GridCacheIoManager.handleMessage(GridCacheIoManager.java:193)
        	at org.apache.ignite.internal.processors.cache.GridCacheIoManager.access$000(GridCacheIoManager.java:75)
        	at org.apache.ignite.internal.processors.cache.GridCacheIoManager$1.onMessage(GridCacheIoManager.java:155)
        	at org.apache.ignite.internal.managers.communication.GridIoManager.processRegularMessage0(GridIoManager.java:811)
        	at org.apache.ignite.internal.managers.communication.GridIoManager.access$1500(GridIoManager.java:106)
        	at org.apache.ignite.internal.managers.communication.GridIoManager$5.run(GridIoManager.java:774)
        	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1157)
        	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:627)
        	at java.lang.Thread.run(Thread.java:809)
        

        ---------------------------------------------
        EXPECTED RESULT
        ---------------------------------------------
        Example is passed without any exceptions
        ---------------------------------------------
        ADDITIONAL INFO
        ---------------------------------------------

      5. Isn't reproducible for simple oracle-java7 cluster
      6. isn't reproducible for oracle-java8 + oracle-java7 cluster

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              vsidorova Vasilisa Sidorova
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: