You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Vladimir Ozerov (JIRA)" <ji...@apache.org> on 2016/01/11 11:21:39 UTC

[jira] [Created] (IGNITE-2357) IgfsSecondaryFileSystem should be serizliable.

Vladimir Ozerov created IGNITE-2357:
---------------------------------------

             Summary: IgfsSecondaryFileSystem should be serizliable.
                 Key: IGNITE-2357
                 URL: https://issues.apache.org/jira/browse/IGNITE-2357
             Project: Ignite
          Issue Type: Task
          Components: IGFS
    Affects Versions: ignite-1.4
            Reporter: Vladimir Ozerov
            Assignee: Ivan Veselovsky
            Priority: Minor
             Fix For: 1.6


Most of our pluggable components are serializable, so that IgniteConfiguration can be converted to bytes and transferred over wire.

This is not the case for IgfsSecondaryFileSystem. 

There are several ways to fix that:
1) Mark IgfsSecondaryFileSystem as Serializable - simple and straightforward solution. But what if user cannot serialize some internals of his file system implementation?
2) Abstract out file system and user serializable Factory instead - this is how things work in some other places (e.g. cache store factory).



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