From commits-return-4287-apmail-drill-commits-archive=drill.apache.org@drill.apache.org Sun Oct 30 15:23:22 2016 Return-Path: X-Original-To: apmail-drill-commits-archive@www.apache.org Delivered-To: apmail-drill-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4F1A419108 for ; Sun, 30 Oct 2016 15:23:22 +0000 (UTC) Received: (qmail 39147 invoked by uid 500); 30 Oct 2016 15:23:22 -0000 Delivered-To: apmail-drill-commits-archive@drill.apache.org Received: (qmail 39102 invoked by uid 500); 30 Oct 2016 15:23:22 -0000 Mailing-List: contact commits-help@drill.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: commits@drill.apache.org Delivered-To: mailing list commits@drill.apache.org Received: (qmail 39089 invoked by uid 99); 30 Oct 2016 15:23:22 -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; Sun, 30 Oct 2016 15:23:22 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id D9495E188D; Sun, 30 Oct 2016 15:23:21 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: jni@apache.org To: commits@drill.apache.org Date: Sun, 30 Oct 2016 15:23:22 -0000 Message-Id: <61f2dc4b127f452b980a89d24e9fe14a@git.apache.org> In-Reply-To: <0e6a68067e384f9093a8300a5d781695@git.apache.org> References: <0e6a68067e384f9093a8300a5d781695@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [2/5] drill git commit: DRILL-4972: Remove setDaemon(true) call in WorkManager.StatusThread DRILL-4972: Remove setDaemon(true) call in WorkManager.StatusThread closes #633 Project: http://git-wip-us.apache.org/repos/asf/drill/repo Commit: http://git-wip-us.apache.org/repos/asf/drill/commit/c17b7556 Tree: http://git-wip-us.apache.org/repos/asf/drill/tree/c17b7556 Diff: http://git-wip-us.apache.org/repos/asf/drill/diff/c17b7556 Branch: refs/heads/master Commit: c17b7556a7a319c4d8c25bf542e94f937f59b976 Parents: ca3733e Author: Sudheesh Katkam Authored: Fri Oct 28 09:08:23 2016 -0700 Committer: Jinfeng Ni Committed: Sat Oct 29 21:58:27 2016 -0700 ---------------------------------------------------------------------- .../src/main/java/org/apache/drill/exec/work/WorkManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/drill/blob/c17b7556/exec/java-exec/src/main/java/org/apache/drill/exec/work/WorkManager.java ---------------------------------------------------------------------- diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/work/WorkManager.java b/exec/java-exec/src/main/java/org/apache/drill/exec/work/WorkManager.java index ee11592..697616e 100644 --- a/exec/java-exec/src/main/java/org/apache/drill/exec/work/WorkManager.java +++ b/exec/java-exec/src/main/java/org/apache/drill/exec/work/WorkManager.java @@ -295,7 +295,7 @@ public class WorkManager implements AutoCloseable { */ private class StatusThread extends Thread { public StatusThread() { - setDaemon(true); + // assume this thread is created by a non-daemon thread setName("WorkManager.StatusThread"); }