You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Tamas Mate (Jira)" <ji...@apache.org> on 2021/02/03 11:35:00 UTC

[jira] [Created] (IMPALA-10471) Make deadline configurable for SIGTERMIN graceful shutdown

Tamas Mate created IMPALA-10471:
-----------------------------------

             Summary: Make deadline configurable for SIGTERMIN graceful shutdown 
                 Key: IMPALA-10471
                 URL: https://issues.apache.org/jira/browse/IMPALA-10471
             Project: IMPALA
          Issue Type: Improvement
          Components: Backend
    Affects Versions: Impala 4.0
            Reporter: Tamas Mate


While the graceful shutdown deadline can be configured when the SHUTDOWN() statement is executed, when the shutdown is initiated with SIGTERMIN signal it will use a default 1 year deadline. The related {{ImpalaShutdownSignalHandler}} can be found [here|https://github.com/apache/impala/blame/a81c6a78294d1da72b57ed90ec4e365de8c4e54b/be/src/common/init.cc#L179].
{code:java}
...
const int ONE_YEAR_IN_SECONDS = 365 * 24 * 60 * 60;
Status status = impala_server->StartShutdown(ONE_YEAR_IN_SECONDS, &shutdown_status);
...
{code}
The {{--shutdown_deadline_s}} flag should be respected in this case as well.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)