You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@drill.apache.org by ts...@apache.org on 2015/05/04 17:48:00 UTC

[08/19] drill git commit: how to kill Drill process

how to kill Drill process


Project: http://git-wip-us.apache.org/repos/asf/drill/repo
Commit: http://git-wip-us.apache.org/repos/asf/drill/commit/3d8b93da
Tree: http://git-wip-us.apache.org/repos/asf/drill/tree/3d8b93da
Diff: http://git-wip-us.apache.org/repos/asf/drill/diff/3d8b93da

Branch: refs/heads/gh-pages
Commit: 3d8b93da9357567b03ea2450ffb98d3218670486
Parents: 339c6cc
Author: Kristine Hahn <kh...@maprtech.com>
Authored: Sun May 3 22:11:50 2015 -0700
Committer: Kristine Hahn <kh...@maprtech.com>
Committed: Sun May 3 22:11:50 2015 -0700

----------------------------------------------------------------------
 _docs/manage-drill/030-start-stop.md | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/drill/blob/3d8b93da/_docs/manage-drill/030-start-stop.md
----------------------------------------------------------------------
diff --git a/_docs/manage-drill/030-start-stop.md b/_docs/manage-drill/030-start-stop.md
index 74c337f..8e276c7 100644
--- a/_docs/manage-drill/030-start-stop.md
+++ b/_docs/manage-drill/030-start-stop.md
@@ -45,5 +45,18 @@ This command starts Drill on a distributed mode (multi-node) cluster configured
 
 To exit SQLLine, issue the following command:
 
-    !quit  
+    !quit
+
+## Stopping Drill
+
+In some cases, such as stopping while a query is in progress, the `!quit` command does not stop Drill. You need to kill the Drill process. For example, on Mac OS X and Linux, follow
+these steps:
+
+  1. Issue a CTRL Z to stop the query, then start Drill again. If the startup message indicates success, skip the rest of the steps. If not, proceed to step 2.
+  2. Search for the Drill process IDs.
+  
+        $ ps auwx | grep drill
+  3. Kill each process using the process numbers in the grep output. For example:
+
+        $ sudo kill -9 2674