You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by rmetzger <gi...@git.apache.org> on 2015/05/21 18:15:31 UTC
[GitHub] flink pull request: [YARN] Cut off 25% of the heap as a safety mar...
GitHub user rmetzger opened a pull request:
https://github.com/apache/flink/pull/709
[YARN] Cut off 25% of the heap as a safety margin
Users were reporting issues with Flink on YARN because the NodeManager was killing containers due to resource overuse.
When a user requests for example a 4GB TaskManager, we can not just set the -Xmx value to 4G, because then the linux process (thats what YARN is monitoring) is growing bigger than 4GB. Also, YARN is very very strict with that limit.
So what we do is we remove a certain amount of the user specified memory. In the past, we were using 15%, but that was apparently not enough.
I've played around a lot and it seems that 25% is a good value.
This pull request also fixes potential null pointer exceptions in the web frontend and adds thread and classloader logging to the taskamangers.
Please discuss whether you want this.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/rmetzger/flink rm_master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/709.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 #709
----
commit 506bef7405975852ec4121d64c426dd63dca5bb5
Author: Robert Metzger <rm...@apache.org>
Date: 2015-05-19T17:38:02Z
[jobmanager] Fix potential null pointer exception in jobmanager webfrontend
commit 40cb1f94870618f915c27e02badd4864668bed66
Author: Robert Metzger <rm...@apache.org>
Date: 2015-05-21T11:49:02Z
[yarn] Increase default heap cutoff to 25%
----
---
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.
---
[GitHub] flink pull request: [YARN] Cut off 25% of the heap as a safety mar...
Posted by rmetzger <gi...@git.apache.org>.
Github user rmetzger closed the pull request at:
https://github.com/apache/flink/pull/709
---
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.
---
[GitHub] flink pull request: [YARN] Cut off 25% of the heap as a safety mar...
Posted by rmetzger <gi...@git.apache.org>.
Github user rmetzger commented on the pull request:
https://github.com/apache/flink/pull/709#issuecomment-104595183
I'm closing the PR again because I've found that there are more cases to consider ;)
---
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.
---