GitHub user shuai-xu opened a pull request:
https://github.com/apache/flink/pull/3398
[FLINK-5856] return redundant containers to yarn for yarn mode
This pr is for
jira-#[5856](https://issues.apache.org/jira/browse/FLINK-5856)
The yarn AMRMClient used for requesting containers from yarn in flink has
its own defects:
It need to remove container requests after container returned, or else the
requests will be sent again.
Even so, it doesn't guarantee that the number of containers return is
exactly equal to the number requested.
So need to release the redundant containers returned for yarn mode as we
ask for containers according to the need of a job.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/shuai-xu/flink jira-5856
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/3398.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 #3398
----
commit 28d0c1b843520ffda3124cdb96dfd7826ae64db5
Author: shuai.xus <[email protected]>
Date: 2017-02-23T08:12:24Z
[FLINK-5856] return redundant containers to yarn for yarn mode
----
---
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 [email protected] or file a JIRA ticket
with INFRA.
---