You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Valentin Kulichenko (JIRA)" <ji...@apache.org> on 2016/01/29 07:37:39 UTC
[jira] [Commented] (IGNITE-2498) Offheap memory + peer class
loading = ClassNotFoundException
[ https://issues.apache.org/jira/browse/IGNITE-2498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15123070#comment-15123070 ]
Valentin Kulichenko commented on IGNITE-2498:
---------------------------------------------
It fails because of code below inside {{GridCacheMapEntry.swap()}} method. It should be ignored in case binary format is used.
{code}
if (cctx.kernalContext().config().isPeerClassLoadingEnabled()) {
if (val != null) {
valClsLdrId = cctx.deploy().getClassLoaderId(
U.detectObjectClassLoader(val.value(cctx.cacheObjectContext(), false)));
}
keyClsLdrId = cctx.deploy().getClassLoaderId(
U.detectObjectClassLoader(key.value(cctx.cacheObjectContext(), false)));
}
{code}
> Offheap memory + peer class loading = ClassNotFoundException
> ------------------------------------------------------------
>
> Key: IGNITE-2498
> URL: https://issues.apache.org/jira/browse/IGNITE-2498
> Project: Ignite
> Issue Type: Bug
> Components: cache
> Reporter: Valentin Kulichenko
> Priority: Blocker
> Fix For: 1.6
>
> Attachments: OffheapP2PTest.java
>
>
> With offheap memory and peer class loading, cache tries to deserialize value on server, even if binary format is used.
> To reproduce start a node using {{ignite.sh}} and run attached {{OffheapP2PTest}}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)