You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@drill.apache.org by bo...@apache.org on 2018/03/10 15:40:44 UTC
[2/3] drill git commit: DRILL-6213: During restart drillbit should be
killed forcefully if exceeds allowed timeout
DRILL-6213: During restart drillbit should be killed forcefully if exceeds allowed timeout
closes #1155
Project: http://git-wip-us.apache.org/repos/asf/drill/repo
Commit: http://git-wip-us.apache.org/repos/asf/drill/commit/f47af650
Tree: http://git-wip-us.apache.org/repos/asf/drill/tree/f47af650
Diff: http://git-wip-us.apache.org/repos/asf/drill/diff/f47af650
Branch: refs/heads/master
Commit: f47af650bf4f2cc1c61aff26bac92dec0674d0d4
Parents: b75298d
Author: Arina Ielchiieva <ar...@gmail.com>
Authored: Wed Mar 7 12:35:30 2018 +0200
Committer: Ben-Zvi <bb...@mapr.com>
Committed: Fri Mar 9 18:49:29 2018 -0800
----------------------------------------------------------------------
distribution/src/resources/drillbit.sh | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/drill/blob/f47af650/distribution/src/resources/drillbit.sh
----------------------------------------------------------------------
diff --git a/distribution/src/resources/drillbit.sh b/distribution/src/resources/drillbit.sh
index 628571f..11a124e 100755
--- a/distribution/src/resources/drillbit.sh
+++ b/distribution/src/resources/drillbit.sh
@@ -220,7 +220,8 @@ case $startStopStatus in
(restart)
# stop the command
- stop_bit
+ kill_drillbit=true
+ stop_bit $kill_drillbit
# wait a user-specified sleep period
sp=${DRILL_RESTART_SLEEP:-3}
if [ $sp -gt 0 ]; then