Return-Path: X-Original-To: apmail-flink-issues-archive@minotaur.apache.org Delivered-To: apmail-flink-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9150A18A0B for ; Fri, 26 Feb 2016 16:22:18 +0000 (UTC) Received: (qmail 58109 invoked by uid 500); 26 Feb 2016 16:22:18 -0000 Delivered-To: apmail-flink-issues-archive@flink.apache.org Received: (qmail 58034 invoked by uid 500); 26 Feb 2016 16:22:18 -0000 Mailing-List: contact issues-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 issues@flink.apache.org Received: (qmail 57993 invoked by uid 99); 26 Feb 2016 16:22:18 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Feb 2016 16:22:18 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 210E62C14F8 for ; Fri, 26 Feb 2016 16:22:18 +0000 (UTC) Date: Fri, 26 Feb 2016 16:22:18 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@flink.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (FLINK-3443) JobManager cancel and clear everything fails jobs instead of cancelling MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/FLINK-3443?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15169252#comment-15169252 ] ASF GitHub Bot commented on FLINK-3443: --------------------------------------- GitHub user uce opened a pull request: https://github.com/apache/flink/pull/1726 [FLINK-3443] [runtime] Prevent cancelled jobs from restarting This is one part of #1669 for which we have consensus I think. It would be good to have it in the next RC. @rmetzger ran into this issue. It showed up as a job not cancelling, because a failure was overwriting the cancellation. You can merge this pull request into a Git repository by running: $ git pull https://github.com/uce/flink cancel-overwrites-fail Alternatively you can review and apply these changes as the patch at: https://github.com/apache/flink/pull/1726.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1726 ---- commit 1c11436f85697333b900830d4cb7e74cc1059f48 Author: Ufuk Celebi Date: 2016-02-26T16:12:05Z [FLINK-3443] [runtime] Prevent cancelled jobs from restarting ---- > JobManager cancel and clear everything fails jobs instead of cancelling > ----------------------------------------------------------------------- > > Key: FLINK-3443 > URL: https://issues.apache.org/jira/browse/FLINK-3443 > Project: Flink > Issue Type: Bug > Components: Distributed Runtime > Reporter: Ufuk Celebi > Assignee: Ufuk Celebi > > When the job manager is shut down, it calls {{cancelAndClearEverything}}. This method does not {{cancel}} the {{ExecutionGraph}} instances, but {{fail}}s them, which can lead to {{ExecutionGraph}} restart. > I've noticed this in tests, where old graph got into a loop of restarts. > What I don't understand is why the futures etc. are not cancelled when the executor service is shut down. -- This message was sent by Atlassian JIRA (v6.3.4#6332)