You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by al...@apache.org on 2017/06/22 13:06:32 UTC
[1/2] mesos git commit: Printed the reason why offer is declined in
disk full framework.
Repository: mesos
Updated Branches:
refs/heads/master 95ae610ac -> 19a6134d0
Printed the reason why offer is declined in disk full framework.
Review: https://reviews.apache.org/r/60122/
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/257acc8f
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/257acc8f
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/257acc8f
Branch: refs/heads/master
Commit: 257acc8f071e01143049e5ffa08bc33f12e96ac9
Parents: 95ae610
Author: Alexander Rukletsov <ru...@gmail.com>
Authored: Thu Jun 22 15:04:26 2017 +0200
Committer: Alexander Rukletsov <al...@apache.org>
Committed: Thu Jun 22 15:04:26 2017 +0200
----------------------------------------------------------------------
src/examples/disk_full_framework.cpp | 4 ++++
1 file changed, 4 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/257acc8f/src/examples/disk_full_framework.cpp
----------------------------------------------------------------------
diff --git a/src/examples/disk_full_framework.cpp b/src/examples/disk_full_framework.cpp
index 9d189fa..215b6d2 100644
--- a/src/examples/disk_full_framework.cpp
+++ b/src/examples/disk_full_framework.cpp
@@ -157,6 +157,10 @@ public:
Filters filters;
filters.set_refuse_seconds(600);
+ LOG(INFO) << "Declining offer " << offer.id() << ": "
+ << (taskActive ? "a task is already running"
+ : "offer does not fit");
+
driver->declineOffer(offer.id(), filters);
continue;
}
[2/2] mesos git commit: Minor clean up of the balloon framework.
Posted by al...@apache.org.
Minor clean up of the balloon framework.
Review: https://reviews.apache.org/r/60123/
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/19a6134d
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/19a6134d
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/19a6134d
Branch: refs/heads/master
Commit: 19a6134d03141dc2cb073a904378c2c129b5138d
Parents: 257acc8
Author: Alexander Rukletsov <ru...@gmail.com>
Authored: Thu Jun 22 15:04:36 2017 +0200
Committer: Alexander Rukletsov <al...@apache.org>
Committed: Thu Jun 22 15:04:36 2017 +0200
----------------------------------------------------------------------
src/examples/balloon_framework.cpp | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/19a6134d/src/examples/balloon_framework.cpp
----------------------------------------------------------------------
diff --git a/src/examples/balloon_framework.cpp b/src/examples/balloon_framework.cpp
index c4d071a..b8c8e38 100644
--- a/src/examples/balloon_framework.cpp
+++ b/src/examples/balloon_framework.cpp
@@ -189,7 +189,7 @@ public:
int taskId = tasksLaunched++;
- LOG(INFO) << "Starting task " << taskId;
+ LOG(INFO) << "Launching task " << taskId;
TaskInfo task;
task.set_name("Balloon Task");
@@ -463,7 +463,6 @@ int main(int argc, char** argv)
ExecutorInfo executor;
executor.mutable_resources()->CopyFrom(resources);
executor.set_name("Balloon Executor");
- executor.set_source("balloon_test");
// Determine the command to run the executor based on three possibilities:
// 1) `--executor_command` was set, which overrides the below cases.