You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ch...@apache.org on 2019/06/25 08:15:48 UTC

[flink] branch master updated: [hotfix][config][docs] Fiy typo for `taskmanager.memory.preallocate`

This is an automated email from the ASF dual-hosted git repository.

chesnay pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/master by this push:
     new 91c105b  [hotfix][config][docs] Fiy typo for `taskmanager.memory.preallocate`
91c105b is described below

commit 91c105b5a243e242f5791ad06f7d88dd28f21461
Author: hehuiyuan <47...@qq.com>
AuthorDate: Tue Jun 25 16:15:32 2019 +0800

    [hotfix][config][docs] Fiy typo for `taskmanager.memory.preallocate`
---
 docs/_includes/generated/task_manager_memory_configuration.html         | 2 +-
 .../main/java/org/apache/flink/configuration/TaskManagerOptions.java    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/_includes/generated/task_manager_memory_configuration.html b/docs/_includes/generated/task_manager_memory_configuration.html
index 306a1fd..c8433ed 100644
--- a/docs/_includes/generated/task_manager_memory_configuration.html
+++ b/docs/_includes/generated/task_manager_memory_configuration.html
@@ -20,7 +20,7 @@
         <tr>
             <td><h5>taskmanager.memory.preallocate</h5></td>
             <td style="word-wrap: break-word;">false</td>
-            <td>Whether TaskManager managed memory should be pre-allocated when the TaskManager is starting. When <span markdown="span">`taskmanager.memory.off-heap`</span> is set to true, then it is advised that this configuration is also set to true. If this configuration is set to false cleaning up of the allocated off-heap memory happens only when the configured JVM parameter MaxDirectMemorySize is reached by triggering a full GC. For streaming setups is is highly recommended to set  [...]
+            <td>Whether TaskManager managed memory should be pre-allocated when the TaskManager is starting. When <span markdown="span">`taskmanager.memory.off-heap`</span> is set to true, then it is advised that this configuration is also set to true. If this configuration is set to false cleaning up of the allocated off-heap memory happens only when the configured JVM parameter MaxDirectMemorySize is reached by triggering a full GC. For streaming setups, it is highly recommended to set [...]
         </tr>
         <tr>
             <td><h5>taskmanager.memory.segment-size</h5></td>
diff --git a/flink-core/src/main/java/org/apache/flink/configuration/TaskManagerOptions.java b/flink-core/src/main/java/org/apache/flink/configuration/TaskManagerOptions.java
index 351b9f4..2aba476 100644
--- a/flink-core/src/main/java/org/apache/flink/configuration/TaskManagerOptions.java
+++ b/flink-core/src/main/java/org/apache/flink/configuration/TaskManagerOptions.java
@@ -242,7 +242,7 @@ public class TaskManagerOptions {
 					" When %s is set to true, then it is advised that this configuration is also" +
 					" set to true. If this configuration is set to false cleaning up of the allocated off-heap memory" +
 					" happens only when the configured JVM parameter MaxDirectMemorySize is reached by triggering a full" +
-					" GC. For streaming setups is is highly recommended to set this value to false as the core state" +
+					" GC. For streaming setups, it is highly recommended to set this value to false as the core state" +
 					" backends currently do not use the managed memory.", code(MEMORY_OFF_HEAP.key())).build());
 
 	/**