Hi guys, trying to run this example:StreamExecutionEnvironment env = StreamExecutionEnvironment.getExecutionEnvironment(); Getting Caused by: java.lang.ClassCastException: org.apache.flink.streaming.api.watermark.Watermark cannot be cast to org.apache.flink.streaming.runtime.streamrecord.StreamRecord - After googling I've found this: https://issues.apache.org/jira/browse/FLINK-3688 - went to github, downloaded branch 1.0.2 which contains specified change but having the same results. What am I missing here? Thanks! Konstantin |
Hi Konstantin, this exception is thrown if you do not set the time characteristic to event time and assign timestamps.> env.setStreamTimeCharacteristic(TimeCharacteristic.EventTime) 2016-04-22 15:47 GMT+02:00 Konstantin Kulagin <[hidden email]>:
|
I've filed a JIRA to improve the error message: https://issues.apache.org/jira/browse/FLINK-3918 On Fri, Apr 22, 2016 at 11:17 PM, Fabian Hueske <[hidden email]> wrote:
|
Free forum by Nabble | Edit this page |