drill-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject [2/5] drill git commit: DRILL-4972: Remove setDaemon(true) call in WorkManager.StatusThread
Date Sun, 30 Oct 2016 15:23:22 GMT
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 <skatkam@maprtech.com>
Authored: Fri Oct 28 09:08:23 2016 -0700
Committer: Jinfeng Ni <jni@apache.org>
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");
     }
 


Mime
View raw message