Sudheesh Katkam created DRILL-4972:
--------------------------------------
Summary: 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)