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

[2/8] impala git commit: [DOCS] Removed the references to YARN as Impala does not support YARN

[DOCS] Removed the references to YARN as Impala does not support YARN

Change-Id: Ifcea49b5859a2afbbbe99197e7818c30c7ba6d67
Reviewed-on: http://gerrit.cloudera.org:8080/10346
Reviewed-by: Tim Armstrong <ta...@cloudera.com>
Tested-by: Impala Public Jenkins <im...@cloudera.com>


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

Branch: refs/heads/2.x
Commit: 0897fe9fe57a8e3541b25a8475c2d9fe1fda3489
Parents: 382ea49
Author: Alex Rodoni <ar...@cloudera.com>
Authored: Tue May 8 11:49:49 2018 -0700
Committer: Impala Public Jenkins <im...@gerrit.cloudera.org>
Committed: Tue May 8 22:02:21 2018 +0000

----------------------------------------------------------------------
 docs/topics/impala_mem_limit.xml | 21 +++------------------
 1 file changed, 3 insertions(+), 18 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/impala/blob/0897fe9f/docs/topics/impala_mem_limit.xml
----------------------------------------------------------------------
diff --git a/docs/topics/impala_mem_limit.xml b/docs/topics/impala_mem_limit.xml
index 2abfaf7..5e0ca65 100644
--- a/docs/topics/impala_mem_limit.xml
+++ b/docs/topics/impala_mem_limit.xml
@@ -37,9 +37,9 @@ under the License.
   <conbody>
 
     <p>
-      <indexterm audience="hidden">MEM_LIMIT query option</indexterm>
-      When resource management is not enabled, defines the maximum amount of memory a query can allocate on each node.
-      Therefore, the total memory that can be used by a query is the <codeph>MEM_LIMIT</codeph> times the number of nodes.
+      The MEM_LIMIT query option defines the maximum amount of memory a query
+      can allocate on each node. The total memory that can be used by a query is
+      the <codeph>MEM_LIMIT</codeph> times the number of nodes.
     </p>
 
     <p rev="">
@@ -61,21 +61,6 @@ under the License.
     </p>
 
     <p>
-      When resource management is enabled, the mechanism for this option changes. If set, it overrides the
-      automatic memory estimate from Impala. Impala requests this amount of memory from YARN on each node, and the
-      query does not proceed until that much memory is available. The actual memory used by the query could be
-      lower, since some queries use much less memory than others. With resource management, the
-      <codeph>MEM_LIMIT</codeph> setting acts both as a hard limit on the amount of memory a query can use on any
-      node (enforced by YARN) and a guarantee that that much memory will be available on each node while the query
-      is being executed. When resource management is enabled but no <codeph>MEM_LIMIT</codeph> setting is
-      specified, Impala estimates the amount of memory needed on each node for each query, requests that much
-      memory from YARN before starting the query, and then internally sets the <codeph>MEM_LIMIT</codeph> on each
-      node to the requested amount of memory during the query. Thus, if the query takes more memory than was
-      originally estimated, Impala detects that the <codeph>MEM_LIMIT</codeph> is exceeded and cancels the query
-      itself.
-    </p>
-
-    <p>
       <b>Type:</b> numeric
     </p>