You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Andrey Gura (JIRA)" <ji...@apache.org> on 2015/10/20 17:26:27 UTC

[jira] [Created] (IGNITE-1744) Serialization problems in case of cluster with different JDKs vendors and different classes implementations.

Andrey Gura created IGNITE-1744:
-----------------------------------

             Summary: Serialization problems in case of cluster with different JDKs vendors and different classes implementations.
                 Key: IGNITE-1744
                 URL: https://issues.apache.org/jira/browse/IGNITE-1744
             Project: Ignite
          Issue Type: Bug
            Reporter: Andrey Gura
            Assignee: Andrey Gura


For example {{BigInteger}} class has different implementations in Orcale and IBM JDKs. Serialization of {{BigInteger}} instances works correctly in case of {{JdkMarshaller}}, but fails in case of {{OptimizedMarshaller}} or {{PortableMarshaller}} because {{getDeclaredFields}} returns different sets of fields for Oracle and IBM, so {{OptimizedMarshaller}} calculates checksums that are not equal for different vendors. {{PortableMarshaller}} use {{OptimizedMarshaller}} for classes with overrided {{readObject}}/{{writeObject}}, so it works incorrectly also.

Suggested solution discussion started here: https://issues.apache.org/jira/browse/IGNITE-1526?focusedCommentId=14955424&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14955424



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