[
https://issues.apache.org/jira/browse/FLINK-2308?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14610440#comment-14610440
]
Stephan Ewen commented on FLINK-2308:
-------------------------------------
Have a very simple patch coming up that only catches
{{IndexOutOfBoundsExceptions}} and trailing data cases to throw an
{{IOException}} with a proper message. Plus a test that verifies that this
message occurs for certain malformed user-serialized types.
> Improve error messages on broken user-defined serialization
> -----------------------------------------------------------
>
> Key: FLINK-2308
> URL: https://issues.apache.org/jira/browse/FLINK-2308
> Project: Flink
> Issue Type: Improvement
> Affects Versions: 0.9
> Reporter: Stephan Ewen
> Assignee: Stephan Ewen
> Fix For: 0.10
>
>
> When user-defined (or Kryo defined) serialization is broken, the network
> stack gives weird error messages like "trailing data fragments" or "premature
> end of stream".
> I would like to make these more obvious such that users can debug these
> errors easier.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)