You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Quanlong Huang (JIRA)" <ji...@apache.org> on 2017/09/29 13:59:00 UTC

[jira] [Created] (IMPALA-5997) Provide a way to graceful shutdown an Impala Daemon

Quanlong Huang created IMPALA-5997:
--------------------------------------

             Summary: Provide a way to graceful shutdown an Impala Daemon
                 Key: IMPALA-5997
                 URL: https://issues.apache.org/jira/browse/IMPALA-5997
             Project: IMPALA
          Issue Type: New Feature
            Reporter: Quanlong Huang


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|https://prestodb.io/] 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.




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)