mirror of
https://github.com/apache/impala.git
synced 2026-01-07 18:02:33 -05:00
This is for compatibility with docker containers. Before this patch, when the scripts were run on the docker host, the scripts would try to kill the mini-cluster in the docker containers and fail because they didn't have permissions (the user is different). Now the scripts will only try to kill mini-cluster processes that were started by the current user. Also some psutil availability checks were removed because psutil is now provided by the python virtualenv. Change-Id: Ida371797bbaffd0a3bd84ab353cb9f466ca510fd Reviewed-on: http://gerrit.cloudera.org:8080/1541 Reviewed-by: Casey Ching <casey@cloudera.com> Tested-by: Internal Jenkins
16 lines
501 B
Bash
Executable File
16 lines
501 B
Bash
Executable File
#!/bin/sh
|
|
# Copyright (c) 2012 Cloudera, Inc. All rights reserved.
|
|
|
|
# kill HBase, then MiniLlama (which includes a MiniDfs, a Yarn RM several NMs)
|
|
$IMPALA_HOME/testdata/bin/kill-sentry-service.sh
|
|
$IMPALA_HOME/testdata/bin/kill-hive-server.sh
|
|
$IMPALA_HOME/testdata/bin/kill-hbase.sh
|
|
$IMPALA_HOME/testdata/bin/kill-mini-dfs.sh
|
|
|
|
|
|
# kill all impalad and statestored processes
|
|
killall -9 -u $USER impalad
|
|
killall -9 -u $USER statestored
|
|
killall -9 -u $USER catalogd
|
|
killall -9 -u $USER mini-impala-cluster
|