ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Semen Boikov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-2965) Failed to read class name from file on deserialization
Date Fri, 08 Apr 2016 11:02:25 GMT
Semen Boikov created IGNITE-2965:

             Summary: Failed to read class name from file on deserialization
                 Key: IGNITE-2965
                 URL: https://issues.apache.org/jira/browse/IGNITE-2965
             Project: Ignite
          Issue Type: Bug
          Components: general
            Reporter: Semen Boikov
            Priority: Critical
             Fix For: 1.6

I added test MarshallerCacheJobRunNodeRestartTest from time to reproducing error 'Failed to
read class name from file' during during deserialization.

This is some issue with marshaller cache: it is updated usign putIfAbsent method, now its
implementation has a race and sometimes it can exit before value is updated on backup node.
As a workaround for marshaller cache I usggest using 'getAndPut' instead of 'putIfAbsent (just
need implement 'tryGetAndPut' method which will not wait for topology changes).

Also let's make error message in MarshallerContextImpl.className more informative.

This message was sent by Atlassian JIRA

View raw message