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

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

Commit 1a800457a13c3407a33e796cef0c328b2d90c52e in impala's branch 
refs/heads/master from Bikramjeet Vig
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=1a80045 ]

IMPALA-8401: SIGRTMIN initiates the graceful shutdown process

This patch enables a user that has access to the impalad process,
to initiate the graceful shutdown process with a deadline of one year
by sending SIGRTMIN signal to it.
Sample usage: "kill -SIGRTMIN <IMPALAD_PID>"

Testing:
Added relevant e2e tests.
Tested on CentOS 6, CentOS 7, Ubuntu 16.04, Ubuntu 18.04 and SLES 12

Change-Id: I521ffd7526ac9a8a5c4996994eb68d6a855aef86
Reviewed-on: http://gerrit.cloudera.org:8080/12973
Reviewed-by: Impala Public Jenkins <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>


> Initiate graceful shutdown of impala daemon by sending a signal to the process
> ------------------------------------------------------------------------------
>
>                 Key: IMPALA-8401
>                 URL: https://issues.apache.org/jira/browse/IMPALA-8401
>             Project: IMPALA
>          Issue Type: Bug
>            Reporter: Bikramjeet Vig
>            Assignee: Bikramjeet Vig
>            Priority: Major
>
> Once the shut down process is initiated, impalad would stop accepting any new 
> connections or queries. This makes it difficult if a user wants to shut down 
> impalad across a cluster via the shutdown command. For eg. the user would 
> need to make sure to send the command to all executors before sending them to 
> the coordinators. Adding a mechanism to initiate the graceful shutdown 
> process with a large deadline by sending a SIGQUIT to the impalad process 
> would make cluster management simpler.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to