GitHub user tillrohrmann opened a pull request:
https://github.com/apache/flink/pull/5625
[FLINK-8826] [flip6] Start Yarn TaskExecutor with proper slots and memory
## What is the purpose of the change
Read the default TaskManager memory and number of slots from the
configuration
when the YarnResourceManager is started.
## Verifying this change
- Added `YarnConfigurationITCase`
## Does this pull request potentially affect one of the following parts:
- Dependencies (does it add or upgrade a dependency): (no)
- The public API, i.e., is any changed class annotated with
`@Public(Evolving)`: (no)
- The serializers: (no)
- The runtime per-record code paths (performance sensitive): (no)
- Anything that affects deployment or recovery: JobManager (and its
components), Checkpointing, Yarn/Mesos, ZooKeeper: (yes)
- The S3 file system connector: (no)
## Documentation
- Does this pull request introduce a new feature? (no)
- If yes, how is the feature documented? (not applicable)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/tillrohrmann/flink fixCheckpointCoordinator
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/5625.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #5625
commit ef080927aba095a72929cd8be390b46afa4dcab8
Author: Till Rohrmann
Date: 2018-03-02T14:27:13Z
[FLINK-8840] [yarn] Pull YarnClient and YarnConfiguration instantiation out
of AbstractYarnClusterClient
For better testability, this commit moves the YarnClient and
YarnConfiguration out of
the AbstractYarnClusterDescriptor.
commit 173e272c1a0250ecdc4a4f975a2f7991b9dd53c1
Author: Till Rohrmann
Date: 2018-03-01T19:09:55Z
[hotfix] [flip6] Harden JobMaster#triggerSavepoint
Check first whether the CheckpointCoordinator has been set before triggering
a savepoint. If it has not been set, then return a failure message.
commit 2d2a6d5a84a586bf8ef59656aa7754e94b6e034b
Author: Till Rohrmann
Date: 2018-03-01T22:35:25Z
[FLINK-8826] [flip6] Start Yarn TaskExecutor with proper slots and memory
Read the default TaskManager memory and number of slots from the
configuration
when the YarnResourceManager is started.
commit d8f3cfa0c89f465ad995ebab7470f37b37b18678
Author: Till Rohrmann
Date: 2018-03-02T11:18:05Z
[hotfix] Set default number of TaskManagers in FlinkYarnSessionCli for Flip6
commit 0475dc343f0fa703bcf82a585482bdd15ae168ea
Author: Till Rohrmann
Date: 2018-03-02T11:42:43Z
[hotfix] Print correct web monitor URL in FlinkYarnSessionCli
---