[
https://issues.apache.org/jira/browse/FLINK-4127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15354827#comment-15354827
]
ASF GitHub Bot commented on FLINK-4127:
---------------------------------------
Github user tillrohrmann commented on a diff in the pull request:
https://github.com/apache/flink/pull/2177#discussion_r68907947
--- Diff: docs/setup/config.md ---
@@ -230,8 +240,8 @@ definition. This scheme is used **ONLY** if no other
scheme is specified (explic
## YARN
-- `yarn.heap-cutoff-ratio`: (Default 0.25) Percentage of heap space to
remove from containers started by YARN. When a user requests a certain amount
of memory for each TaskManager container (for example 4 GB), we can not pass
this amount as the maximum heap space for the JVM (`-Xmx` argument) because the
JVM is also allocating memory outside the heap. YARN is very strict with
killing containers which are using more memory than requested. Therefore, we
remove a 15% of the memory from the requested heap as a safety margin.
-- `yarn.heap-cutoff-min`: (Default 384 MB) Minimum amount of memory to cut
off the requested heap size.
+- `container.heap-cutoff-ratio`: (Default 0.25) Percentage of heap space
to remove from containers started by YARN. When a user requests a certain
amount of memory for each TaskManager container (for example 4 GB), we can not
pass this amount as the maximum heap space for the JVM (`-Xmx` argument)
because the JVM is also allocating memory outside the heap. YARN is very strict
with killing containers which are using more memory than requested. Therefore,
we remove a 15% of the memory from the requested heap as a safety margin.
--- End diff --
Maybe insert *, for example,* after YARN because the parameter is not
specific to YARN, is it?
> Clean up configuration and check breaking API changes
> -----------------------------------------------------
>
> Key: FLINK-4127
> URL: https://issues.apache.org/jira/browse/FLINK-4127
> Project: Flink
> Issue Type: Improvement
> Components: Build System
> Reporter: Robert Metzger
> Assignee: Robert Metzger
> Fix For: 1.1.0
>
> Attachments: flink-core.html, flink-java.html, flink-scala.html,
> flink-streaming-java.html, flink-streaming-scala.html
>
>
> For the upcoming 1.1. release, I'll check if there are any breaking API
> changes and if the documentation is up tp date with the configuration.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)