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 5E023200BDB for ; Thu, 3 Nov 2016 15:47:01 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 5CD33160B0B; Thu, 3 Nov 2016 14:47:01 +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 B1070160B0D for ; Thu, 3 Nov 2016 15:47:00 +0100 (CET) Received: (qmail 84180 invoked by uid 500); 3 Nov 2016 14:46:59 -0000 Mailing-List: contact dev-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flink.apache.org Delivered-To: mailing list dev@flink.apache.org Received: (qmail 84136 invoked by uid 99); 3 Nov 2016 14:46:59 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Nov 2016 14:46:59 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 4E8672C2AC0 for ; Thu, 3 Nov 2016 14:46:59 +0000 (UTC) Date: Thu, 3 Nov 2016 14:46:59 +0000 (UTC) From: "Ufuk Celebi (JIRA)" To: dev@flink.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (FLINK-5007) Retain externalized checkpoint on suspension MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 03 Nov 2016 14:47:01 -0000 Ufuk Celebi created FLINK-5007: ---------------------------------- Summary: Retain externalized checkpoint on suspension Key: FLINK-5007 URL: https://issues.apache.org/jira/browse/FLINK-5007 Project: Flink Issue Type: Bug Components: State Backends, Checkpointing Reporter: Ufuk Celebi Assignee: Ufuk Celebi Fix For: 1.2.0 Externalized checkpoints are cleaned up when the job is suspended. Suspensions happen on graceful shut down (non-HA) or loss of leadership (HA). In case of HA, the checkpoint store does not clean up any checkpoints as they might be recovered by a new leader. The only way to stop a HA job is to actually cancel it. Therefore the configured clean up behaviour doesn't matter. In case of non-HA, suspensions happen because of graceful shut down (for example stopping a YARN session). In this case I would treat the clean up behaviour similar to cancelling the job. {code} ExternalizedCheckpointCleanup.DELETE_ON_CANCELLATION => delete on suspension ExternalizedCheckpointCleanup.RETAIN_ON_CANCELLATION => retain on suspension {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)