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 A7E90200BBF for ; Mon, 14 Nov 2016 16:33:01 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id A4986160B19; Mon, 14 Nov 2016 15:33:01 +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 25AEE160B0D for ; Mon, 14 Nov 2016 16:33:01 +0100 (CET) Received: (qmail 19746 invoked by uid 500); 14 Nov 2016 15:33:00 -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 19491 invoked by uid 99); 14 Nov 2016 15:33:00 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Nov 2016 15:33:00 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id E75A72C4C76 for ; Mon, 14 Nov 2016 15:32:59 +0000 (UTC) Date: Mon, 14 Nov 2016 15:32:59 +0000 (UTC) From: "Chesnay Schepler (JIRA)" To: issues@flink.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (FLINK-5062) Ensure that all created threads have a proper name MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 14 Nov 2016 15:33:01 -0000 [ https://issues.apache.org/jira/browse/FLINK-5062?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chesnay Schepler updated FLINK-5062: ------------------------------------ Summary: Ensure that all created threads have a proper name (was: Ensure that all create threads have a proper name) > Ensure that all created threads have a proper name > -------------------------------------------------- > > Key: FLINK-5062 > URL: https://issues.apache.org/jira/browse/FLINK-5062 > Project: Flink > Issue Type: Improvement > Affects Versions: 1.1.3 > Reporter: Chesnay Schepler > Fix For: 1.2.0 > > > There are a few places where we create a Thread without giving it an explicit name. This can make debugging harder than necessary. > I've made a sweep some time ago and found the following culprits: > * ProcessShutDownThread, used in the shutdown of TM/JM > * StreamPrinter, used by python operators > * SplitReader, used ContinuousFileReaderOperator > * CallExecute, used in DataStreamUtils#collect > In addition we should check for usages of ExecutorServices that don't provide an explicit ThreadFactory (which would allow explicit names). > I pushed a hotfix today which resolved another occurrence in the MetricRegistry. -- This message was sent by Atlassian JIRA (v6.3.4#6332)