You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@impala.apache.org by ta...@apache.org on 2019/07/16 15:26:41 UTC
[impala] 03/06: IMPALA-8686: docker entrypoint script execs daemon
This is an automated email from the ASF dual-hosted git repository.
tarmstrong pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/impala.git
commit b6b6b22c86702fd457fcfbb6401a9b27207c5f58
Author: Tim Armstrong <ta...@cloudera.com>
AuthorDate: Wed Jun 19 16:42:41 2019 -0700
IMPALA-8686: docker entrypoint script execs daemon
The script now execs the subprocess, which is required for signals, etc
to be handled correctly.
Change-Id: Ifefbe0a926cf9cfb8acbd37c3f691dc28847dd8b
Reviewed-on: http://gerrit.cloudera.org:8080/13682
Reviewed-by: Impala Public Jenkins <im...@cloudera.com>
Tested-by: Impala Public Jenkins <im...@cloudera.com>
---
docker/daemon_entrypoint.sh | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/docker/daemon_entrypoint.sh b/docker/daemon_entrypoint.sh
index 16fa7f0..d413162 100755
--- a/docker/daemon_entrypoint.sh
+++ b/docker/daemon_entrypoint.sh
@@ -56,10 +56,4 @@ if ! whoami ; then
cat /etc/passwd
fi
-"$@"
-EXIT_CODE=$?
-
-# Print out any INFO logs to help with debugging container startup failures.
-# TODO: remove once we have proper logging
-cat /tmp/*.INFO
-exit $EXIT_CODE
+exec "$@"