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)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]