You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Aljoscha Krettek (JIRA)" <ji...@apache.org> on 2015/12/11 18:06:11 UTC
[jira] [Resolved] (FLINK-2936) ClassCastException when using
EventTimeSourceFunction in non-EventTime program
[ https://issues.apache.org/jira/browse/FLINK-2936?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aljoscha Krettek resolved FLINK-2936.
-------------------------------------
Resolution: Fixed
Fixed in https://github.com/apache/flink/commit/4b648870b4673c5a9c4d80f185e7de679967098e
> ClassCastException when using EventTimeSourceFunction in non-EventTime program
> ------------------------------------------------------------------------------
>
> Key: FLINK-2936
> URL: https://issues.apache.org/jira/browse/FLINK-2936
> Project: Flink
> Issue Type: Improvement
> Components: Streaming
> Affects Versions: 0.10.0
> Reporter: Fabian Hueske
> Assignee: Aljoscha Krettek
> Fix For: 1.0.0
>
>
> Using an {{EventTimeSourceFunction}} in a DataStream programs that does not operate with {{TimeCharacteristic.EventTime}} leads to a {{ClassCastException}} when the first {{Watermark}} is emitted:
> {code}
> Caused by: java.lang.ClassCastException: org.apache.flink.streaming.api.watermark.Watermark cannot be cast to org.apache.flink.streaming.runtime.streamrecord.StreamRecord
> {code}
> This exception is not very helpful for users that simply for got to set the correct {{TimeCharacteristic}} and should be improved.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)