Key Default Description
yarn.application-attempts
(none) Number of ApplicationMaster restarts. Note that that the entire Flink cluster will restart and the YARN Client will loose the connection. Also, the JobManager address will change and you’ll need to set the JM host:port manually. It is recommended to leave this option at 1.
yarn.application-master.port
"0" With this configuration option, users can specify a port, a range of ports or a list of ports for the Application Master (and JobManager) RPC port. By default we recommend using the default value (0) to let the operating system choose an appropriate port. In particular when multiple AMs are running on the same physical host, fixed port assignments prevent the AM from starting. For example when running Flink on YARN on an environment with a restrictive firewall, this option allows specifying a range of allowed ports.
yarn.appmaster.rpc.address
(none) The hostname or address where the application master RPC system is listening.
yarn.appmaster.rpc.port
-1 The port where the application master RPC system is listening.
yarn.containers.vcores
-1 The number of virtual cores (vcores) per YARN container. By default, the number of vcores is set to the number of slots per TaskManager, if set, or to 1, otherwise.
yarn.heartbeat-delay
5 Time between heartbeats with the ResourceManager in seconds.
yarn.maximum-failed-containers
(none) Maximum number of containers the system is going to reallocate in case of a failure.
yarn.per-job-cluster.include-user-jar
"ORDER" Defines whether user-jars are included in the system class path for per-job-clusters as well as their positioning in the path. They can be positioned at the beginning ("FIRST"), at the end ("LAST"), or be positioned based on their name ("ORDER"). Setting this parameter to "DISABLED" causes the jar to be included in the user class path instead.
yarn.properties-file.location
(none) When a Flink job is submitted to YARN, the JobManager’s host and the number of available processing slots is written into a properties file, so that the Flink client is able to pick those details up. This configuration parameter allows changing the default location of that file (for example for environments sharing a Flink installation between users).
yarn.tags
(none) A comma-separated list of tags to apply to the Flink YARN application.