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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Shang Yuanchun (Jira)
Robert Metzger created FLINK-988:
------------------------------------

             Summary: 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)