Return-Path: X-Original-To: apmail-flink-dev-archive@www.apache.org Delivered-To: apmail-flink-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E9F9218B58 for ; Thu, 18 Feb 2016 18:02:27 +0000 (UTC) Received: (qmail 86180 invoked by uid 500); 18 Feb 2016 18:02:18 -0000 Delivered-To: apmail-flink-dev-archive@flink.apache.org Received: (qmail 86120 invoked by uid 500); 18 Feb 2016 18:02:18 -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 86100 invoked by uid 99); 18 Feb 2016 18:02:18 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Feb 2016 18:02:18 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 2955E2C1F5B for ; Thu, 18 Feb 2016 18:02:18 +0000 (UTC) Date: Thu, 18 Feb 2016 18:02:18 +0000 (UTC) From: "Ufuk Celebi (JIRA)" To: dev@flink.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (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 Ufuk Celebi created FLINK-3443: ---------------------------------- Summary: 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)