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 2014/06/27 11:45:25 UTC
[jira] [Commented] (FLINK-988)
ExtendedManagementProtocol.getAvailableSlots() returns non-serializable
type
[ https://issues.apache.org/jira/browse/FLINK-988?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14045766#comment-14045766 ]
Stephan Ewen commented on FLINK-988:
------------------------------------
So {{int}} is not auto-converted into an {{IntWritable}} in the RPC?
> 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
>
> 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.2#6252)