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 83A89191B5 for ; Thu, 14 Apr 2016 01:53:26 +0000 (UTC) Received: (qmail 17577 invoked by uid 500); 14 Apr 2016 01:53:25 -0000 Delivered-To: apmail-flink-dev-archive@flink.apache.org Received: (qmail 17502 invoked by uid 500); 14 Apr 2016 01:53:25 -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 17467 invoked by uid 99); 14 Apr 2016 01:53:25 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Apr 2016 01:53:25 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 9081F2C1F61 for ; Thu, 14 Apr 2016 01:53:25 +0000 (UTC) Date: Thu, 14 Apr 2016 01:53:25 +0000 (UTC) From: "Ted Yu (JIRA)" To: dev@flink.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (FLINK-3753) KillerWatchDog should not use kill on toKill thread MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Ted Yu created FLINK-3753: ----------------------------- Summary: KillerWatchDog should not use kill on toKill thread Key: FLINK-3753 URL: https://issues.apache.org/jira/browse/FLINK-3753 Project: Flink Issue Type: Bug Reporter: Ted Yu Priority: Minor {code} // this is harsh, but this watchdog is a last resort if (toKill.isAlive()) { toKill.stop(); } {code} stop() is deprecated. See: https://www.securecoding.cert.org/confluence/display/java/THI05-J.+Do+not+use+Thread.stop()+to+terminate+threads -- This message was sent by Atlassian JIRA (v6.3.4#6332)