[
https://issues.apache.org/jira/browse/FLINK-2591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14791824#comment-14791824
]
ASF GitHub Bot commented on FLINK-2591:
---------------------------------------
Github user rmetzger commented on a diff in the pull request:
https://github.com/apache/flink/pull/1121#discussion_r39725184
--- Diff: flink-dist/src/main/resources/flink-conf.yaml ---
@@ -130,6 +130,15 @@ state.backend: jobmanager
#==============================================================================
+# YARN
+#==============================================================================
+
+# Default number of YARN container to allocate (=Number of Task Managers)
+
+yarn.defaultNumberOfTaskManagers: 1
--- End diff --
Can you remove the configuration value from the default configuration again?
I would like to force new users to specify the number of yarn containers
when they start Flink on YARN.
The configuration value is meant for production users which want to control
everything using configuration values.
> Add configuration parameter for default number of yarn containers
> -----------------------------------------------------------------
>
> Key: FLINK-2591
> URL: https://issues.apache.org/jira/browse/FLINK-2591
> Project: Flink
> Issue Type: Improvement
> Components: YARN Client
> Reporter: Robert Metzger
> Assignee: Will Miao
> Priority: Minor
> Labels: starter
>
> A user complained about the requirement to always specify the number of yarn
> containers (-n) when starting a job.
> Adding a configuration value with a default value will allow users to set a
> default ;)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)