flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zentol <...@git.apache.org>
Subject [GitHub] flink pull request #4075: [FLINK-6494] Migrate ResourceManager/Yarn/Mesos co...
Date Wed, 28 Jun 2017 10:25:14 GMT
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


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message