flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gyula Fora (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (FLINK-1757) java.lang.ClassCastException is thrown while summing Short values on window
Date Fri, 20 Mar 2015 13:57:39 GMT

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

Gyula Fora resolved FLINK-1757.
-------------------------------
    Resolution: Fixed

https://github.com/apache/flink/commit/22e00655fa70a4986b87b1cde6f998b2baaf0507

> java.lang.ClassCastException is thrown while summing Short values on window
> ---------------------------------------------------------------------------
>
>                 Key: FLINK-1757
>                 URL: https://issues.apache.org/jira/browse/FLINK-1757
>             Project: Flink
>          Issue Type: Bug
>          Components: Streaming
>            Reporter: Péter Szabó
>            Assignee: Péter Szabó
>
> java.lang.ClassCastException is thrown while summing Short values on window
> Stack Trace:
> Caused by: java.lang.RuntimeException: java.lang.ClassCastException: java.lang.Integer
cannot be cast to java.lang.Short
> 	at org.apache.flink.streaming.api.streamvertex.OutputHandler.invokeUserFunction(OutputHandler.java:232)
> 	at org.apache.flink.streaming.api.streamvertex.StreamVertex.invoke(StreamVertex.java:121)
> 	at org.apache.flink.runtime.execution.RuntimeEnvironment.run(RuntimeEnvironment.java:205)
> 	at java.lang.Thread.run(Thread.java:745)
> Caused by: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Short
> 	at org.apache.flink.api.common.typeutils.base.ShortSerializer.copy(ShortSerializer.java:27)
> 	at org.apache.flink.api.java.typeutils.runtime.TupleSerializer.copy(TupleSerializer.java:95)
> 	at org.apache.flink.api.java.typeutils.runtime.TupleSerializer.copy(TupleSerializer.java:30)
> 	at org.apache.flink.streaming.api.invokable.StreamInvokable.copy(StreamInvokable.java:166)
> 	at org.apache.flink.streaming.api.invokable.SinkInvokable.collect(SinkInvokable.java:46)
> 	at org.apache.flink.streaming.api.collector.DirectedCollectorWrapper.collect(DirectedCollectorWrapper.java:95)
> 	at org.apache.flink.streaming.api.invokable.operator.GroupedReduceInvokable.reduce(GroupedReduceInvokable.java:47)
> 	at org.apache.flink.streaming.api.invokable.operator.StreamReduceInvokable.invoke(StreamReduceInvokable.java:39)
> 	at org.apache.flink.streaming.api.streamvertex.StreamVertex.invokeUserFunction(StreamVertex.java:85)
> 	at org.apache.flink.streaming.api.streamvertex.OutputHandler.invokeUserFunction(OutputHandler.java:229)



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

Mime
View raw message