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

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.8.0
    • 1.9.0
    • Server
    • 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

              sudheeshkatkam Sudheesh Katkam
              sudheeshkatkam Sudheesh Katkam
              Krystal Krystal
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: