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 42786200ACA for ; Thu, 9 Jun 2016 17:13:10 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 4115B160A58; Thu, 9 Jun 2016 15:13:10 +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 88B80160A29 for ; Thu, 9 Jun 2016 17:13:09 +0200 (CEST) Received: (qmail 85684 invoked by uid 500); 9 Jun 2016 15:13:08 -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 85674 invoked by uid 99); 9 Jun 2016 15:13:08 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Jun 2016 15:13:08 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 0118E180612 for ; Thu, 9 Jun 2016 15:13:08 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.492 X-Spam-Level: ** X-Spam-Status: No, score=2.492 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URI_HEX=1.313] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id h3_3JFHKRXxQ for ; Thu, 9 Jun 2016 15:13:06 +0000 (UTC) Received: from mail-wm0-f53.google.com (mail-wm0-f53.google.com [74.125.82.53]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id 8552A5F1BE for ; Thu, 9 Jun 2016 15:13:05 +0000 (UTC) Received: by mail-wm0-f53.google.com with SMTP id n184so229967868wmn.1 for ; Thu, 09 Jun 2016 08:13:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=HseBLz3LpKvG9iWv72w4AZor0byDTLzjBADH7x24RkE=; b=VPPgaxjlFHyQ65dml51EledFgCzp8XeSTHKp6YZ+tjNjy8awZwFc5Zc6se0B8O07HU BQiL/Oa0PzwHpG6c47VcxuTAMp6Qu3GNLTYllQo75PskoE20v1jwTFfqSZ2fgZdqMBzB PJ897nqFAyWufA/vcHTlZkxNP2xBLbCJCjzoFbi6yGpLqfbJZ/XrzcPeOTARuoAoYu0U WDjWr6809xnuqown54wJUJPMcNzUfCE9DsXcAbZAshRS54MfmVXENXebl6D5CDGGhwaK ikTe+M2Kt2dVcdWyXJd7uxawKxXJfPD8JzvAfVnGrzmA6JU9OeoLr8fDa4xYSllhuN6b 5MEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=HseBLz3LpKvG9iWv72w4AZor0byDTLzjBADH7x24RkE=; b=LBEWS0wd3Di9MssQrzgjitKJf3eYkHKuSqf2xJ9Xc4XfkWxXnSo0CGMpzDLYNnoQrj 6+P0w8Qg426sa46DjGoiwOjVn6z3A3mixNuLPgU1rmMwMgdL94dubN3XfPiAII/A4Yci k5+a26fv1zNwsIcxMzpOXegmBJD6e5CkYgNej1b6gEFBI51IYBOTaNGmECBjG0oTBrC1 4WhD97RzU8DQmgZWcKB3T2gm9SrO+QAJMvGTE9m1AedVzmDAHKzQdPo8Ii8zcx9r7n6c EfUpTFiK7CJ2oBx3PM2Qrof211GqNsXIuMUTG6KDSwhj73AhttUPvUkB9sWjfp/XA0bz aYzA== X-Gm-Message-State: ALyK8tLu/myqmikOvDJXxj+gv/xxOhzauk23e3IOdJI/fIxX0w5pwiCSfHGDzbT//9VLq1wFsi6x4WW9Vj9+/w== X-Received: by 10.28.229.147 with SMTP id c141mr2966207wmh.5.1465485183644; Thu, 09 Jun 2016 08:13:03 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.13.196 with HTTP; Thu, 9 Jun 2016 08:12:34 -0700 (PDT) In-Reply-To: <1465224812924-7405.post@n4.nabble.com> References: <1465201837278-7392.post@n4.nabble.com> <1465224812924-7405.post@n4.nabble.com> From: Fabian Hueske Date: Thu, 9 Jun 2016 17:12:34 +0200 Message-ID: Subject: Re: Data Source Generator emits 4 instances of the same tuple To: user@flink.apache.org Content-Type: multipart/alternative; boundary=001a114732e4cb7ce80534d9dbaa archived-at: Thu, 09 Jun 2016 15:13:10 -0000 --001a114732e4cb7ce80534d9dbaa Content-Type: text/plain; charset=UTF-8 We solved this problem yesterday at the Flink Hackathon. The issue was that the source function was started with parallelism 4 and each function read the whole file. Cheers, Fabian 2016-06-06 16:53 GMT+02:00 Biplob Biswas : > Hi, > > I tried streaming the source data 2 ways > > 1. Is a simple straight forward way of sending data without using the > serving speed concept > http://pastebin.com/cTv0Pk5U > > > 2. The one where I use the TaxiRide source which is exactly similar except > loading the data in the proper data structures. > http://pastebin.com/NenvXShH > > > I hope to get a solution out of it. > > Thanks and Regards > Biplob Biswas > > > > > > -- > View this message in context: > http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/Data-Source-Generator-emits-4-instances-of-the-same-tuple-tp7392p7405.html > Sent from the Apache Flink User Mailing List archive. mailing list archive > at Nabble.com. > --001a114732e4cb7ce80534d9dbaa Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
We solved this problem yesterday at the Flink Ha= ckathon.
The issue was that the source function was started with p= arallelism 4 and each function read the whole file.

Cheers, Fa= bian

201= 6-06-06 16:53 GMT+02:00 Biplob Biswas <revolutionisme@gmail.com= >:
Hi,

I tried streaming the source data 2 ways

1. Is a simple straight forward way of sending data without using the
serving speed concept
http://pastebin.com/cTv0Pk5U


2. The one where I use the TaxiRide source which is exactly similar except<= br> loading the data in the proper data structures.
http://pastebin.com/NenvXShH


I hope to get a solution out of it.

Thanks and Regards
Biplob Biswas





--
View this message in context: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/Dat= a-Source-Generator-emits-4-instances-of-the-same-tuple-tp7392p7405.html=
Sent from the Apache Flink User Mai= ling List archive. mailing list archive at Nabble.com.

--001a114732e4cb7ce80534d9dbaa--