Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-4972

Drillbit shuts down immediately after starting if embedded web server is disabled

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.8.0
    • Fix Version/s: 1.9.0
    • Component/s: Server
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sudheeshkatkam Sudheesh Katkam
                Reporter:
                sudheeshkatkam Sudheesh Katkam
                Reviewer:
                Krystal
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: