You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@impala.apache.org by bi...@apache.org on 2018/10/09 23:18:24 UTC

[8/8] impala git commit: IMPALA-7607: [DOCS] Add a reference to EXEC_TIME_LIMIT_S to TIMEOUT doc

IMPALA-7607: [DOCS] Add a reference to EXEC_TIME_LIMIT_S to TIMEOUT doc

Change-Id: Iaf7bfd7535ba0f8f51fd0994ad6e9e3f2637b2c1
Reviewed-on: http://gerrit.cloudera.org:8080/11621
Tested-by: Impala Public Jenkins <im...@cloudera.com>
Reviewed-by: Bikramjeet Vig <bi...@cloudera.com>


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

Branch: refs/heads/master
Commit: 6568e6e110e507f5228c1da11e56fd7117ab8a25
Parents: 7b13117
Author: Alex Rodoni <ar...@cloudera.com>
Authored: Mon Oct 8 17:09:11 2018 -0700
Committer: Alex Rodoni <ar...@cloudera.com>
Committed: Tue Oct 9 21:57:12 2018 +0000

----------------------------------------------------------------------
 docs/topics/impala_timeouts.xml | 56 ++++++++++++++++++++++--------------
 1 file changed, 34 insertions(+), 22 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/impala/blob/6568e6e1/docs/topics/impala_timeouts.xml
----------------------------------------------------------------------
diff --git a/docs/topics/impala_timeouts.xml b/docs/topics/impala_timeouts.xml
index 3389f5a..0ae394e 100644
--- a/docs/topics/impala_timeouts.xml
+++ b/docs/topics/impala_timeouts.xml
@@ -205,30 +205,42 @@ Trying to re-register with state-store</codeblock>
 
     <conbody>
 
-      <p>
-        Sometimes, an Impala query might run for an unexpectedly long time,
-        tying up resources in the cluster. You can cancel the query explicitly,
-        independent of the timeout period, by going into the web UI for the
-          <cmdname>impalad</cmdname> host (on port 25000 by default), and using
-        the link on the <codeph>/queries</codeph> tab to cancel the running
-        query.
-      </p>
-
-      <p>
-        Various client applications let you interactively cancel queries
-        submitted or monitored through those applications. For example:
-        <ul>
-          <li>
-            Press <systemoutput>^C</systemoutput> in
-            <cmdname>impala-shell</cmdname>.
-          </li>
-          <li>
-            Click <b>Cancel</b> from the <b>Watch</b>page in Hue.
-          </li>
-        </ul>
-      </p>
+      <p> Sometimes, an Impala query might run for an unexpectedly long time,
+        tying up resources in the cluster. This section describes the options to
+        terminate the runaway queries.</p>
 
     </conbody>
+    <concept id="cancel_query_with_query_option">
+      <title>Setting a Time Limit on Query Execution</title>
+      <conbody>
+        <p>An Impala administrator can set a default value of the
+            <codeph>EXEC_TIME_LIMIT_S</codeph> query option for a resource pool.
+          If a user accidentally runs a large query that executes for longer
+          than the limit, it will be automatically killed after the time limit
+          expires and frees up resources. </p>
+        <p>Users can override the default value per query or per session if they
+          do not want the default <codeph>EXEC_TIME_LIMIT_S</codeph> value to
+          apply to a specific query or a session. See <xref
+            href="impala_exec_time_limit_s.xml#exec_time_limit_s"/> for the
+          details of the query option.</p>
+      </conbody>
+    </concept>
+    <concept id="cancel_query_in_webUI">
+      <title>Interactively Cancelling a Query </title>
+      <conbody>
+        <p> You can cancel the query explicitly, independent of the timeout
+          period, by going into the web UI for the <cmdname>impalad</cmdname>
+          host (on port 25000 by default), and using the link on the
+            <codeph>/queries</codeph> tab to cancel the running query. </p>
+        <p> Various client applications let you interactively cancel queries
+          submitted or monitored through those applications. For example: <ul>
+            <li> Press <systemoutput>^C</systemoutput> in
+                <cmdname>impala-shell</cmdname>. </li>
+            <li> Click <b>Cancel</b> from the <b>Watch</b>page in Hue. </li>
+          </ul>
+        </p>
+      </conbody>
+    </concept>
 
   </concept>