You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by jo...@apache.org on 2016/03/10 20:37:15 UTC

[1/3] mesos git commit: Added empty line for list in maintenance doc.

Repository: mesos
Updated Branches:
  refs/heads/master 2a436e02f -> 6fa91fe1f


Added empty line for list in maintenance doc.

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


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

Branch: refs/heads/master
Commit: 6fa91fe1fd878bbecc013f6f0d3f47bde7ee86ad
Parents: 62386a1
Author: Klaus Ma <kl...@gmail.com>
Authored: Thu Mar 10 14:04:22 2016 -0500
Committer: Joris Van Remoortere <jo...@gmail.com>
Committed: Thu Mar 10 14:36:59 2016 -0500

----------------------------------------------------------------------
 docs/maintenance.md | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/6fa91fe1/docs/maintenance.md
----------------------------------------------------------------------
diff --git a/docs/maintenance.md b/docs/maintenance.md
index 365c920..b86ccf6 100644
--- a/docs/maintenance.md
+++ b/docs/maintenance.md
@@ -135,6 +135,7 @@ machine's configuration, the operator should use the `--hostname` and `--ip`
 options when starting agents.
 
 The master checks that a maintenance schedule has the following properties:
+
 * Each maintenance window in the schedule must have at least one machine
   and a specified unavailability interval.
 * Each machine must only appear in the schedule once.


[3/3] mesos git commit: Removed `FLAGS_v` assignment in test case.

Posted by jo...@apache.org.
Removed `FLAGS_v` assignment in test case.

Per discussion with James Peach, this doesn't serve a
useful purpose.

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


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

Branch: refs/heads/master
Commit: 14f5ab735e5a058777403714ede9aefe8e34c9e9
Parents: 2a436e0
Author: Neil Conway <ne...@gmail.com>
Authored: Thu Mar 10 14:02:41 2016 -0500
Committer: Joris Van Remoortere <jo...@gmail.com>
Committed: Thu Mar 10 14:36:59 2016 -0500

----------------------------------------------------------------------
 src/tests/hierarchical_allocator_tests.cpp | 3 ---
 1 file changed, 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/14f5ab73/src/tests/hierarchical_allocator_tests.cpp
----------------------------------------------------------------------
diff --git a/src/tests/hierarchical_allocator_tests.cpp b/src/tests/hierarchical_allocator_tests.cpp
index 9c2e519..459e025 100644
--- a/src/tests/hierarchical_allocator_tests.cpp
+++ b/src/tests/hierarchical_allocator_tests.cpp
@@ -2722,9 +2722,6 @@ TEST_F(HierarchicalAllocator_BENCHMARK_Test, DeclineOffers)
   unsigned slaveCount = 2000;
   master::Flags flags;
 
-  FLAGS_v = 5;
-  __sync_synchronize(); // Ensure 'FLAGS_v' visible in other threads.
-
   // Choose an interval longer than the time we expect a single cycle to take so
   // that we don't back up the process queue.
   flags.allocation_interval = Hours(1);


[2/3] mesos git commit: Fixed a typo in a log message in an example framework.

Posted by jo...@apache.org.
Fixed a typo in a log message in an example framework.

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


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

Branch: refs/heads/master
Commit: 62386a1cf4e9ed3ec9a6e2d5c97d33814da1a274
Parents: 14f5ab7
Author: Neil Conway <ne...@gmail.com>
Authored: Thu Mar 10 14:03:07 2016 -0500
Committer: Joris Van Remoortere <jo...@gmail.com>
Committed: Thu Mar 10 14:36:59 2016 -0500

----------------------------------------------------------------------
 src/examples/long_lived_framework.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/62386a1c/src/examples/long_lived_framework.cpp
----------------------------------------------------------------------
diff --git a/src/examples/long_lived_framework.cpp b/src/examples/long_lived_framework.cpp
index c4c3aa6..0000289 100644
--- a/src/examples/long_lived_framework.cpp
+++ b/src/examples/long_lived_framework.cpp
@@ -127,7 +127,8 @@ public:
   virtual void statusUpdate(SchedulerDriver* driver, const TaskStatus& status)
   {
     int taskId = lexical_cast<int>(status.task_id().value());
-    cout << "Task " << taskId << " is in state " << status.state() << endl;
+    cout << "Task " << taskId << " is in state "
+         << TaskState_Name(status.state()) << endl;
   }
 
   virtual void frameworkMessage(SchedulerDriver* driver,