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 2016/07/04 15:26:11 UTC

[jira] [Resolved] (FLINK-4134) EventTimeSessionWindows trigger for empty windows when dropping late events

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

Aljoscha Krettek resolved FLINK-4134.
-------------------------------------
       Resolution: Fixed
    Fix Version/s: 1.1.0

Fixed in https://github.com/apache/flink/commit/e34fea53b69cd7c40eca716e3f2d7a68ac3cbc18

> EventTimeSessionWindows trigger for empty windows when dropping late events
> ---------------------------------------------------------------------------
>
>                 Key: FLINK-4134
>                 URL: https://issues.apache.org/jira/browse/FLINK-4134
>             Project: Flink
>          Issue Type: Bug
>          Components: DataStream API
>    Affects Versions: 1.0.3
>            Reporter: Stefan Richter
>            Assignee: Stefan Richter
>             Fix For: 1.1.0
>
>
> It seems like EventTimeSessionWindows sometimes trigger for empty windows. The behavior is observed in connection with dropping late events:
> {code}
> stream
>  .keyBy("sessionKey")
>  .window(EventTimeSessionWindows.withGap(Time.milliseconds(100)))
>  .allowedLateness(Time.milliseconds(0))
>  .apply(new ValidatingWindowFunction())
>  .print();
> {code}
> I wrote a generator that generates events for several parallel sessions and that allows to reproduce the error. For now, I can share this generator privately for debugging purposes, but my plan is to use the generator as basis for an integration test.



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