[
https://issues.apache.org/jira/browse/DRILL-4972?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15610719#comment-15610719
]
ASF GitHub Bot commented on DRILL-4972:
---------------------------------------
GitHub user sudheeshkatkam opened a pull request:
https://github.com/apache/drill/pull/633
DRILL-4972: Set StatusThread's daemon flag to false
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/sudheeshkatkam/drill DRILL-4972
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/drill/pull/633.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 #633
----
commit 4d528f901b1126a8c17856f72a05b7744fdabb5a
Author: Sudheesh Katkam <[email protected]>
Date: 2016-10-27T05:23:34Z
DRILL-4972: Set StatusThread's daemon flag to false
----
> Drillbit shuts down immediately after starting if embedded web server is
> disabled
> ---------------------------------------------------------------------------------
>
> Key: DRILL-4972
> URL: https://issues.apache.org/jira/browse/DRILL-4972
> Project: Apache Drill
> Issue Type: Bug
> Components: Server
> Affects Versions: 1.8.0
> Reporter: Sudheesh Katkam
> Assignee: Sudheesh Katkam
> Priority: Critical
> Fix For: 1.9.0
>
>
> Disable embedded web server by setting "drill.exec.http.enabled" to false.
> Now when drillbit is started, it shuts down immediately after starting.
> JVM exits when the only threads running are all daemon threads. Turns out all
> threads in a drillbit, other than the thread pool started by the web server,
> are daemon. So I suggest WorkManager#StatusThread be made non-daemon.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)