This is an automated email from the ASF dual-hosted git repository.

arawat pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/impala.git


The following commit(s) were added to refs/heads/master by this push:
     new 3e0a422c2 IMPALA-12039: graceful shutdown doesn't work in redhat 
docker image
3e0a422c2 is described below

commit 3e0a422c2ecdd8ed8ae3272db3f87926d501db13
Author: Abhishek Rawat <[email protected]>
AuthorDate: Sat Apr 8 00:32:05 2023 -0700

    IMPALA-12039: graceful shutdown doesn't work in redhat docker image
    
    'pgrep' was missing in redhat docker image and as a result graceful
    shutdown script (bin/graceful_shutdown_backends.sh) was terminating
    the impalad immediately without waiting for the
    'shutdown_grace_period_s' grace period. Since, there wasn't enough
    time window for cluster membership changes to propagate to
    coordinator, it was scheduling query fragments on already deleted
    executors and queries were failing.
    
    Built an ubuntu 20 image and it had the 'pgrep' utility already
    installed.
    
    Testing:
    - Built redhat 8 image and manually tested graceful shutdown in a
    docker container.
    
    Change-Id: I91ffc1fe3e022ce7f7507b2bd79a3e2c3851956d
    Reviewed-on: http://gerrit.cloudera.org:8080/19711
    Reviewed-by: Impala Public Jenkins <[email protected]>
    Tested-by: Impala Public Jenkins <[email protected]>
---
 docker/install_os_packages.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/docker/install_os_packages.sh b/docker/install_os_packages.sh
index 2f7e28ef0..ffc58d8a7 100755
--- a/docker/install_os_packages.sh
+++ b/docker/install_os_packages.sh
@@ -124,6 +124,7 @@ elif [[ $DISTRIBUTION == Redhat ]]; then
       hostname \
       krb5-workstation \
       openldap-devel \
+      procps-ng \
       tzdata
 
   # UTF-8 masking functions require the presence of en_US.utf8.

Reply via email to