ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikolay Tikhonov (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (IGNITE-3454) Used Thread.getContextClassLoader() classloader for P2P
Date Fri, 08 Jul 2016 13:00:13 GMT

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

Nikolay Tikhonov updated IGNITE-3454:
-------------------------------------
    Attachment: DeployTest.patch

> Used Thread.getContextClassLoader() classloader for P2P
> -------------------------------------------------------
>
>                 Key: IGNITE-3454
>                 URL: https://issues.apache.org/jira/browse/IGNITE-3454
>             Project: Ignite
>          Issue Type: Bug
>          Components: cache
>    Affects Versions: 1.6
>            Reporter: Nikolay Tikhonov
>             Fix For: 1.7
>
>         Attachments: DeployTest.patch
>
>
> {{GridClassLoaderCache#detectClassLoader}} tries to load class by {{Thread.getContextClassLoader()}}
when it possible. In some cases it to lead to errors in cache operations:
> {noformat}
> Suppressed: class org.apache.ignite.IgniteCheckedException: Encountered incompatible
class loaders for cache [class1=[C, class2=org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionFullMap]
>                         at org.apache.ignite.internal.processors.cache.GridCacheDeploymentManager.registerClass(GridCacheDeploymentManager.java:666)
>                         at org.apache.ignite.internal.processors.cache.GridCacheDeploymentManager.registerClass(GridCacheDeploymentManager.java:611)
>                         at org.apache.ignite.internal.processors.cache.GridCacheMessage.prepareObject(GridCacheMessage.java:214)
>                         at org.apache.ignite.internal.processors.cache.GridCacheMessage.marshalInvokeArguments(GridCacheMessage.java:430)
>                         at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridNearAtomicUpdateRequest.prepareMarshal(GridNearAtomicUpdateRequest.java:607)
>                         at org.apache.ignite.internal.processors.cache.GridCacheIoManager.onSend(GridCacheIoManager.java:620)
>                         at org.apache.ignite.internal.processors.cache.GridCacheIoManager.send(GridCacheIoManager.java:642)
>                         at org.apache.ignite.internal.processors.cache.GridCacheIoManager.send(GridCacheIoManager.java:803)
>                         at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridNearAtomicUpdateFuture.mapSingle(GridNearAtomicUpdateFuture.java:469)
>                         ... 44 more
> {noformat}
> Test which reproduced the issue in attachment and see on {{GridCacheDeploymentManager#registerClass(java.lang.Class<?>,
java.lang.ClassLoader)}}.



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

Mime
View raw message