Repository: ambari Updated Branches: refs/heads/branch-2.5 b56446af6 -> 439da8bd0 refs/heads/trunk 81f3d20c1 -> 04562def2
AMBARI-21566. RU: Hive service check was failed during RU (aonishuk) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/04562def Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/04562def Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/04562def Branch: refs/heads/trunk Commit: 04562def2aff000c412f5c179ec0e45591aab297 Parents: 81f3d20 Author: Andrew Onishuk <[email protected]> Authored: Mon Jul 24 20:58:38 2017 +0300 Committer: Andrew Onishuk <[email protected]> Committed: Mon Jul 24 20:58:38 2017 +0300 ---------------------------------------------------------------------- .../src/main/python/resource_management/core/files/killtree.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/04562def/ambari-common/src/main/python/resource_management/core/files/killtree.sh ---------------------------------------------------------------------- diff --git a/ambari-common/src/main/python/resource_management/core/files/killtree.sh b/ambari-common/src/main/python/resource_management/core/files/killtree.sh index c19efd9..c7809f9 100644 --- a/ambari-common/src/main/python/resource_management/core/files/killtree.sh +++ b/ambari-common/src/main/python/resource_management/core/files/killtree.sh @@ -25,7 +25,7 @@ set -e killtree() { local _pid=$1 local _sig=${2:--TERM} - ambari-sudo.sh kill -stop ${_pid} # needed to stop quickly forking parent from producing children between child killing and parent killing + ambari-sudo.sh kill -s stop ${_pid} # needed to stop quickly forking parent from producing children between child killing and parent killing for _child in $(ps -o pid --no-headers --ppid ${_pid}); do killtree ${_child} ${_sig} done
