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 "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2018/09/30 07:27:01 UTC

[jira] [Commented] (IMPALA-6271) Impala daemon should log a message when it's being shut down

    [ https://issues.apache.org/jira/browse/IMPALA-6271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16633293#comment-16633293 ] 

ASF subversion and git services commented on IMPALA-6271:
---------------------------------------------------------

Commit f699a6ce83f2c7b24e6b7b31c5a7647cc132eef6 in impala's branch refs/heads/master from Pranay
[ https://git-wip-us.apache.org/repos/asf?p=impala.git;h=f699a6c ]

IMPALA-6271: Impala daemon should log a message when it's being shut down

Currently Impalad does not log any message when SIGTERM is sent to
impalad to terminate or to do a graceful shut down. This change logs
a message when SIGTERM is received by impalad/catalogd/statestored.
This logging will assist in debugging the issues seen in the field
where impalad was not gracefully shut down (some other signal
was generated that led to impalad/catalogd/statestored crash).

Testing:
-------
a) Used kill to send signals to impalad/catalogd/statestored
   `kill -s SIGTERM <pid of impalad/catalogd/statestored>` and see the
   log message is being logged in impalad/catalogd/statestored.INFO.
b) Ran test_breakpad.py to check that existing breakpad functionalities
   are not affected.
c) Ran exhaustive tests without failure.
d) Added new test in test_breakpad.py to handle SIGTERM for
   impalad/statestored/catalogd.

Change-Id: Id20da9e30440b7348557beccb8a0da14775fcc29
Reviewed-on: http://gerrit.cloudera.org:8080/10847
Reviewed-by: Impala Public Jenkins <im...@cloudera.com>
Tested-by: Impala Public Jenkins <im...@cloudera.com>


> Impala daemon should log a message when it's being shut down
> ------------------------------------------------------------
>
>                 Key: IMPALA-6271
>                 URL: https://issues.apache.org/jira/browse/IMPALA-6271
>             Project: IMPALA
>          Issue Type: Improvement
>          Components: Backend
>    Affects Versions: Impala 2.10.0
>            Reporter: Zoram Thanga
>            Assignee: Pranay Singh
>            Priority: Major
>              Labels: observability, supportability
>
> At present the Impala daemon does not log any message when it is being shut down, usually via SIGTERM from management software or OS shutdown. It would be good to at the very least catch this signal to log a message that we are going down. This will aid in serviceability.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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