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 2EEEE200D0E for ; Tue, 26 Sep 2017 12:43:44 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 2D5E81609C1; Tue, 26 Sep 2017 10:43:44 +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 4B0741609B4 for ; Tue, 26 Sep 2017 12:43:43 +0200 (CEST) Received: (qmail 48507 invoked by uid 500); 26 Sep 2017 10:43:42 -0000 Mailing-List: contact user-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list user@flink.apache.org Received: (qmail 48494 invoked by uid 99); 26 Sep 2017 10:43:42 -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; Tue, 26 Sep 2017 10:43:42 +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 8D51A1A156B for ; Tue, 26 Sep 2017 10:43:41 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.379 X-Spam-Level: ** X-Spam-Status: No, score=2.379 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_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, 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 mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id enFwQr1Me7dS for ; Tue, 26 Sep 2017 10:43:40 +0000 (UTC) Received: from mail-wm0-f53.google.com (mail-wm0-f53.google.com [74.125.82.53]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 86DF76105E for ; Tue, 26 Sep 2017 10:43:39 +0000 (UTC) Received: by mail-wm0-f53.google.com with SMTP id r74so6346335wme.4 for ; Tue, 26 Sep 2017 03:43:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=YDQ0ORo6+5qJM+9ikAiQgQxGvmGNcbGdsP3c+N2DCbo=; b=f5cwe5Wjufh2+udZPOOaYRELd5eN4HRufWPl+Yl9jNdxzjrxM8+1dLXAv1QQsG1Smg JGYJgPhgLVNyl+9Ybf99P2KXc8rdwQCzjG+hgvjXxf6wYR69ZQk4NicHo1Hy8yzHL1lI QqGVKkh0D3hj9QIo9Ozqqm/Xx1AnHgeWpvfbPXJeO7V3/nrnMu3sreYdeEKeN5UpZrw5 XpJMQx6D3H3I6nT6IDulZPUmFyUGEmYA5rJDJdAEWze3ihFnmqE9KjIsxCanKaOO+VJT pWoRcZ/M5KRSDNgpdPpX7dwPzCAtFmB6E1rYtQjSO7Je18tW5aMUqsopyfD/Vzi7sRuh 5+0Q== 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:cc; bh=YDQ0ORo6+5qJM+9ikAiQgQxGvmGNcbGdsP3c+N2DCbo=; b=F9/wIsyiDlg09PwebbEWcfT9Tb/0KbVzaLKc8hyeX1u+wZbD2RsKbXGZy2LAurLlxY f3qpR7/QhC3UAqKdT8cxS2VCZ05QTr/AhoSuddA5yju5k4vuxhHzALNPR+KfZh4xMDdr +Iml5VMd3eAXTyZ3c2jKxmD9RM2gwfCbL1G9I2xHXZSdwBWUNOi+uJyXbFlzcaWTV0h/ G6fT8+PL+UtbRLcHnMpMMsJOWITLF47gg2BN3NWtmMILxhoHuG+DcgdT1+ljRUqdL4sv vcYcdZ9r1bUmZgMmTVPBw0vo8bwRlwPilpI7RXXP7PDx7FuvEMvzdBoG7pQNuXtnLQPZ rr+w== X-Gm-Message-State: AHPjjUilWKxQQlo78876BA7HTsRA1QKXiK8M3HQCnbu7KOL41QmvTUk/ UJg4SrOSlvJvafkYXa3ZCJSg8noElANLVwmA4qu4Ag== X-Google-Smtp-Source: AOwi7QA0pnBiZr6oqLh6vBkgTy5UMbV5xDf/u74cq9E49d5nnMFBb4VlBH7ymXgqYJNSXJDBnNMbkyJHcLPp8XBc1Aw= X-Received: by 10.28.130.131 with SMTP id e125mr3255523wmd.125.1506422618961; Tue, 26 Sep 2017 03:43:38 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.166.36 with HTTP; Tue, 26 Sep 2017 03:43:38 -0700 (PDT) In-Reply-To: <33DAE5F6-50CE-48C4-A1E0-97FA8FD9688E@data-artisans.com> References: <33DAE5F6-50CE-48C4-A1E0-97FA8FD9688E@data-artisans.com> From: Rahul Raj Date: Tue, 26 Sep 2017 16:13:38 +0530 Message-ID: Subject: Re: Flink Application Jar file on Docker container To: Stefan Richter Cc: user , Till Rohrmann Content-Type: multipart/alternative; boundary="001a1144302815bd62055a155929" archived-at: Tue, 26 Sep 2017 10:43:44 -0000 --001a1144302815bd62055a155929 Content-Type: text/plain; charset="UTF-8" Hi Stefan, Thanks a lot for your answer and sharing the link https://github.com/mesoshq/flink. I went through this and saw its spawning Jobmanager and taskmanager. Now I think, this should be happening. First JobManager will be started on flink cluster on one node, then task manager will be started on another node and both should be running in docker containers on different nodes. Now, my question is how flink's JobManager will get to know about the taskManagers as they are in in different docker containers on different nodes? Will it happen via Mesos? Can we use mesos-appmaster.sh instead which is already built in flink for deployment on mesos? Rahul Raj On 26 September 2017 at 15:32, Stefan Richter wrote: > Hi, > > as in my answer to your previous mail, I suggest to take a look at > https://github.com/mesoshq/flink . Unfortunately, there is not yet a lot > documentation about the internals of how this works, so I am also looping > in Till who might know more about specific questions about how things work > together exactly. > > Best, > Stefan > > > Am 26.09.2017 um 09:21 schrieb Rahul Raj : > > Currently I have a Flink Application Jar file running on Mesos cluster. > The flink application simply reads data from Kafka and put it to HDFS. > > Now we are planning to create a docker image to run this application jar > file inside docker containers on Mesos cluster via Marathon. > > Below are the questions that I am looking answers for: > > 1. While building the docker image, how do I include flink-1.3.2 set up > and my mesos config in flink? > > 2. How shall I run my existing flink application jar? > > 3. Will running my flink application jar on docker containers will run it > on mesos slaves on different docker containers? How docker , Flink, mesos , > Marathon will work together in my case? > > Rahul Raj > > > --001a1144302815bd62055a155929 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Stefan,

Thanks a lot for your answer= and sharing the link https://= github.com/mesoshq/flink. I went through this and saw its spawning Jobm= anager and taskmanager. Now I think, this should be happening. First JobMan= ager will be started on flink cluster on one node, then task manager will b= e started on another node and both should be running in docker containers o= n different nodes. Now, my question is how flink's JobManager will get = to know about the taskManagers as they are in in different docker container= s on different nodes? Will it happen via Mesos?

Ca= n we use mesos-appmaster.sh instead which is already built in flink for dep= loyment on mesos?

Rahul Raj =C2=A0

On 26 September 2017 = at 15:32, Stefan Richter <s.richter@data-artisans.com> wrote:
Hi,

as in my answer to your previous mail, I sugg= est to take a look at=C2=A0https://github.com/mesoshq/flink=C2=A0. Unfortunate= ly, there is not yet a lot documentation about the internals of how this wo= rks, so I am also looping in Till who might know more about specific questi= ons about how things work together exactly.

Best,<= /div>
Stefan
=C2=A0
Am 26.09.2017 um 09:21 schrieb Rahul Raj <rahulrajmsrit@gmail.c= om>:

Currently I have a Flink Application Jar file ru= nning on Mesos cluster. The flink application simply reads data from Kafka = and put it to HDFS.

Now we are= planning to create a docker image to=C2=A0 run this application jar file i= nside docker containers on Mesos cluster via Marathon.=C2=A0

Below are the questions that I am loo= king answers for:

1. Whi= le building the docker image, how do I include flink-1.3.2 set up and=C2=A0= my mesos config in flink?

2. How shall I run my existing flink application jar?

3. Will running my flink application jar o= n docker containers will run it on mesos slaves on different docker contain= ers? How docker , Flink, mesos , Marathon will work together in my case?

Rahul Raj

--001a1144302815bd62055a155929--