You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by vi...@apache.org on 2015/09/02 00:36:15 UTC

mesos git commit: Silenced oversubscription logging.

Repository: mesos
Updated Branches:
  refs/heads/master 8f3955b54 -> dd1f09af9


Silenced oversubscription logging.

Resource estimates are continuously written to the logs even though they are
empty (as with the majority of Mesos clusters at the moment). To reduce the
noise, this patch moves log lines for empty resources to VLOG(1).

Review: https://reviews.apache.org/r/37908


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/dd1f09af
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/dd1f09af
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/dd1f09af

Branch: refs/heads/master
Commit: dd1f09af95625d68ff22f3be26f814f9c5618223
Parents: 8f3955b
Author: Niklas Nielsen <ni...@qni.dk>
Authored: Tue Sep 1 15:35:45 2015 -0700
Committer: Vinod Kone <vi...@gmail.com>
Committed: Tue Sep 1 15:35:45 2015 -0700

----------------------------------------------------------------------
 src/slave/slave.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/dd1f09af/src/slave/slave.cpp
----------------------------------------------------------------------
diff --git a/src/slave/slave.cpp b/src/slave/slave.cpp
index 8cfad7b..5e5522e 100644
--- a/src/slave/slave.cpp
+++ b/src/slave/slave.cpp
@@ -4223,7 +4223,7 @@ Future<Nothing> Slave::garbageCollect(const string& path)
 
 void Slave::forwardOversubscribed()
 {
-  LOG(INFO) << "Querying resource estimator for oversubscribable resources";
+  VLOG(1) << "Querying resource estimator for oversubscribable resources";
 
   resourceEstimator->oversubscribable()
     .onAny(defer(self(), &Self::_forwardOversubscribed, lambda::_1));
@@ -4237,8 +4237,8 @@ void Slave::_forwardOversubscribed(const Future<Resources>& oversubscribable)
                << (oversubscribable.isFailed()
                    ? oversubscribable.failure() : "future discarded");
   } else {
-    LOG(INFO) << "Received oversubscribable resources "
-              << oversubscribable.get() << " from the resource estimator";
+    VLOG(1) << "Received oversubscribable resources "
+            << oversubscribable.get() << " from the resource estimator";
 
     // Calculate the latest allocation of oversubscribed resources.
     // Note that this allocation value might be different from the