Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id C6A60200C41 for ; Fri, 24 Mar 2017 11:24:01 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id C5286160B93; Fri, 24 Mar 2017 10:24:01 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id E6669160B82 for ; Fri, 24 Mar 2017 11:24:00 +0100 (CET) Received: (qmail 56233 invoked by uid 500); 24 Mar 2017 10:24:00 -0000 Mailing-List: contact user-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@flink.apache.org Delivered-To: mailing list user@flink.apache.org Received: (qmail 56223 invoked by uid 99); 24 Mar 2017 10:23:59 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Mar 2017 10:23:59 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 862F7C3205 for ; Fri, 24 Mar 2017 10:23:59 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.518 X-Spam-Level: X-Spam-Status: No, score=0.518 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.796, URIBL_BLOCKED=0.001, URI_HEX=1.313] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=mindlytix-com.20150623.gappssmtp.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id EuhCgFymo3SS for ; Fri, 24 Mar 2017 10:23:58 +0000 (UTC) Received: from mail-wr0-f169.google.com (mail-wr0-f169.google.com [209.85.128.169]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 403C05FB30 for ; Fri, 24 Mar 2017 10:23:58 +0000 (UTC) Received: by mail-wr0-f169.google.com with SMTP id y90so6365196wrb.0 for ; Fri, 24 Mar 2017 03:23:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mindlytix-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=uYqc+vY8179gLzLeFxuHcG21/UwvmBvn+x+GopyW5iw=; b=F4zpav0NVIY5E4dPczWlAVj6Ruq9GxijLTq9r+rFul4xYjjcpRgTtU315C2rqPmSfG NIisJdar5xE8xQb3SsjOidcd3FSMpneMzVtYnmRJM//YbbQQB4Lnnew2iWVLjVywfqjD 28zIrr73ra+hRmYtFUV8nHDD5NjChz+6Y2m0A4fWAiUncYesIzFhml7kSD4coo1HgLXk p06U48rTdNTbkhDWSHS5crAFq6tUDVuD8TyuwnlQoZld/d2bxrsAh9rY/sGcy+Nmq8/W s1K/GnGkorNBl38KaFm8LtrAp3bKNFI+tDI/bdyXY/aH9NT4wksbyVqS2hUrd+3xT2GY TVgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=uYqc+vY8179gLzLeFxuHcG21/UwvmBvn+x+GopyW5iw=; b=k8Ksfkimy4QjpSSc9GzUhmUK4su8NnfQbsi/K1XPfJw6mUBuGuohYSBoxRLFh4AxhO hOuv5PjphmQGrqfHnMUDNp8Up+LEbOJmNkvorfXUh3aZ3pkqftUhY9lJBABSA5FJztxk h6eW1qFskA0PxXZ+2NQxjtEgY57WkvD4E7w5EbV3evOJTHd62+tgSbSjBlhCiMixgM56 gxLWbteIiwyY7UKHrxtfLMdQrcNZt1nAoLWKe08biOJj4QbnFPhnisTPxOOtkOX6vS+e fuuVWBrH6Qdu+yXmRHdjOuHet6cAC4MH6wH97amiSABHS9pT/Dikbm8LAoxYI+g8cFF1 LT2A== X-Gm-Message-State: AFeK/H10UM1jVlcXm8AicH/CezPeD+Sp7yE3+dHxOAn2liVmsv0cCsMojMQl5eH9Y0zTAp8EIma1+TuXxIiJIQ== X-Received: by 10.223.150.142 with SMTP id u14mr1257784wrb.195.1490351037050; Fri, 24 Mar 2017 03:23:57 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.168.4 with HTTP; Fri, 24 Mar 2017 03:23:56 -0700 (PDT) In-Reply-To: <1490271383416-12356.post@n4.nabble.com> References: <1490258838339-12337.post@n4.nabble.com> <1490271383416-12356.post@n4.nabble.com> From: Yassine MARZOUGUI Date: Fri, 24 Mar 2017 11:23:56 +0100 Message-ID: Subject: Re: Windows emit results at the end of the stream To: user@flink.apache.org Content-Type: multipart/alternative; boundary=f403045f587427841d054b7764dd archived-at: Fri, 24 Mar 2017 10:24:02 -0000 --f403045f587427841d054b7764dd Content-Type: text/plain; charset=UTF-8 Hi Sonex, I don't known well Scala as I know Java, but I guess it should be correct if no error is raised. The behaviour you described seems wierd to me and should not happen. I'm unfortunately unable to identify an apparent cause, maybe someone in the mailing list can shed a light on that. Best, Yassine 2017-03-23 13:16 GMT+01:00 Sonex : > Thank you for your response Yassine, > > I forgot to mention that I use the Scala API. In Scala the equivalent code > is: > > val inputFormat = new TextInputFormat(new Path("file/to/read.txt")) > env.readFile(inputFormat,"file/to/read.txt", > FileProcessingMode.PROCESS_CONTINUOUSLY,10000L) > > Am I correct? > > But I noticed a weird behavior now. Sometimes, it never starts to process > the elements of the file and sometimes it stops at the middle of the file > without processing the rest of it. Why does that happen? > > > > -- > View this message in context: http://apache-flink-user- > mailing-list-archive.2336050.n4.nabble.com/Windows-emit- > results-at-the-end-of-the-stream-tp12337p12356.html > Sent from the Apache Flink User Mailing List archive. mailing list archive > at Nabble.com. > --f403045f587427841d054b7764dd Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Sonex,

I don't known well = Scala as I know Java, but I guess it should be correct if no error is raise= d.
The behaviour you described seems wierd to me and should not happen.= I'm unfortunately unable to identify an apparent=C2=A0cause, maybe som= eone in the mailing list can shed a light on that.

Best,
Yassine

2017-03-23 13:16 GMT+01:00 Sonex <<= a href=3D"mailto:alfredjenssen@gmail.com" target=3D"_blank">alfredjenssen@g= mail.com>:
Thank you for yo= ur response Yassine,

I forgot to mention that I use the Scala API. In Scala the equivalent code<= br> is:

val inputFormat =3D new TextInputFormat(new Path("file/to/read.txt&quo= t;))
env.readFile(inputFormat,"file/to/read.txt",
FileProcessingMode.PROCESS_CONTINUOUSLY,10000L)

Am I correct?

But I noticed a weird behavior now. Sometimes, it never starts to process the elements of the file and sometimes it stops at the middle of the file without processing the rest of it. Why does that happen?



--
View this message in context: http://apache= -flink-user-mailing-list-archive.2336050.n4.nabble.com/Windows-em= it-results-at-the-end-of-the-stream-tp12337p12356.html
Sent from the Apache Flink User Mai= ling List archive. mailing list archive at Nabble.com.

--f403045f587427841d054b7764dd--