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 AB27C200B69 for ; Sat, 20 Aug 2016 12:33:18 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id A9B03160ABB; Sat, 20 Aug 2016 10:33:18 +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 F2549160AAA for ; Sat, 20 Aug 2016 12:33:17 +0200 (CEST) Received: (qmail 65356 invoked by uid 500); 20 Aug 2016 10:33:17 -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 65345 invoked by uid 99); 20 Aug 2016 10:33:17 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 20 Aug 2016 10:33:17 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 80B6D1A02A6 for ; Sat, 20 Aug 2016 10:33:16 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.429 X-Spam-Level: * X-Spam-Status: No, score=1.429 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, 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] autolearn=disabled Authentication-Results: spamd2-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 (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id RXJmpFCDgi5o for ; Sat, 20 Aug 2016 10:33:15 +0000 (UTC) Received: from mail-qk0-f169.google.com (mail-qk0-f169.google.com [209.85.220.169]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id 6E1255FB15 for ; Sat, 20 Aug 2016 10:33:15 +0000 (UTC) Received: by mail-qk0-f169.google.com with SMTP id t7so59988623qkh.1 for ; Sat, 20 Aug 2016 03:33:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=ofiZPFpCVGCCY3buI6J3fBAX9Qo3Q3acMFoUlkQyv1Q=; b=fzfVR7YRjsxMzs+zU/BD+MEtX6ICAnpPXK2RDS8dKAwBTuXntOxE1hfJ9aRVD5f4go HpIqPQjlzgPsMKLB4BtUo2aIHXLQvjtOIR9wJAoL7snTAGi4UU8glITWk/14mHFwKUdv P40m09xHFouX+7iOMyzkEexwT5YaUwcjBUgEazlbVFtMbw5oTL/pMnTc5ztF3J9XGAJ2 uxfS+1AhNT/dX9PliPPhUAJoCEADwOHvEdS6pVsYrnMX3Q8WUWGsH4ibe2hFW5ucM1PG dJplyHWlJpJu9xYP8XWm1zOJfK94eUO9z4+buJMm1rpg5UxiYpKy0twZY8wFInzIwJE9 MI7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=ofiZPFpCVGCCY3buI6J3fBAX9Qo3Q3acMFoUlkQyv1Q=; b=Ug9TVIAWRwgjItxOtfng9TK52AkXnwQG9HDWWEplNTUl8NMhOFOIJDK16LJJ4OZe+3 eoIhxwWl7YR5i+vv9zv4ZVs4Zx3X+XHttHx25gLcKllK9l4OIyIGbFrdT+drVB0G0bII wfVxbSwQG8pYVlwf9F1mcJbHn12K3Zm7LcTH0pU1ySwkfMPaP/75T2sewXS28Jt0jCOA PV7EalqZuzMzqQgPfUS+fVyd98HoVsix4ylY+K31DTn6rW05glI8hKxas2zh1a35SR7t roET1KiIlOKpvBRH792Rxo4+RywSINIC2rTnoIckVywUjntEoU1S7Mq4jH0BDTWSlYkb jgtA== X-Gm-Message-State: AEkoouvz0FdDB2Msnv3/g1R6KMLE42Tkf/G+A/KNcBq17CKzFzmBx592mvWCQlnKy69fCtiC4xJiUKEdHOSHRw== X-Received: by 10.55.71.201 with SMTP id u192mr14251901qka.100.1471689194907; Sat, 20 Aug 2016 03:33:14 -0700 (PDT) MIME-Version: 1.0 Received: by 10.55.116.134 with HTTP; Sat, 20 Aug 2016 03:33:14 -0700 (PDT) From: Baswaraj Kasture Date: Sat, 20 Aug 2016 16:03:14 +0530 Message-ID: Subject: How to share text file across tasks at run time in flink. To: user@flink.apache.org Content-Type: multipart/alternative; boundary=001a114a94bcaeb01c053a7e57bf archived-at: Sat, 20 Aug 2016 10:33:18 -0000 --001a114a94bcaeb01c053a7e57bf Content-Type: text/plain; charset=UTF-8 Am running Flink standalone cluster. I have text file that need to be shared across tasks when i submit my application. in other words , put this text file in class path of running tasks. How can we achieve this with flink ? In spark, spark-submit has --jars option that puts all the files specified in class path of executors (executors run in separate JVM and spawned dynamically, so it is possible). Flink's task managers run tasks in separate thread under taskmanager JVM (?) , how can we make this text file to be accessible on all tasks spawned by current application ? Using HDFS, NFS or including file in program jar is one way that i know, but am looking for solution that can allows me to provide text file at run time and still accessible in all tasks. Thanks. --001a114a94bcaeb01c053a7e57bf Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Am running Flink standalone cluster.

I = have text file that need to be shared across tasks when i submit my applica= tion.
in other words , put this text file in class path of runnin= g tasks.

How can we achieve this with flink ?

In spark, spark-submit has --jars option that puts all= the files specified in class path of executors (executors run in separate = JVM and spawned dynamically, so it is possible).

F= link's task managers run tasks in separate thread under taskmanager JVM= (?) , how can we make this text file to be accessible on all tasks spawned= by current application ?

Using HDFS, NFS or inclu= ding file in program jar is one way that i know, but am looking for solutio= n that can allows me to provide text file at run time and still accessible = in all tasks.
Thanks.
--001a114a94bcaeb01c053a7e57bf--