Return-Path: X-Original-To: apmail-flink-user-archive@minotaur.apache.org Delivered-To: apmail-flink-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 32C1318246 for ; Thu, 30 Jul 2015 09:22:39 +0000 (UTC) Received: (qmail 52380 invoked by uid 500); 30 Jul 2015 09:22:32 -0000 Delivered-To: apmail-flink-user-archive@flink.apache.org Received: (qmail 52301 invoked by uid 500); 30 Jul 2015 09:22:32 -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 52291 invoked by uid 99); 30 Jul 2015 09:22:32 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Jul 2015 09:22:32 +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 1EB9BD8D11 for ; Thu, 30 Jul 2015 09:22:32 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.981 X-Spam-Level: ** X-Spam-Status: No, score=2.981 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id x11DKgdTaQGV for ; Thu, 30 Jul 2015 09:22:25 +0000 (UTC) Received: from mail-vk0-f45.google.com (mail-vk0-f45.google.com [209.85.213.45]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id 71E2E4C105 for ; Thu, 30 Jul 2015 09:22:25 +0000 (UTC) Received: by vkci6 with SMTP id i6so8353249vkc.3 for ; Thu, 30 Jul 2015 02:21:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type; bh=Eue5xF+RxosVZMUdrZtEuuPVlyWlSrEXvXaJuGOj2Ww=; b=wcDsls97BYu+hnpBfyxFjKOPcEYUYxvmqZDv/1TrnQiVWcaPuNYGHXm3Ha5zZBq0Dv oII0Y957sanS/WkIJMqcRbSjOh5dfgGVyRyiFxtzoZTDTvw0l53sYswj40xNdpjcYXLm ROLEuBHNDTRHn7dmBfaYGc+O+1anQPZ5AnEVleasP12wd8zhtEy5uqErNs5kyInQhEdy XTAdSf27y9pFHxQ6p1xTf2a+cjxDK0J+yswfD1s5V60RZCjbiQhZb5Byppq00BfgYVgQ cO2hIN81KPLsyHaT3lOsOvT9S4K1QjbtHjcnQbFMyagiq6PuyA+Hq+gOKyzz+TbL3tnv gjNQ== MIME-Version: 1.0 X-Received: by 10.52.113.97 with SMTP id ix1mr58930962vdb.1.1438248094315; Thu, 30 Jul 2015 02:21:34 -0700 (PDT) Sender: ewenstephan@gmail.com Received: by 10.31.128.19 with HTTP; Thu, 30 Jul 2015 02:21:34 -0700 (PDT) In-Reply-To: <55B9CB41.7010700@ricobergmann.de> References: <55B9CB41.7010700@ricobergmann.de> Date: Thu, 30 Jul 2015 11:21:34 +0200 X-Google-Sender-Auth: pejRr-7Sns3WhWfR4WvK2H7d4Nc Message-ID: Subject: Re: optimal deployment model for Flink Streaming programs From: Stephan Ewen To: user@flink.apache.org Content-Type: multipart/alternative; boundary=bcaec548a627c2bbb9051c143afc --bcaec548a627c2bbb9051c143afc Content-Type: text/plain; charset=UTF-8 I think what you outline is the right way to go for the time being. The "Client" class is being reworked to bet more of these deployment/controlling methods, to make it easier to deploy/cancel/restart jobs programatically, but that will probably take a few more weeks to converge. Stephan On Thu, Jul 30, 2015 at 8:59 AM, Dipl.-Inf. Rico Bergmann < info@ricobergmann.de> wrote: > Hi! > > We want to build an infrastructure for automated deployment of Flink > Streaming programs to a dedicated environment. This includes automated > tests (unit and integration) via Jenkins and in case of a successful > build&test the program should be deployed to the execution environment. > > Since streaming programs run infinitely, the problem is to switch from the > running program to the newly deployed. The CLI has some features that would > make it possible (list, cancel). Is there another way of somehow restarting > a streaming program? Do you have a suggested way for the deployment > (automated!)? > > Regards > Rico B. > --bcaec548a627c2bbb9051c143afc Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I think what you outline is the right way to go for the ti= me being.

The "Client" class is being reworked= to bet more of these deployment/controlling methods, to make it easier to = deploy/cancel/restart jobs programatically, but that will probably take a f= ew more weeks to converge.

Stephan

<= /div>

On Thu= , Jul 30, 2015 at 8:59 AM, Dipl.-Inf. Rico Bergmann <<= a href=3D"mailto:info@ricobergmann.de" target=3D"_blank">info@ricobergmann.= de> wrote:
Hi!

We want to build an infrastructure for automated deployment of Flink Stream= ing programs to a dedicated environment. This includes automated tests (uni= t and integration) via Jenkins and in case of a successful build&test t= he program should be deployed to the execution environment.

Since streaming programs run infinitely, the problem is to switch from the = running program to the newly deployed. The CLI has some features that would= make it possible (list, cancel). Is there another way of somehow restartin= g a streaming program? Do you have a suggested way for the deployment (auto= mated!)?

Regards
Rico B.

--bcaec548a627c2bbb9051c143afc--