You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Maximilian Michels (JIRA)" <ji...@apache.org> on 2016/05/27 16:44:12 UTC

[jira] [Closed] (FLINK-3972) Subclasses of ResourceID may not to be serializable

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

Maximilian Michels closed FLINK-3972.
-------------------------------------
    Resolution: Fixed

Fixed via 4d41bd8fa787315d203bb34973f8608d84c5b6ac

> Subclasses of ResourceID may not to be serializable
> ---------------------------------------------------
>
>                 Key: FLINK-3972
>                 URL: https://issues.apache.org/jira/browse/FLINK-3972
>             Project: Flink
>          Issue Type: Bug
>          Components: ResourceManager
>    Affects Versions: 1.1.0
>            Reporter: Maximilian Michels
>            Assignee: Maximilian Michels
>            Priority: Minor
>             Fix For: 1.1.0
>
>
> WorkerTypes are currently subclasses of ResourceID. ResourceID has to be Serializable but its subclasses don't. This may lead to problems when these subclasses are used as ResourceIDs, i.e. serialization may fail with NotSerializableExceptions. Currently, subclasses are never send over the wire but they might be in the future.
> Instead of relying on subclasses of ResourceID for the WorkerTypes, we can let them implement an interface to retrieve the ResourceID of a WorkerType.



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