[
https://issues.apache.org/jira/browse/FLINK-3544?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15190793#comment-15190793
]
ASF GitHub Bot commented on FLINK-3544:
---------------------------------------
Github user rmetzger commented on a diff in the pull request:
https://github.com/apache/flink/pull/1741#discussion_r55815961
--- Diff:
flink-core/src/main/java/org/apache/flink/configuration/ConfigConstants.java ---
@@ -240,6 +246,37 @@
*/
public static final String FS_STREAM_OPENING_TIMEOUT_KEY =
"taskmanager.runtime.fs_timeout";
+
+ // -------- Common Resource Framework Configuration (YARN & Mesos)
--------
+
+ /**
+ * Percentage of heap space to remove from containers (YARN / Mesos),
to compensate
+ * for other JVM memory usage.
+ */
+ public static final String CONTAINERED_HEAP_CUTOFF_RATIO =
"containered.heap-cutoff-ratio";
+
+ /**
+ * Minimum amount of heap memory to remove in containers, as a safety
margin.
+ */
+ public static final String CONTAINERED_HEAP_CUTOFF_MIN =
"containered.heap-cutoff-min";
+
+ /**
+ * Prefix for passing custom environment variables to Flink's master
process.
+ * For example for passing LD_LIBRARY_PATH as an env variable to the
AppMaster, set:
+ * yarn.application-master.env.LD_LIBRARY_PATH: "/usr/lib/native"
+ * in the flink-conf.yaml.
+ */
+ public static final String CONTAINERED_MASTER_ENV_PREFIX =
"containered.application-master.env.";
+
+ /**
+ * Similar to the {@see CONTAINERED_MASTER_ENV_PREFIX}, this
configuration prefix allows
+ * setting custom environment variables for the workers (TaskManagers)
+ */
+ public static final String CONTAINERED_TASK_MANAGER_ENV_PREFIX =
"containered.taskmanager.env.";
--- End diff --
I wonder if we should prefix these config params with a
`jobmanager.resource-framework` prefix?
> ResourceManager runtime components
> ----------------------------------
>
> Key: FLINK-3544
> URL: https://issues.apache.org/jira/browse/FLINK-3544
> Project: Flink
> Issue Type: Sub-task
> Components: ResourceManager
> Affects Versions: 1.1.0
> Reporter: Maximilian Michels
> Assignee: Maximilian Michels
> Fix For: 1.1.0
>
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)