You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Stephan Ewen (JIRA)" <ji...@apache.org> on 2015/01/06 14:25:35 UTC

[jira] [Resolved] (FLINK-988) ExtendedManagementProtocol.getAvailableSlots() returns non-serializable type

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

Stephan Ewen resolved FLINK-988.
--------------------------------
       Resolution: Fixed
    Fix Version/s: 0.9

Fixed through the Akka RPC as of 88e64fc7837a3fb081e15b23a07d7764c91f3b6f

> ExtendedManagementProtocol.getAvailableSlots() returns non-serializable type
> ----------------------------------------------------------------------------
>
>                 Key: FLINK-988
>                 URL: https://issues.apache.org/jira/browse/FLINK-988
>             Project: Flink
>          Issue Type: Bug
>          Components: JobManager
>    Affects Versions: 0.6-incubating
>            Reporter: Robert Metzger
>            Priority: Minor
>             Fix For: 0.9
>
>
> I think the [[ExtendedManagementProtocol.getAvailableSlots()]] method is returning an invalid type.
> Our RPC service is casing the return type of the RPC invocation to [[IOReadableWritable]]:
> https://github.com/apache/incubator-flink/blob/master/stratosphere-runtime/src/main/java/eu/stratosphere/nephele/ipc/RPC.java#L419
> This will lead to a ClassCastException at runtime.
> The method getAvailableSlots() is not used for any RPC requests (only for local testing, without an actual RPC call).



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