GitHub user MartinWeindel opened a pull request:
https://github.com/apache/spark/pull/5597
Avoid warning message about invalid refuse_seconds value in Mesos >=0.21...
Starting with version 0.21.0, Apache Mesos is very noisy if the filter
parameter refuse_seconds is set to an invalid value like `-1`.
I have seen systems with millions of log lines like
```
W0420 18:00:48.773059 32352 hierarchical_allocator_process.hpp:589] Using
the default value of 'refuse_seconds' to create the refused resources filter
because the input value is negative
```
in the Mesos master INFO and WARNING log files.
Therefore the CoarseMesosSchedulerBackend should set the default value for
refuse seconds (i.e. 5 seconds) directly.
This is no problem for the fine-grained MesosSchedulerBackend, as it uses
the value 1 second for this parameter.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/MartinWeindel/spark master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/5597.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 #5597
----
commit 2f99ffd44fb961bead61cc9d7d045a768312db94
Author: mweindel <[email protected]>
Date: 2015-04-20T12:48:41Z
Avoid warning message about invalid refuse_seconds value in Mesos >=0.21.
----
---
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.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]