[
https://issues.apache.org/jira/browse/FLINK-6494?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16066290#comment-16066290
]
ASF GitHub Bot commented on FLINK-6494:
---------------------------------------
Github user zentol commented on a diff in the pull request:
https://github.com/apache/flink/pull/4075#discussion_r124504177
--- Diff:
flink-core/src/main/java/org/apache/flink/configuration/ResourceManagerOptions.java
---
@@ -33,6 +33,45 @@
.key("resourcemanager.job.timeout")
.defaultValue("5 minutes");
+ public static final ConfigOption<Integer> LOCAL_NUMBER_RESOURCE_MANAGER
= ConfigOptions
+ .key("local.number-resourcemanager")
+ .defaultValue(1);
+
+ public static final ConfigOption<Integer> RESOURCE_MANAGER_IPC_PORT =
ConfigOptions
+ .key("resourcemanager.rpc.port")
+ .defaultValue(0);
+
+ /**
+ * Percentage of heap space to remove from containers (YARN / Mesos),
to compensate
+ * for other JVM memory usage.
+ */
+ public static final ConfigOption<Float> CONTAINERIZED_HEAP_CUTOFF_RATIO
= ConfigOptions
+ .key("containerized.heap-cutoff-ratio")
+ .defaultValue(0.25f)
+ .withDeprecatedKeys(ConfigConstants.YARN_HEAP_CUTOFF_RATIO);
+
+ /**
+ * Minimum amount of heap memory to remove in containers, as a safety
margin.
+ */
+ public static final ConfigOption<Integer> CONTAINERIZED_HEAP_CUTOFF_MIN
= ConfigOptions
+ .key("containerized.heap-cutoff-min")
+ .defaultValue(600)
+ .withDeprecatedKeys(ConfigConstants.YARN_HEAP_CUTOFF_MIN);
--- End diff --
same as above
> Migrate ResourceManager configuration options
> ---------------------------------------------
>
> Key: FLINK-6494
> URL: https://issues.apache.org/jira/browse/FLINK-6494
> Project: Flink
> Issue Type: Sub-task
> Components: Distributed Coordination, ResourceManager
> Reporter: Chesnay Schepler
> Assignee: Fang Yong
>
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)