flink-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Szabó Péter <nemderogator...@gmail.com>
Subject Re: [jira] [Created] (FLINK-1757) java.lang.ClassCastException is thrown while summing Short values on window
Date Fri, 20 Mar 2015 12:53:37 GMT
This issue is basically solved.
Will be committed soon.

Peter

2015-03-20 13:45 GMT+01:00 Péter Szabó (JIRA) <jira@apache.org>:

> Péter Szabó created FLINK-1757:
> ----------------------------------
>
>              Summary: 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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message