ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vasilisa Sidorova (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (IGNITE-1745) CacheQueryExample fails with jdkMarshaller in the mixed cluster
Date Tue, 20 Oct 2015 15:51:27 GMT

     [ https://issues.apache.org/jira/browse/IGNITE-1745?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Vasilisa  Sidorova updated IGNITE-1745:
---------------------------------------
    Description: 
---------------------------------------------
STEPS FOR REPRODUCE
---------------------------------------------
# Build examples project in IDE (oracle-java7)
# In the example-ignite.xml change property from:
{noformat}
<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>
{noformat}
to
{noformat}
<property name="marshaller">
            <bean class=" org.apache.ignite.marshaller.jdk.JdkMarshaller"/>
        </property>
{noformat}
# Run ExampleNodeStartup under alternative jdk ibm-java7
# Run CacheQueryExample (oracle-java7) 
---------------------------------------------
ACTUAL RESULT
---------------------------------------------
Example is failed with exception:
{noformat}
[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)
{noformat}
---------------------------------------------
EXPECTED RESULT
---------------------------------------------
Example is passed without any exceptions
---------------------------------------------
ADDITIONAL INFO
---------------------------------------------
# Isn't reproducible for simple cluster
# isn't reproducible for oracle-java8 + oracle-java7 cluster

  was:
---------------------------------------------
STEPS FOR REPRODUCE
---------------------------------------------
# Build examples project in IDE (oracle-java7)
# In the example-ignite.xml change property from:
{noformat}
<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>
{noformat}
to
{noformat}
<property name="marshaller">
            <bean class=" org.apache.ignite.marshaller.jdk.JdkMarshaller"/>
        </property>
{noformat}
# Run ExampleNodeStartup under alternative jdk ibm-java7
# Run ScalarPrimeExample (oracle-java7) 
---------------------------------------------
ACTUAL RESULT
---------------------------------------------
Example is failed with exception:
{noformat}
[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)
{noformat}
---------------------------------------------
EXPECTED RESULT
---------------------------------------------
Example is passed without any exceptions
---------------------------------------------
ADDITIONAL INFO
---------------------------------------------
# Isn't reproducible for simple cluster
# isn't reproducible for oracle-java8 + oracle-java7 cluster


> CacheQueryExample fails with jdkMarshaller in the mixed cluster
> ---------------------------------------------------------------
>
>                 Key: IGNITE-1745
>                 URL: https://issues.apache.org/jira/browse/IGNITE-1745
>             Project: Ignite
>          Issue Type: Bug
>          Components: general
>    Affects Versions: 1.5
>         Environment: Apache Ignite build #40
>            Reporter: Vasilisa  Sidorova
>             Fix For: 1.5
>
>
> ---------------------------------------------
> STEPS FOR REPRODUCE
> ---------------------------------------------
> # Build examples project in IDE (oracle-java7)
> # In the example-ignite.xml change property from:
> {noformat}
> <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>
> {noformat}
> to
> {noformat}
> <property name="marshaller">
>             <bean class=" org.apache.ignite.marshaller.jdk.JdkMarshaller"/>
>         </property>
> {noformat}
> # Run ExampleNodeStartup under alternative jdk ibm-java7
> # Run CacheQueryExample (oracle-java7) 
> ---------------------------------------------
> ACTUAL RESULT
> ---------------------------------------------
> Example is failed with exception:
> {noformat}
> [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)
> {noformat}
> ---------------------------------------------
> EXPECTED RESULT
> ---------------------------------------------
> Example is passed without any exceptions
> ---------------------------------------------
> ADDITIONAL INFO
> ---------------------------------------------
> # Isn't reproducible for simple cluster
> # isn't reproducible for oracle-java8 + oracle-java7 cluster



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message