impala-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tarmstr...@apache.org
Subject incubator-impala git commit: Add kill cluster marker to KMS
Date Mon, 13 Jun 2016 22:32:20 GMT
Repository: incubator-impala
Updated Branches:
  refs/heads/master f77284099 -> bee537550


Add kill cluster marker to KMS

If PID files of each process in the mini cluster get deleted for some
reason, it should still possible to kill them because each process is
marked with "-DIBelongToTheMiniCluster". It turns out that the KMS
process was not being marked. This patch fixes this.

Change-Id: I0398dec94be3ae91548d11a79c1d5eec0ad3dadb
Reviewed-on: http://gerrit.cloudera.org:8080/3354
Reviewed-by: Taras Bobrovytsky <tbobrovytsky@cloudera.com>
Tested-by: Taras Bobrovytsky <tbobrovytsky@cloudera.com>


Project: http://git-wip-us.apache.org/repos/asf/incubator-impala/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-impala/commit/bee53755
Tree: http://git-wip-us.apache.org/repos/asf/incubator-impala/tree/bee53755
Diff: http://git-wip-us.apache.org/repos/asf/incubator-impala/diff/bee53755

Branch: refs/heads/master
Commit: bee5375502882a2bf28e7378f705cb247e9b241e
Parents: f772840
Author: Taras Bobrovytsky <tbobrovytsky@cloudera.com>
Authored: Thu Jun 9 13:46:22 2016 -0700
Committer: Tim Armstrong <tarmstrong@cloudera.com>
Committed: Mon Jun 13 15:32:17 2016 -0700

----------------------------------------------------------------------
 testdata/cluster/node_templates/common/etc/init.d/common.tmpl | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-impala/blob/bee53755/testdata/cluster/node_templates/common/etc/init.d/common.tmpl
----------------------------------------------------------------------
diff --git a/testdata/cluster/node_templates/common/etc/init.d/common.tmpl b/testdata/cluster/node_templates/common/etc/init.d/common.tmpl
index cc67c47..9b3e853 100644
--- a/testdata/cluster/node_templates/common/etc/init.d/common.tmpl
+++ b/testdata/cluster/node_templates/common/etc/init.d/common.tmpl
@@ -9,6 +9,8 @@ export YARN_CONF_DIR="$HADOOP_CONF_DIR"
 # stopping the processes if the pid file has been removed for whatever reason.
 export HADOOP_OPTS+=" -D${KILL_CLUSTER_MARKER}"
 export YARN_OPTS+=" -D${KILL_CLUSTER_MARKER}"
+# This is for KMS.
+export CATALINA_OPTS+=" -D${KILL_CLUSTER_MARKER}"
 
 : ${SERVICE_NAME=$(basename "$0")}
 PID_FILE="$PID_DIR/$SERVICE_NAME"


Mime
View raw message