Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-5997

Provide a way to gracefully shutdown an Impala Daemon

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • None
    • None
    • ghx-label-3

    Description

      Currently if we shutdown an impalad, queries running on it will all fail. This is bad in a BI system integrating with Impala as its query engine. If we perform maintenance on the impala cluster, we hope users are not aware of it. For example, to decomission impalads in a rack to retire old machines, we hope these impalads not accept new PlanFragments and shutdown when their existing work is done.

      Presto provides such a way since 0.128: https://prestodb.io/docs/current/release/release-0.128.html

      • Presto workers can be instructed to shutdown by submiting a PUT request to /v1/info/state with the body "SHUTTING_DOWN". Once instructed to shutdown, the worker will no longer receive new tasks, and will exit once all existing tasks have completed.

      Hope we can provide a way to do so.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              stigahuang Quanlong Huang
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: