From issues-return-149025-archive-asf-public=cust-asf.ponee.io@flink.apache.org Tue Jan 23 10:36:05 2018 Return-Path: X-Original-To: archive-asf-public@eu.ponee.io Delivered-To: archive-asf-public@eu.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by mx-eu-01.ponee.io (Postfix) with ESMTP id 224CD18076D for ; Tue, 23 Jan 2018 10:36:05 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 1170F160C17; Tue, 23 Jan 2018 09:36:05 +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 57532160C4D for ; Tue, 23 Jan 2018 10:36:04 +0100 (CET) Received: (qmail 37599 invoked by uid 500); 23 Jan 2018 09:36:03 -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 37586 invoked by uid 99); 23 Jan 2018 09:36:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Jan 2018 09:36:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id DC048180336 for ; Tue, 23 Jan 2018 09:36:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -108.711 X-Spam-Level: X-Spam-Status: No, score=-108.711 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id nJzwITC15I1D for ; Tue, 23 Jan 2018 09:36:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 3D4B860D71 for ; Tue, 23 Jan 2018 09:36:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 75AA8E095A for ; Tue, 23 Jan 2018 09:36:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 3621925C63 for ; Tue, 23 Jan 2018 09:36:00 +0000 (UTC) Date: Tue, 23 Jan 2018 09:36:00 +0000 (UTC) From: "Gary Yao (JIRA)" To: issues@flink.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (FLINK-8488) Dispatcher does not recover jobs 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-8488?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary Yao updated FLINK-8488: ---------------------------- Description: Dispatcher does not recover jobs on failover (FLIP-6 mode). *Steps to reproduce*: # {{bin/start-cluster.sh flip6}} # {{bin/flink run -p1 -flip6 examples/batch/WordCount.jar --input /path/to/largefile.txt}} # Wait until job is running, then run {{bin/jobmanager.sh stop flip6 && bin/jobmanager.sh start flip6}} to restart the master. # Wait until leader is elected and verify that no jobs are running. *Analysis* * Dispatcher checks on {{submitJob}} whether the job scheduling status is {{PENDING}} and only then allows resubmission of the job. However, the job is marked as {{RUNNING}} in ZooKeeper. was: Dispatcher does not recover jobs on failover (FLIP-6 mode). *Steps to reproduce*: # {{bin/start-cluster.sh flip6}} # {{bin/flink run -p1 -flip6 examples/batch/WordCount.jar --input /path/to/largefile.txt}} # Wait until job is running, then run {{bin/jobmanager.sh stop flip6 && bin/jobmanager.sh start flip6}} # Wait until leader is elected and verify that no jobs are running. *Analysis* * Dispatcher checks on {{submitJob}} whether the job scheduling status is {{PENDING}} and only then allows resubmission of the job. However, the job is marked as {{RUNNING}} in ZooKeeper. > Dispatcher does not recover jobs > -------------------------------- > > Key: FLINK-8488 > URL: https://issues.apache.org/jira/browse/FLINK-8488 > Project: Flink > Issue Type: Bug > Components: Distributed Coordination > Affects Versions: 1.5.0 > Environment: 776af4a882c85926fc0764b702fec717c675e34c > Reporter: Gary Yao > Priority: Blocker > Labels: flip-6 > Fix For: 1.5.0 > > > Dispatcher does not recover jobs on failover (FLIP-6 mode). > *Steps to reproduce*: > # {{bin/start-cluster.sh flip6}} > # {{bin/flink run -p1 -flip6 examples/batch/WordCount.jar --input /path/to/largefile.txt}} > # Wait until job is running, then run {{bin/jobmanager.sh stop flip6 && bin/jobmanager.sh start flip6}} to restart the master. > # Wait until leader is elected and verify that no jobs are running. > *Analysis* > * Dispatcher checks on {{submitJob}} whether the job scheduling status is {{PENDING}} and only then allows resubmission of the job. However, the job is marked as {{RUNNING}} in ZooKeeper. -- This message was sent by Atlassian JIRA (v7.6.3#76005)