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 AD909200D28 for ; Mon, 23 Oct 2017 10:00:38 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id AC105160BF0; Mon, 23 Oct 2017 08:00:38 +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 24C241609E0 for ; Mon, 23 Oct 2017 10:00:37 +0200 (CEST) Received: (qmail 16338 invoked by uid 500); 23 Oct 2017 08:00:34 -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 16238 invoked by uid 99); 23 Oct 2017 08:00:33 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Oct 2017 08:00:33 +0000 Received: from Timos-MBP.fritz.box (ip-2-205-81-99.web.vodafone.de [2.205.81.99]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id EAAF81A012F; Mon, 23 Oct 2017 08:00:32 +0000 (UTC) Subject: Re: How can I create a savepoint if I have Flink running in containers? To: user@flink.apache.org References: <1508675049401-0.post@n4.nabble.com> From: Timo Walther Cc: patrick@data-artisans.com Message-ID: <547b0627-7fd4-da17-3c72-fb63df74fe59@apache.org> Date: Mon, 23 Oct 2017 10:00:30 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <1508675049401-0.post@n4.nabble.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit archived-at: Mon, 23 Oct 2017 08:00:38 -0000 Hi, I'm not a deployment expert but I think creating a savepoint should still be doable throught the CLI client. The Flink JobManager and TaskManager just run the containers and the CLI connects to a JobManager. I will loop in someone more familar with deployment. We should definitely improve the documentation here. Regards, Timo Am 10/22/17 um 2:24 PM schrieb javalass: > I have Flink 1.2.1 running on Docker, with Task Managers distributed across > different VMs as part of a Docker Swarm. > > I understand Dynamic Scaling is not yet available in Flink. Therefore, if I > wanted to increase the number of containers running Flink's task manager > (scale up), I would need to create a savepoint, stop the running job, scale > up my Task Manager containers, then resume the job. > > My question is: how do I create a savepoint? The documentation assumes you > are using the Command Line Client, but I don't think I can access it if I am > running Flink in containers. The Web UI doesn't allow you to create > savepoints either. What do I do, in this case? > > Thank you very much for your help. > > > > > -- > Sent from: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/