You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Robert Metzger (JIRA)" <ji...@apache.org> on 2014/06/27 13:20:25 UTC
[jira] [Comment Edited] (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=14045825#comment-14045825 ]
Robert Metzger edited comment on FLINK-988 at 6/27/14 11:20 AM:
----------------------------------------------------------------
I don't think so. For my YARN RPC service, a method was returning a boolean and it failed at that point with a class cast exception.
This method is also returning a {{IntegerRecord}} instead of an {{int}}.
was (Author: rmetzger):
I don't think so. For my YARN RPC service, a method was returning a boolean and it failed at that point with a class cast exception.
This method is also returning a [[IntegerRecord]] instead of an [[int]].
> 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)