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 3BEC8200BB6 for ; Fri, 4 Nov 2016 11:47:11 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 3A832160AE9; Fri, 4 Nov 2016 10:47:11 +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 81925160AE8 for ; Fri, 4 Nov 2016 11:47:10 +0100 (CET) Received: (qmail 71722 invoked by uid 500); 4 Nov 2016 10:47:09 -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 71712 invoked by uid 99); 4 Nov 2016 10:47:09 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Nov 2016 10:47:09 +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 DEB48C25F4 for ; Fri, 4 Nov 2016 10:47:08 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.679 X-Spam-Level: * X-Spam-Status: No, score=1.679 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, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-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-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id jgMvmQ3Jz4fl for ; Fri, 4 Nov 2016 10:47:06 +0000 (UTC) Received: from mail-lf0-f54.google.com (mail-lf0-f54.google.com [209.85.215.54]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 5D80F5F39A for ; Fri, 4 Nov 2016 10:47:06 +0000 (UTC) Received: by mail-lf0-f54.google.com with SMTP id c13so60594066lfg.0 for ; Fri, 04 Nov 2016 03:47:06 -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=nD0GEukzFXcYKJrlMdtrcufwfSoRCQg9tm3tkD1zrmI=; b=jXrMPx7zn61wtN1ChBHlgYZQW1LO7s3K6HyAWz0v5cM1mofbqH04wBROgGLiQ658Ja FU9iPSsnqEv51gF9vrtEdjE4GDoBKVJTF7FaU3QZJDFQt7smySUuXUO7VqdXnn0p6Fc1 lziGMIIsoM2iaE8XNbR+NiLDsmlvyItbV746lxAvwzgGPIO0lJ//G7r/WnM5SCxR+2sX qs5YAtlTS4kquKnOG1TXAR5yBSt2DMx6dqHEpkbIgCB2Tr/q560nhUgrWLbmnSPHzNpk bd2lU/EatPj5X1cYAGAWHGipsYSPDXBZnRip4TzlAPZTq44r8kuvSw0IxORVDVnsIBMs tJ3A== 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=nD0GEukzFXcYKJrlMdtrcufwfSoRCQg9tm3tkD1zrmI=; b=F9Rx/DI26+OGKKikawlzDtKrNt2xc9k6CEFdjs20hy1EZPMOGT7oLDeYfOddrOghV7 ZL7IoxnhOZwvNMUXfTHaZbWbILYRvsoHEHyglWTXp7yHuLnhbVsw7mRByKolni218Zog 9Cf3YI8OLEG6kF8neGULAcLwe8OhvmmwsrIsqvnwoscsqiOUXrLM2au2D/bDRq2wjGSi BnkADNBJdLDAkO6DYVjnFSx3Wm18R+SIsnwWs7+sQDHf4vuKL7MyBoLY70kUWvL8zjH2 aT5jgCyBHx0FZfcwmBC3lOrD2/4eiX9xXYtDxpLiNOO1W94K4MLLZEpKBHG3PURiXDw0 CFmQ== X-Gm-Message-State: ABUngvdSfx5HXWqVnAetqSiolkmczrJfSoR4a6cihL+ByCmB0YwYOqdZu0AiAFrYBP6KpEtAly6tW5mIeVDzxQ== X-Received: by 10.25.21.205 with SMTP id 74mr8605122lfv.138.1478256393118; Fri, 04 Nov 2016 03:46:33 -0700 (PDT) MIME-Version: 1.0 Received: by 10.25.137.4 with HTTP; Fri, 4 Nov 2016 03:46:02 -0700 (PDT) In-Reply-To: References: From: Fabian Hueske Date: Fri, 4 Nov 2016 11:46:02 +0100 Message-ID: Subject: Re: Flink stream job change and recovery To: user@flink.apache.org Content-Type: multipart/alternative; boundary=001a1140800832ebf10540776376 archived-at: Fri, 04 Nov 2016 10:47:11 -0000 --001a1140800832ebf10540776376 Content-Type: text/plain; charset=UTF-8 Yes, that is true for Flink 1.1.x. The upcoming Flink 1.2.0 release will be able to restore jobs from savepoints with different parallelism. 2016-11-04 11:24 GMT+01:00 Renjie Liu : > Hi, all: > It seems that flink's checkpoint mechanism saves state per partition. > However, if I want to change configuration of the job and resubmit the job, > I can not recover from last checkpoint, right? Say I change the parallelism > of kafka consumer and partitions assigned to each subtask will be > different, then I'm not able to restart from last checkpoint, right? > -- > Liu, Renjie > Software Engineer, MVAD > --001a1140800832ebf10540776376 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Yes, that is true for Flink 1.1.x.

The u= pcoming Flink 1.2.0 release will be able to restore jobs from savepoints wi= th different parallelism.

2016-11-04 11:24 GMT+01:00 Renjie Liu &= lt;liurenjie20= 08@gmail.com>:
Hi, all:
It seems that flink's checkpoint mechanism saves stat= e per partition. However, if I want to change configuration of the job and = resubmit the job, I can not recover from last checkpoint, right? Say I chan= ge the parallelism of kafka consumer and partitions assigned to each subtas= k will be different, then I'm not able to restart from last checkpoint,= right?
--
Liu, Renjie
Software Engineer, MVAD

--001a1140800832ebf10540776376--