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 E26DC200D0E for ; Tue, 26 Sep 2017 09:17:46 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id E0FD51609C1; Tue, 26 Sep 2017 07:17:46 +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 30BC71609B4 for ; Tue, 26 Sep 2017 09:17:46 +0200 (CEST) Received: (qmail 64932 invoked by uid 500); 26 Sep 2017 07:17:45 -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 64923 invoked by uid 99); 26 Sep 2017 07:17:45 -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; Tue, 26 Sep 2017 07:17:45 +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 B2D8AC1C86 for ; Tue, 26 Sep 2017 07:17:44 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -4.021 X-Spam-Level: X-Spam-Status: No, score=-4.021 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001] autolearn=disabled 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 MUbjrrQDHk7x for ; Tue, 26 Sep 2017 07:17:42 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with SMTP id 9D3755FB0B for ; Tue, 26 Sep 2017 07:17:42 +0000 (UTC) Received: (qmail 64605 invoked by uid 99); 26 Sep 2017 07:17:42 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Sep 2017 07:17:42 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 223F7F5561; Tue, 26 Sep 2017 07:17:40 +0000 (UTC) From: suez1224 To: issues@flink.incubator.apache.org Reply-To: issues@flink.incubator.apache.org Message-ID: Subject: [GitHub] flink pull request #4724: [FLINK-7690] [Cluster Management] Do not call acto... Content-Type: text/plain Date: Tue, 26 Sep 2017 07:17:40 +0000 (UTC) archived-at: Tue, 26 Sep 2017 07:17:47 -0000 GitHub user suez1224 opened a pull request: https://github.com/apache/flink/pull/4724 [FLINK-7690] [Cluster Management] Do not call actorSystem.awaitTermination from akka's main message han… ## What is the purpose of the change *During shutdown, do not wait for the ActorSystem's termination within the main akka message handling thread as it will block the job from terminating forever.* ## Brief change log *(for example:)* - *call ActorSystem.awaitTermination from a different thread.* ## Verifying this change - *Manually verified the change by running the example streaming WordCount job on local YARN cluster.* ## Does this pull request potentially affect one of the following parts: - Dependencies (does it add or upgrade a dependency): no - The public API, i.e., is any changed class annotated with `@Public(Evolving)`: no - The serializers: no - The runtime per-record code paths (performance sensitive): no - Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: yes ## Documentation - Does this pull request introduce a new feature? no - If yes, how is the feature documented? N/A You can merge this pull request into a Git repository by running: $ git pull https://github.com/suez1224/flink fix-jobmaster-await-termination Alternatively you can review and apply these changes as the patch at: https://github.com/apache/flink/pull/4724.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 #4724 ---- commit 291313719ac2ae185dab42a572eb5e4d0e34e7dd Author: Shuyi Chen Date: 2017-09-26T06:25:49Z Do not call actorSystem.awaitTermination from akka's main message handling thread ---- ---