You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Amogh Margoor (Jira)" <ji...@apache.org> on 2021/05/03 08:58:00 UTC

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

     [ https://issues.apache.org/jira/browse/IMPALA-10471?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amogh Margoor resolved IMPALA-10471.
------------------------------------
    Resolution: Fixed

Shutdown due to SIGRTMIN will be governed by this flag --shutdown_deadline_s after the patch. Resolving this JIRA.

> 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
>            Assignee: Amogh Margoor
>            Priority: Minor
>              Labels: ramp-up
>
> 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)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org