[2/2] mesos-site git commit: Updated the website built from mesos SHA: 628d660.

2017-08-11 Thread git-site-role
Updated the website built from mesos SHA: 628d660.


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

Branch: refs/heads/asf-site
Commit: 5a322e0e584252acbce9953124f16b37f0f2d7c1
Parents: 8c86476
Author: jenkins 
Authored: Sat Aug 12 00:29:14 2017 +
Committer: jenkins 
Committed: Sat Aug 12 00:29:14 2017 +

--
 content/sitemap.xml | 8378 +++---
 1 file changed, 4189 insertions(+), 4189 deletions(-)
--




[1/2] mesos-site git commit: Updated the website built from mesos SHA: 628d660.

2017-08-11 Thread git-site-role
Repository: mesos-site
Updated Branches:
  refs/heads/asf-site 8c86476e8 -> 5a322e0e5


http://git-wip-us.apache.org/repos/asf/mesos-site/blob/5a322e0e/content/sitemap.xml
--
diff --git a/content/sitemap.xml b/content/sitemap.xml
index d0dedd0..8a830f1 100644
--- a/content/sitemap.xml
+++ b/content/sitemap.xml
@@ -2,16758 +2,16758 @@
 http://www.sitemaps.org/schemas/sitemap/0.9";>
   
 http://mesos.apache.org/api/latest/java/overview-tree.html
-2017-08-11T00:00:00+00:00
+2017-08-12T00:00:00+00:00
   
   
 http://mesos.apache.org/api/latest/java/help-doc.html
-2017-08-11T00:00:00+00:00
+2017-08-12T00:00:00+00:00
   
   
 http://mesos.apache.org/api/latest/java/constant-values.html
-2017-08-11T00:00:00+00:00
+2017-08-12T00:00:00+00:00
   
   
 http://mesos.apache.org/api/latest/java/allclasses-frame.html
-2017-08-11T00:00:00+00:00
+2017-08-12T00:00:00+00:00
   
   
 http://mesos.apache.org/api/latest/java/deprecated-list.html
-2017-08-11T00:00:00+00:00
+2017-08-12T00:00:00+00:00
   
   
 http://mesos.apache.org/api/latest/java/allclasses-noframe.html
-2017-08-11T00:00:00+00:00
+2017-08-12T00:00:00+00:00
   
   
 
http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.TaskState.html
-2017-08-11T00:00:00+00:00
+2017-08-12T00:00:00+00:00
   
   
 
http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.RateLimit.Builder.html
-2017-08-11T00:00:00+00:00
+2017-08-12T00:00:00+00:00
   
   
 
http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.CheckInfo.Http.Builder.html
-2017-08-11T00:00:00+00:00
+2017-08-12T00:00:00+00:00
   
   
 
http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.SlaveInfo.CapabilityOrBuilder.html
-2017-08-11T00:00:00+00:00
+2017-08-12T00:00:00+00:00
   
   
 
http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.Volume.html
-2017-08-11T00:00:00+00:00
+2017-08-12T00:00:00+00:00
   
   
 
http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.LinuxInfo.html
-2017-08-11T00:00:00+00:00
+2017-08-12T00:00:00+00:00
   
   
 
http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.RLimitInfo.RLimit.Type.html
-2017-08-11T00:00:00+00:00
+2017-08-12T00:00:00+00:00
   
   
 
http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.ResourceProviderInfo.Builder.html
-2017-08-11T00:00:00+00:00
+2017-08-12T00:00:00+00:00
   
   
 
http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.ContainerInfoOrBuilder.html
-2017-08-11T00:00:00+00:00
+2017-08-12T00:00:00+00:00
   
   
 
http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.ParameterOrBuilder.html
-2017-08-11T00:00:00+00:00
+2017-08-12T00:00:00+00:00
   
   
 
http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.CgroupInfo.Blkio.Operation.html
-2017-08-11T00:00:00+00:00
+2017-08-12T00:00:00+00:00
   
   
 
http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.CgroupInfo.Blkio.Throttling.Statistics.html
-2017-08-11T00:00:00+00:00
+2017-08-12T00:00:00+00:00
   
   
 
http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.Flag.html
-2017-08-11T00:00:00+00:00
+2017-08-12T00:00:00+00:00
   
   
 
http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.TimeInfo.Builder.html
-2017-08-11T00:00:00+00:00
+2017-08-12T00:00:00+00:00
   
   
 
http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.RLimitInfo.RLimit.Builder.html
-2017-08-11T00:00:00+00:00
+2017-08-12T00:00:00+00:00
   
   
 
http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.CgroupInfo.Blkio.CFQ.StatisticsOrBuilder.html
-2017-08-11T00:00:00+00:00
+2017-08-12T00:00:00+00:00
   
   
 
http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.TTYInfoOrBuilder.html
-2017-08-11T00:00:00+00:00
+2017-08-12T00:00:00+00:00
   
   
 
http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.Ports.html
-2017-08-11T00:00:00+00:00
+2017-08-12T00:00:00+00:00
   
   
 
http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.CommandInfo.URI.html
-2017-08-11T00:00:00+00:00
+2017-08-12T00:00:00+00:00
   
   
 
http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.UdpStatistics.Builder.html
-2017-08-11T00:00:00+00:00
+2017-08-12T00:00:00+00:00
   
   
 
http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.FlagOrBuilder.html
-2017-08-11T00:00:00+00:00
+2017-08-12T00:00:00+00:00
   
   
 
http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.Unavailability.Builder.html
-2017-08-11T00:00:00+00:00
+2017-08-12T00:00:00+00:00
   
   
 
http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.Metric.html
-2017-08-11

[3/4] mesos git commit: Libprocess: Improved the readability of some assertions/expectations.

2017-08-11 Thread grag
Libprocess: Improved the readability of some assertions/expectations.

Prefer checking whether a container is empty instead of checking its
size.

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


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

Branch: refs/heads/master
Commit: 2e95dcb3d0791905b668b8785dc8b9c7a7e456d2
Parents: 6527890
Author: Gastón Kleiman 
Authored: Fri Aug 11 17:02:23 2017 -0700
Committer: Greg Mann 
Committed: Fri Aug 11 17:02:23 2017 -0700

--
 3rdparty/libprocess/src/tests/decoder_tests.cpp| 2 +-
 3rdparty/libprocess/src/tests/subprocess_tests.cpp | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/mesos/blob/2e95dcb3/3rdparty/libprocess/src/tests/decoder_tests.cpp
--
diff --git a/3rdparty/libprocess/src/tests/decoder_tests.cpp 
b/3rdparty/libprocess/src/tests/decoder_tests.cpp
index 5742c83..8f19aef 100644
--- a/3rdparty/libprocess/src/tests/decoder_tests.cpp
+++ b/3rdparty/libprocess/src/tests/decoder_tests.cpp
@@ -189,7 +189,7 @@ TEST(DecoderTest, ResponseWithUnspecifiedLength)
 
   deque responses = decoder.decode(data.data(), 
data.length());
   ASSERT_FALSE(decoder.failed());
-  ASSERT_EQ(0u, responses.size());
+  ASSERT_TRUE(responses.empty());
 
   responses = decoder.decode("", 0);
   ASSERT_FALSE(decoder.failed());

http://git-wip-us.apache.org/repos/asf/mesos/blob/2e95dcb3/3rdparty/libprocess/src/tests/subprocess_tests.cpp
--
diff --git a/3rdparty/libprocess/src/tests/subprocess_tests.cpp 
b/3rdparty/libprocess/src/tests/subprocess_tests.cpp
index d71fa4b..8211ae6 100644
--- a/3rdparty/libprocess/src/tests/subprocess_tests.cpp
+++ b/3rdparty/libprocess/src/tests/subprocess_tests.cpp
@@ -717,7 +717,7 @@ TEST_F(SubprocessTest, Flags)
   Flags flags2;
   Try load = flags2.load(None(), argc, argv);
   ASSERT_SOME(load);
-  EXPECT_EQ(0u, load->warnings.size());
+  EXPECT_TRUE(load->warnings.empty());
 
   EXPECT_EQ(flags.b, flags2.b);
   EXPECT_EQ(flags.i, flags2.i);



[4/4] mesos git commit: Stout: Improved the readability of some assertions/expectations.

2017-08-11 Thread grag
Stout: Improved the readability of some assertions/expectations.

Prefer checking whether a container is empty instead of checking its
size.

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


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

Branch: refs/heads/master
Commit: 628d6609b6eeb90767e5799d0177bfe4828d71aa
Parents: 2e95dcb
Author: Gastón Kleiman 
Authored: Fri Aug 11 17:02:24 2017 -0700
Committer: Greg Mann 
Committed: Fri Aug 11 17:02:24 2017 -0700

--
 3rdparty/stout/tests/flags_tests.cpp | 16 
 3rdparty/stout/tests/multimap_tests.cpp  |  8 
 3rdparty/stout/tests/os/filesystem_tests.cpp |  2 +-
 3rdparty/stout/tests/os/process_tests.cpp|  4 ++--
 3rdparty/stout/tests/os_tests.cpp|  2 +-
 3rdparty/stout/tests/proc_tests.cpp  |  2 +-
 3rdparty/stout/tests/strings_tests.cpp   | 10 +-
 7 files changed, 22 insertions(+), 22 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/mesos/blob/628d6609/3rdparty/stout/tests/flags_tests.cpp
--
diff --git a/3rdparty/stout/tests/flags_tests.cpp 
b/3rdparty/stout/tests/flags_tests.cpp
index d78ab55..88c8ee5 100644
--- a/3rdparty/stout/tests/flags_tests.cpp
+++ b/3rdparty/stout/tests/flags_tests.cpp
@@ -241,7 +241,7 @@ TEST_TEMP_DISABLED_ON_WINDOWS(FlagsTest, 
LoadFromEnvironment)
 
   Try load = flags.load("FLAGSTEST_");
   EXPECT_SOME(load);
-  EXPECT_EQ(0u, load->warnings.size());
+  EXPECT_TRUE(load->warnings.empty());
 
   EXPECT_EQ("billy joel", flags.name1);
   EXPECT_EQ(43, flags.name2);
@@ -274,7 +274,7 @@ TEST(FlagsTest, LoadFromCommandLine)
 
   Try load = flags.load("FLAGSTEST_", arraySize(argv), argv);
   EXPECT_SOME(load);
-  EXPECT_EQ(0u, load->warnings.size());
+  EXPECT_TRUE(load->warnings.empty());
 
   EXPECT_EQ("billy joel", flags.name1);
   EXPECT_EQ(43, flags.name2);
@@ -306,7 +306,7 @@ TEST(FlagsTest, LoadFromCommandLineWithNonFlags)
 
   Try load = flags.load("FLAGSTEST_", arraySize(argv), argv);
   EXPECT_SOME(load);
-  EXPECT_EQ(0u, load->warnings.size());
+  EXPECT_TRUE(load->warnings.empty());
 
   EXPECT_EQ("billy joel", flags.name1);
   EXPECT_EQ(43, flags.name2);
@@ -338,7 +338,7 @@ TEST(FlagsTest, LoadFromCommandLineWithDashDash)
 
   Try load = flags.load("FLAGSTEST_", arraySize(argv), argv);
   EXPECT_SOME(load);
-  EXPECT_EQ(0u, load->warnings.size());
+  EXPECT_TRUE(load->warnings.empty());
 
   EXPECT_EQ("billy joel", flags.name1);
   EXPECT_EQ(43, flags.name2);
@@ -373,7 +373,7 @@ TEST(FlagsTest, LoadFromCommandLineAndUpdateArgcArgv)
 
   Try load = flags.load("FLAGSTEST_", &argc, &_argv);
   EXPECT_SOME(load);
-  EXPECT_EQ(0u, load->warnings.size());
+  EXPECT_TRUE(load->warnings.empty());
 
   EXPECT_EQ("billy joel", flags.name1);
   EXPECT_EQ(43, flags.name2);
@@ -541,7 +541,7 @@ TEST_TEMP_DISABLED_ON_WINDOWS(FlagsTest, 
DuplicatesFromEnvironment)
   // `load(prefix, argc, argv)`.
   Try load = flags.load("FLAGSTEST_", arraySize(argv), argv);
   EXPECT_SOME(load);
-  EXPECT_EQ(0u, load->warnings.size());
+  EXPECT_TRUE(load->warnings.empty());
 
   // The environment variables are overwritten by command line flags.
   EXPECT_EQ(flags.name1, "billy joel");
@@ -555,7 +555,7 @@ TEST_TEMP_DISABLED_ON_WINDOWS(FlagsTest, 
DuplicatesFromEnvironment)
 // `load(map, unknowns, prefix)`.
 load = flags.load(values, false, "FLAGSTEST_");
 EXPECT_SOME(load);
-EXPECT_EQ(0u, load->warnings.size());
+EXPECT_TRUE(load->warnings.empty());
 
 EXPECT_EQ(flags.name1, "billy joel");
 EXPECT_EQ(flags.name2, 50);
@@ -571,7 +571,7 @@ TEST_TEMP_DISABLED_ON_WINDOWS(FlagsTest, 
DuplicatesFromEnvironment)
 load = flags.load(values, false, "FLAGSTEST_");
 
 EXPECT_SOME(load);
-EXPECT_EQ(0u, load->warnings.size());
+EXPECT_TRUE(load->warnings.empty());
 
 EXPECT_EQ(flags.name1, "billy joel");
 EXPECT_EQ(flags.name2, 51);

http://git-wip-us.apache.org/repos/asf/mesos/blob/628d6609/3rdparty/stout/tests/multimap_tests.cpp
--
diff --git a/3rdparty/stout/tests/multimap_tests.cpp 
b/3rdparty/stout/tests/multimap_tests.cpp
index 36860e4..f0c49f5 100644
--- a/3rdparty/stout/tests/multimap_tests.cpp
+++ b/3rdparty/stout/tests/multimap_tests.cpp
@@ -120,9 +120,9 @@ TYPED_TEST(MultimapTest, Remove)
 
   map.put("foo", 1024);
   map.remove("foo", 1024);
-  ASSERT_EQ(0u, map.get("foo").size());
+  ASSERT_TRUE(map.get("foo").empty());
 
-  ASSERT_EQ(0u, map.size());
+  ASSERT_TRUE(map.empty());
 
   map.put("foo", 1024);
   map.put("foo", 1025);
@@ -131,8 +131,8 @@ TYPED_TE

[2/4] mesos git commit: Improved the readability of some assertions/expectations.

2017-08-11 Thread grag
Improved the readability of some assertions/expectations.

Prefer checking whether a container is empty instead of checking its
size.

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


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

Branch: refs/heads/master
Commit: 652789093058930fbd2009f3e502b2dd13b89a4f
Parents: 92feb52
Author: Gastón Kleiman 
Authored: Fri Aug 11 17:01:57 2017 -0700
Committer: Greg Mann 
Committed: Fri Aug 11 17:01:57 2017 -0700

--
 src/tests/api_tests.cpp | 164 +--
 src/tests/check_tests.cpp   |  34 ++--
 src/tests/container_logger_tests.cpp|  10 +-
 src/tests/containerizer/appc_spec_tests.cpp |   4 +-
 .../containerizer/cgroups_isolator_tests.cpp|  26 +--
 src/tests/containerizer/cgroups_tests.cpp   |   2 +-
 src/tests/containerizer/cni_isolator_tests.cpp  |   2 +-
 src/tests/containerizer/cpu_isolator_tests.cpp  |   4 +-
 .../docker_containerizer_tests.cpp  |  58 +++
 .../docker_volume_isolator_tests.cpp|  12 +-
 .../environment_secret_isolator_tests.cpp   |   2 +-
 .../containerizer/io_switchboard_tests.cpp  |   4 +-
 .../linux_capabilities_isolator_tests.cpp   |   4 +-
 .../linux_filesystem_isolator_tests.cpp |  12 +-
 .../containerizer/memory_isolator_tests.cpp |   2 +-
 .../containerizer/memory_pressure_tests.cpp |   4 +-
 .../containerizer/mesos_containerizer_tests.cpp |   2 +-
 src/tests/containerizer/port_mapping_tests.cpp  |  16 +-
 .../posix_rlimits_isolator_tests.cpp|  10 +-
 src/tests/containerizer/routing_tests.cpp   |   2 +-
 .../containerizer/runtime_isolator_tests.cpp|   6 +-
 src/tests/containerizer/xfs_quota_tests.cpp |   2 +-
 src/tests/default_executor_tests.cpp|  20 +--
 src/tests/dynamic_weights_tests.cpp |   2 +-
 src/tests/exception_tests.cpp   |   2 +-
 src/tests/fault_tolerance_tests.cpp |  16 +-
 src/tests/fetcher_cache_tests.cpp   |   8 +-
 src/tests/group_tests.cpp   |   8 +-
 src/tests/health_check_tests.cpp|  42 ++---
 src/tests/hook_tests.cpp|  10 +-
 src/tests/http_fault_tolerance_tests.cpp|   8 +-
 src/tests/master_authorization_tests.cpp|  28 ++--
 src/tests/master_maintenance_tests.cpp  |  24 +--
 src/tests/master_quota_tests.cpp|   4 +-
 src/tests/master_slave_reconciliation_tests.cpp |  12 +-
 src/tests/master_tests.cpp  |  98 +--
 src/tests/master_validation_tests.cpp   |  34 ++--
 src/tests/oversubscription_tests.cpp|  32 ++--
 src/tests/partition_tests.cpp   |   2 +-
 src/tests/persistent_volume_tests.cpp   |   4 +-
 src/tests/reconciliation_tests.cpp  |   2 +-
 src/tests/registrar_tests.cpp   |  12 +-
 src/tests/registrar_zookeeper_tests.cpp |   2 +-
 src/tests/resource_offers_tests.cpp |  10 +-
 src/tests/scheduler_driver_tests.cpp|   2 +-
 src/tests/scheduler_tests.cpp   |  24 +--
 src/tests/slave_authorization_tests.cpp |   6 +-
 src/tests/slave_recovery_tests.cpp  |  76 -
 src/tests/slave_tests.cpp   |  80 -
 src/tests/state_tests.cpp   |  22 +--
 src/tests/status_update_manager_tests.cpp   |  14 +-
 src/tests/upgrade_tests.cpp |   2 +-
 52 files changed, 494 insertions(+), 494 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/mesos/blob/65278909/src/tests/api_tests.cpp
--
diff --git a/src/tests/api_tests.cpp b/src/tests/api_tests.cpp
index 75f7a58..3ab4740 100644
--- a/src/tests/api_tests.cpp
+++ b/src/tests/api_tests.cpp
@@ -369,7 +369,7 @@ TEST_P(MasterAPITest, GetExecutors)
   driver.start();
 
   AWAIT_READY(offers);
-  EXPECT_NE(0u, offers->size());
+  EXPECT_FALSE(offers->empty());
 
   TaskInfo task;
   task.set_name("test");
@@ -456,7 +456,7 @@ TEST_P(MasterAPITest, GetState)
 
   driver.start();
 
-  EXPECT_NE(0u, offers->size());
+  EXPECT_FALSE(offers->empty());
 
   ContentType contentType = GetParam();
 
@@ -473,8 +473,8 @@ TEST_P(MasterAPITest, GetState)
 const v1::master::Response::GetState& getState = v1Response->get_state();
 ASSERT_EQ(1u, getState.get_frameworks().frameworks_size());
 ASSERT_EQ(1u, getState.get_agents().agents_size());
-ASSERT_EQ(0u, getState.get_tasks().tasks_size());
-ASSERT_EQ(0u, getState.get_executors(

[1/4] mesos git commit: Improved the readability of some assertions/expectations.

2017-08-11 Thread grag
Repository: mesos
Updated Branches:
  refs/heads/master 92feb52d9 -> 628d6609b


http://git-wip-us.apache.org/repos/asf/mesos/blob/65278909/src/tests/master_authorization_tests.cpp
--
diff --git a/src/tests/master_authorization_tests.cpp 
b/src/tests/master_authorization_tests.cpp
index 8d54472..b41b4a1 100644
--- a/src/tests/master_authorization_tests.cpp
+++ b/src/tests/master_authorization_tests.cpp
@@ -135,7 +135,7 @@ TEST_F(MasterAuthorizationTest, AuthorizedTask)
   driver.start();
 
   AWAIT_READY(offers);
-  EXPECT_NE(0u, offers->size());
+  EXPECT_FALSE(offers->empty());
 
   // Create an authorized task.
   TaskInfo task;
@@ -207,7 +207,7 @@ TEST_F(MasterAuthorizationTest, UnauthorizedTask)
   driver.start();
 
   AWAIT_READY(offers);
-  EXPECT_NE(0u, offers->size());
+  EXPECT_FALSE(offers->empty());
 
   // Create an unauthorized task.
   TaskInfo task;
@@ -281,7 +281,7 @@ TEST_F(MasterAuthorizationTest, UnauthorizedTaskGroup)
   AWAIT_READY(frameworkId);
 
   AWAIT_READY(offers);
-  EXPECT_NE(0u, offers->size());
+  EXPECT_FALSE(offers->empty());
 
   Resources resources =
 Resources::parse("cpus:0.1;mem:32;disk:32").get();
@@ -382,7 +382,7 @@ TEST_F(MasterAuthorizationTest, KillTask)
   driver.start();
 
   AWAIT_READY(offers);
-  EXPECT_NE(0u, offers->size());
+  EXPECT_FALSE(offers->empty());
 
   TaskInfo task = createTask(offers.get()[0], "", DEFAULT_EXECUTOR_ID);
 
@@ -465,7 +465,7 @@ TEST_F(MasterAuthorizationTest, KillPendingTaskInTaskGroup)
   AWAIT_READY(frameworkId);
 
   AWAIT_READY(offers);
-  EXPECT_NE(0u, offers->size());
+  EXPECT_FALSE(offers->empty());
 
   Resources resources =
 Resources::parse("cpus:0.1;mem:32;disk:32").get();
@@ -595,7 +595,7 @@ TEST_F(MasterAuthorizationTest, SlaveRemovedLost)
   driver.start();
 
   AWAIT_READY(offers);
-  EXPECT_NE(0u, offers->size());
+  EXPECT_FALSE(offers->empty());
 
   TaskInfo task = createTask(offers.get()[0], "", DEFAULT_EXECUTOR_ID);
 
@@ -700,7 +700,7 @@ TEST_F(MasterAuthorizationTest, SlaveRemovedDropped)
   driver.start();
 
   AWAIT_READY(offers);
-  EXPECT_NE(0u, offers->size());
+  EXPECT_FALSE(offers->empty());
 
   TaskInfo task = createTask(offers.get()[0], "", DEFAULT_EXECUTOR_ID);
 
@@ -801,7 +801,7 @@ TEST_F(MasterAuthorizationTest, FrameworkRemoved)
   driver.start();
 
   AWAIT_READY(offers);
-  EXPECT_NE(0u, offers->size());
+  EXPECT_FALSE(offers->empty());
 
   TaskInfo task = createTask(offers.get()[0], "", DEFAULT_EXECUTOR_ID);
 
@@ -873,7 +873,7 @@ TEST_F(MasterAuthorizationTest, 
PendingExecutorInfoDiffersOnDifferentSlaves)
   ASSERT_SOME(slave1);
 
   AWAIT_READY(offers1);
-  EXPECT_NE(0u, offers1->size());
+  EXPECT_FALSE(offers1->empty());
 
   // Launch the first task with the default executor id.
   ExecutorInfo executor1;
@@ -915,7 +915,7 @@ TEST_F(MasterAuthorizationTest, 
PendingExecutorInfoDiffersOnDifferentSlaves)
   ASSERT_SOME(slave2);
 
   AWAIT_READY(offers2);
-  EXPECT_NE(0u, offers2->size());
+  EXPECT_FALSE(offers2->empty());
 
   // Now launch the second task with the same executor id but
   // a different executor command.
@@ -1534,7 +1534,7 @@ TYPED_TEST(MasterAuthorizerTest, FilterStateEndpoint)
   AWAIT_READY(registered);
 
   AWAIT_READY(offers);
-  EXPECT_NE(0u, offers->size());
+  EXPECT_FALSE(offers->empty());
 
   TaskInfo task;
   task.set_name("test");
@@ -1723,7 +1723,7 @@ TYPED_TEST(MasterAuthorizerTest, FilterFrameworksEndpoint)
   AWAIT_READY(registered);
 
   AWAIT_READY(offers);
-  EXPECT_NE(0u, offers->size());
+  EXPECT_FALSE(offers->empty());
 
   TaskInfo task;
   task.set_name("test");
@@ -1914,7 +1914,7 @@ TYPED_TEST(MasterAuthorizerTest, FilterTasksEndpoint)
   AWAIT_READY(registered);
 
   AWAIT_READY(offers);
-  EXPECT_NE(0u, offers->size());
+  EXPECT_FALSE(offers->empty());
 
   TaskInfo task;
   task.set_name("test");
@@ -2141,7 +2141,7 @@ TYPED_TEST(MasterAuthorizerTest, FilterRolesEndpoint)
 
 JSON::Object tasks = parse.get();
 ASSERT_TRUE(tasks.values["roles"].is());
-EXPECT_EQ(0u, tasks.values["roles"].as().values.size());
+EXPECT_TRUE(tasks.values["roles"].as().values.empty());
   }
 }
 

http://git-wip-us.apache.org/repos/asf/mesos/blob/65278909/src/tests/master_maintenance_tests.cpp
--
diff --git a/src/tests/master_maintenance_tests.cpp 
b/src/tests/master_maintenance_tests.cpp
index e7a80ff..7595e8b 100644
--- a/src/tests/master_maintenance_tests.cpp
+++ b/src/tests/master_maintenance_tests.cpp
@@ -516,7 +516,7 @@ TEST_F(MasterMaintenanceTest, PreV1SchedulerSupport)
 
   // Wait for some normal offers.
   AWAIT_READY(normalOffers);
-  EXPECT_NE(0u, normalOffers->size());
+  EXPECT_FALSE(normalOffers->empty());
 
   // Check that unavailability is not set.
   foreach (const Offer& offer, normalOffers.get()) {
@@ -551,7 +551,7 @@ TEST_F(MasterMaintenanceTest, PreV1SchedulerSupport)
 
   // Wait fo

[1/2] mesos-site git commit: Updated the website built from mesos SHA: 92feb52.

2017-08-11 Thread git-site-role
Repository: mesos-site
Updated Branches:
  refs/heads/asf-site 43cf7a288 -> 8c86476e8


http://git-wip-us.apache.org/repos/asf/mesos-site/blob/8c86476e/content/sitemap.xml
--
diff --git a/content/sitemap.xml b/content/sitemap.xml
index 572510a..d0dedd0 100644
--- a/content/sitemap.xml
+++ b/content/sitemap.xml
@@ -1,16435 +1,16435 @@
 
 http://www.sitemaps.org/schemas/sitemap/0.9";>
   
-http://mesos.apache.org/
+http://mesos.apache.org/api/latest/java/overview-tree.html
 2017-08-11T00:00:00+00:00
   
   
-http://mesos.apache.org/downloads/
+http://mesos.apache.org/api/latest/java/help-doc.html
 2017-08-11T00:00:00+00:00
   
   
-http://mesos.apache.org/blog/
+http://mesos.apache.org/api/latest/java/constant-values.html
 2017-08-11T00:00:00+00:00
   
   
-http://mesos.apache.org/blog/mesos-1-0-3-released/
+http://mesos.apache.org/api/latest/java/allclasses-frame.html
 2017-08-11T00:00:00+00:00
   
   
-http://mesos.apache.org/blog/mesos-1-0-1-released/
+http://mesos.apache.org/api/latest/java/deprecated-list.html
 2017-08-11T00:00:00+00:00
   
   
-http://mesos.apache.org/blog/mesos-0-22-1-released/
+http://mesos.apache.org/api/latest/java/allclasses-noframe.html
 2017-08-11T00:00:00+00:00
   
   
-http://mesos.apache.org/blog/mesos-0-20-0-released/
+
http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.TaskState.html
 2017-08-11T00:00:00+00:00
   
   
-
http://mesos.apache.org/blog/mesoscon-seattle-preconference-and-social-activities/
+
http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.RateLimit.Builder.html
 2017-08-11T00:00:00+00:00
   
   
-http://mesos.apache.org/blog/mesoscon-goes-europe/
+
http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.CheckInfo.Http.Builder.html
 2017-08-11T00:00:00+00:00
   
   
-http://mesos.apache.org/blog/mesos-0-18-1-and-0-18-2-released/
+
http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.SlaveInfo.CapabilityOrBuilder.html
 2017-08-11T00:00:00+00:00
   
   
-http://mesos.apache.org/blog/mesoscon-2016-cfp-is-now-open/
+
http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.Volume.html
 2017-08-11T00:00:00+00:00
   
   
-http://mesos.apache.org/blog/mesos-1-2-1-released/
+
http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.LinuxInfo.html
 2017-08-11T00:00:00+00:00
   
   
-
http://mesos.apache.org/blog/mesoscon-europe-2015-schedule-announced/
+
http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.RLimitInfo.RLimit.Type.html
 2017-08-11T00:00:00+00:00
   
   
-http://mesos.apache.org/blog/mesos-0-16-0-released/
+
http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.ResourceProviderInfo.Builder.html
 2017-08-11T00:00:00+00:00
   
   
-http://mesos.apache.org/blog/mesos-0-25-0-released/
+
http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.ContainerInfoOrBuilder.html
 2017-08-11T00:00:00+00:00
   
   
-http://mesos.apache.org/blog/register-for-mesoscon-seattle-save/
+
http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.ParameterOrBuilder.html
 2017-08-11T00:00:00+00:00
   
   
-http://mesos.apache.org/blog/mesos-1-0-0-released/
+
http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.CgroupInfo.Blkio.Operation.html
 2017-08-11T00:00:00+00:00
   
   
-http://mesos.apache.org/blog/mesos-0-27-0-released/
+
http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.CgroupInfo.Blkio.Throttling.Statistics.html
 2017-08-11T00:00:00+00:00
   
   
-http://mesos.apache.org/blog/mesos-0-26-1-and-more-released/
+
http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.Flag.html
 2017-08-11T00:00:00+00:00
   
   
-http://mesos.apache.org/blog/mesos-0-19-0-released/
+
http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.TimeInfo.Builder.html
 2017-08-11T00:00:00+00:00
   
   
-http://mesos.apache.org/blog/mesos-1-1-1-released/
+
http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.RLimitInfo.RLimit.Builder.html
 2017-08-11T00:00:00+00:00
   
   
-http://mesos.apache.org/blog/dev-community-status/
+
http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.CgroupInfo.Blkio.CFQ.StatisticsOrBuilder.html
 2017-08-11T00:00:00+00:00
   
   
-http://mesos.apache.org/blog/mesos-0-23-0-released/
+
http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.TTYInfoOrBuilder.html
 2017-08-11T00:00:00+00:00
   
   
-http://mesos.apache.org/blog/mesos-1-0-4-released/
+
http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.Ports.html
 2017-08-11T00:00:00+00:00
   
   
-http://mesos.apache.org/blog/mesos-0-24-0-released/
+
http://mesos.apache.org/api/latest/java/org/a

[2/2] mesos-site git commit: Updated the website built from mesos SHA: 92feb52.

2017-08-11 Thread git-site-role
Updated the website built from mesos SHA: 92feb52.


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

Branch: refs/heads/asf-site
Commit: 8c86476e8d17f172d8bf0dba2deb2d3549e70e2d
Parents: 43cf7a2
Author: jenkins 
Authored: Fri Aug 11 23:41:36 2017 +
Committer: jenkins 
Committed: Fri Aug 11 23:41:36 2017 +

--
 content/sitemap.xml | 8372 +++---
 1 file changed, 4186 insertions(+), 4186 deletions(-)
--




[2/2] mesos git commit: Created staging dir only when needed.

2017-08-11 Thread gilbert
Created staging dir only when needed.

Created staging dir only when needed.

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


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

Branch: refs/heads/1.1.x
Commit: 84399975df5a482587598d8d9528c555c0945acd
Parents: 8e79521
Author: Qian Zhang 
Authored: Fri Aug 11 15:53:55 2017 -0700
Committer: Gilbert Song 
Committed: Fri Aug 11 16:28:33 2017 -0700

--
 .../mesos/provisioner/docker/store.cpp | 17 +
 1 file changed, 9 insertions(+), 8 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/mesos/blob/84399975/src/slave/containerizer/mesos/provisioner/docker/store.cpp
--
diff --git a/src/slave/containerizer/mesos/provisioner/docker/store.cpp 
b/src/slave/containerizer/mesos/provisioner/docker/store.cpp
index 9dccd06..3a46c20 100644
--- a/src/slave/containerizer/mesos/provisioner/docker/store.cpp
+++ b/src/slave/containerizer/mesos/provisioner/docker/store.cpp
@@ -217,18 +217,19 @@ Future StoreProcess::_get(
 return image.get();
   }
 
-  Try staging =
-os::mkdtemp(paths::getStagingTempDir(flags.docker_store_dir));
-
-  if (staging.isError()) {
-return Failure("Failed to create a staging directory: " + staging.error());
-  }
-
-  // If there is already an pulling going on for the given 'name', we
+  // If there is already a pulling going on for the given 'name', we
   // will skip the additional pulling.
   const string name = stringify(reference);
 
   if (!pulling.contains(name)) {
+Try staging =
+  os::mkdtemp(paths::getStagingTempDir(flags.docker_store_dir));
+
+if (staging.isError()) {
+  return Failure(
+  "Failed to create a staging directory: " + staging.error());
+}
+
 Owned> promise(new Promise());
 
 Future future = puller->pull(reference, staging.get())



[1/2] mesos git commit: Added MESOS-6950 to 1.1.3 CHANGELOG.

2017-08-11 Thread gilbert
Repository: mesos
Updated Branches:
  refs/heads/1.1.x 8e79521d6 -> 9af124dbb


Added MESOS-6950 to 1.1.3 CHANGELOG.


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

Branch: refs/heads/1.1.x
Commit: 9af124dbbb8101e4cd5220e1e31b932152ed99c1
Parents: 8439997
Author: Gilbert Song 
Authored: Fri Aug 11 16:22:30 2017 -0700
Committer: Gilbert Song 
Committed: Fri Aug 11 16:28:33 2017 -0700

--
 CHANGELOG | 1 +
 1 file changed, 1 insertion(+)
--


http://git-wip-us.apache.org/repos/asf/mesos/blob/9af124db/CHANGELOG
--
diff --git a/CHANGELOG b/CHANGELOG
index 2551a59..2745748 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -6,6 +6,7 @@ All Issues:
 ** Bug
   * [MESOS-5187] - The filesystem/linux isolator does not set the permissions 
of the host_path.
   * [MESOS-6743] - Docker executor hangs forever if `docker stop` fails.
+  * [MESOS-6950] - Launching two tasks with the same Docker image 
simultaneously may cause a staging dir never cleaned up.
   * [MESOS-7540] - Add an agent flag for executor re-registration timeout.
   * [MESOS-7569] - Allow "old" executors with half-open connections to be 
preserved during agent upgrade / restart.
   * [MESOS-7689] - Libprocess can crash on malformed request paths for 
libprocess messages.



[1/2] mesos git commit: Added MESOS-6950 to 1.2.3 CHANGELOG.

2017-08-11 Thread gilbert
Repository: mesos
Updated Branches:
  refs/heads/1.2.x 67598ba6e -> d1a58c9a5


Added MESOS-6950 to 1.2.3 CHANGELOG.


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

Branch: refs/heads/1.2.x
Commit: d1a58c9a532adc2b33ec47e2c4656dd214dd3ee0
Parents: c6d21af
Author: Gilbert Song 
Authored: Fri Aug 11 16:22:09 2017 -0700
Committer: Gilbert Song 
Committed: Fri Aug 11 16:27:32 2017 -0700

--
 CHANGELOG | 1 +
 1 file changed, 1 insertion(+)
--


http://git-wip-us.apache.org/repos/asf/mesos/blob/d1a58c9a/CHANGELOG
--
diff --git a/CHANGELOG b/CHANGELOG
index 8989a57..2fd4f83 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -5,6 +5,7 @@ Release Notes - Mesos - Version 1.2.3 (WIP)
 All Issues:
 ** Bug
   * [MESOS-6743] - Docker executor hangs forever if `docker stop` fails.
+  * [MESOS-6950] - Launching two tasks with the same Docker image 
simultaneously may cause a staging dir never cleaned up.
 
 
 Release Notes - Mesos - Version 1.2.2



[1/2] mesos git commit: Added MESOS-6950 to 1.3.2 CHANGELOG.

2017-08-11 Thread gilbert
Repository: mesos
Updated Branches:
  refs/heads/1.3.x f2deb04a5 -> 08c431677


Added MESOS-6950 to 1.3.2 CHANGELOG.


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

Branch: refs/heads/1.3.x
Commit: 08c4316770951696f57e757d963929b91a4f65bd
Parents: d612597
Author: Gilbert Song 
Authored: Fri Aug 11 16:21:40 2017 -0700
Committer: Gilbert Song 
Committed: Fri Aug 11 16:26:49 2017 -0700

--
 CHANGELOG | 1 +
 1 file changed, 1 insertion(+)
--


http://git-wip-us.apache.org/repos/asf/mesos/blob/08c43167/CHANGELOG
--
diff --git a/CHANGELOG b/CHANGELOG
index 5257d33..a3ba2a0 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -5,6 +5,7 @@ Release Notes - Mesos - Version 1.3.2 (WIP)
 All Issues:
 ** Bug
   * [MESOS-6743] - Docker executor hangs forever if `docker stop` fails.
+  * [MESOS-6950] - Launching two tasks with the same Docker image 
simultaneously may cause a staging dir never cleaned up.
 
 
 Release Notes - Mesos - Version 1.3.1



[2/2] mesos git commit: Created staging dir only when needed.

2017-08-11 Thread gilbert
Created staging dir only when needed.

Created staging dir only when needed.

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


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

Branch: refs/heads/1.2.x
Commit: c6d21afcf83277cd43fdeb88a87c29ec4c81964a
Parents: 67598ba
Author: Qian Zhang 
Authored: Fri Aug 11 15:53:55 2017 -0700
Committer: Gilbert Song 
Committed: Fri Aug 11 16:27:32 2017 -0700

--
 .../mesos/provisioner/docker/store.cpp | 17 +
 1 file changed, 9 insertions(+), 8 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/mesos/blob/c6d21afc/src/slave/containerizer/mesos/provisioner/docker/store.cpp
--
diff --git a/src/slave/containerizer/mesos/provisioner/docker/store.cpp 
b/src/slave/containerizer/mesos/provisioner/docker/store.cpp
index 68ce265..74e17ad 100644
--- a/src/slave/containerizer/mesos/provisioner/docker/store.cpp
+++ b/src/slave/containerizer/mesos/provisioner/docker/store.cpp
@@ -249,18 +249,19 @@ Future StoreProcess::_get(
 }
   }
 
-  Try staging =
-os::mkdtemp(paths::getStagingTempDir(flags.docker_store_dir));
-
-  if (staging.isError()) {
-return Failure("Failed to create a staging directory: " + staging.error());
-  }
-
-  // If there is already an pulling going on for the given 'name', we
+  // If there is already a pulling going on for the given 'name', we
   // will skip the additional pulling.
   const string name = stringify(reference);
 
   if (!pulling.contains(name)) {
+Try staging =
+  os::mkdtemp(paths::getStagingTempDir(flags.docker_store_dir));
+
+if (staging.isError()) {
+  return Failure(
+  "Failed to create a staging directory: " + staging.error());
+}
+
 Owned> promise(new Promise());
 
 Future future = puller->pull(reference, staging.get(), backend)



[2/2] mesos git commit: Created staging dir only when needed.

2017-08-11 Thread gilbert
Created staging dir only when needed.

Created staging dir only when needed.

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


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

Branch: refs/heads/1.3.x
Commit: d6125979278451c1de5bc549ed24d069122ef270
Parents: f2deb04
Author: Qian Zhang 
Authored: Fri Aug 11 15:53:55 2017 -0700
Committer: Gilbert Song 
Committed: Fri Aug 11 16:26:49 2017 -0700

--
 .../mesos/provisioner/docker/store.cpp | 17 +
 1 file changed, 9 insertions(+), 8 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/mesos/blob/d6125979/src/slave/containerizer/mesos/provisioner/docker/store.cpp
--
diff --git a/src/slave/containerizer/mesos/provisioner/docker/store.cpp 
b/src/slave/containerizer/mesos/provisioner/docker/store.cpp
index 68ce265..74e17ad 100644
--- a/src/slave/containerizer/mesos/provisioner/docker/store.cpp
+++ b/src/slave/containerizer/mesos/provisioner/docker/store.cpp
@@ -249,18 +249,19 @@ Future StoreProcess::_get(
 }
   }
 
-  Try staging =
-os::mkdtemp(paths::getStagingTempDir(flags.docker_store_dir));
-
-  if (staging.isError()) {
-return Failure("Failed to create a staging directory: " + staging.error());
-  }
-
-  // If there is already an pulling going on for the given 'name', we
+  // If there is already a pulling going on for the given 'name', we
   // will skip the additional pulling.
   const string name = stringify(reference);
 
   if (!pulling.contains(name)) {
+Try staging =
+  os::mkdtemp(paths::getStagingTempDir(flags.docker_store_dir));
+
+if (staging.isError()) {
+  return Failure(
+  "Failed to create a staging directory: " + staging.error());
+}
+
 Owned> promise(new Promise());
 
 Future future = puller->pull(reference, staging.get(), backend)



[2/4] mesos git commit: Added MESOS-6950 to 1.3.2 CHANGELOG.

2017-08-11 Thread gilbert
Added MESOS-6950 to 1.3.2 CHANGELOG.


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

Branch: refs/heads/1.4.x
Commit: 304e12088c7cc2faada2b21bbb582147a98e9848
Parents: d2e4f02
Author: Gilbert Song 
Authored: Fri Aug 11 16:21:40 2017 -0700
Committer: Gilbert Song 
Committed: Fri Aug 11 16:21:40 2017 -0700

--
 CHANGELOG | 1 +
 1 file changed, 1 insertion(+)
--


http://git-wip-us.apache.org/repos/asf/mesos/blob/304e1208/CHANGELOG
--
diff --git a/CHANGELOG b/CHANGELOG
index b1b4773..23a9a67 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -55,6 +55,7 @@ Release Notes - Mesos - Version 1.3.2 (WIP)
 All Issues:
 ** Bug
   * [MESOS-6743] - Docker executor hangs forever if `docker stop` fails.
+  * [MESOS-6950] - Launching two tasks with the same Docker image 
simultaneously may cause a staging dir never cleaned up.
 
 
 Release Notes - Mesos - Version 1.3.1



[4/4] mesos git commit: Added MESOS-6950 to 1.1.3 CHANGELOG.

2017-08-11 Thread gilbert
Added MESOS-6950 to 1.1.3 CHANGELOG.


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

Branch: refs/heads/1.4.x
Commit: 92feb52d9508793e7046c9b9c6ed2a12c312e283
Parents: 868879e
Author: Gilbert Song 
Authored: Fri Aug 11 16:22:30 2017 -0700
Committer: Gilbert Song 
Committed: Fri Aug 11 16:22:30 2017 -0700

--
 CHANGELOG | 1 +
 1 file changed, 1 insertion(+)
--


http://git-wip-us.apache.org/repos/asf/mesos/blob/92feb52d/CHANGELOG
--
diff --git a/CHANGELOG b/CHANGELOG
index cfb3323..abb0e3b 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -884,6 +884,7 @@ All Issues:
 ** Bug
   * [MESOS-5187] - The filesystem/linux isolator does not set the permissions 
of the host_path.
   * [MESOS-6743] - Docker executor hangs forever if `docker stop` fails.
+  * [MESOS-6950] - Launching two tasks with the same Docker image 
simultaneously may cause a staging dir never cleaned up.
   * [MESOS-7540] - Add an agent flag for executor re-registration timeout.
   * [MESOS-7569] - Allow "old" executors with half-open connections to be 
preserved during agent upgrade / restart.
   * [MESOS-7689] - Libprocess can crash on malformed request paths for 
libprocess messages.



[3/4] mesos git commit: Added MESOS-6950 to 1.2.3 CHANGELOG.

2017-08-11 Thread gilbert
Added MESOS-6950 to 1.2.3 CHANGELOG.


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

Branch: refs/heads/1.4.x
Commit: 868879ef8d0f27fdefd8cc10db362a3bf3cc2031
Parents: 304e120
Author: Gilbert Song 
Authored: Fri Aug 11 16:22:09 2017 -0700
Committer: Gilbert Song 
Committed: Fri Aug 11 16:22:09 2017 -0700

--
 CHANGELOG | 1 +
 1 file changed, 1 insertion(+)
--


http://git-wip-us.apache.org/repos/asf/mesos/blob/868879ef/CHANGELOG
--
diff --git a/CHANGELOG b/CHANGELOG
index 23a9a67..cfb3323 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -367,6 +367,7 @@ Release Notes - Mesos - Version 1.2.3 (WIP)
 All Issues:
 ** Bug
   * [MESOS-6743] - Docker executor hangs forever if `docker stop` fails.
+  * [MESOS-6950] - Launching two tasks with the same Docker image 
simultaneously may cause a staging dir never cleaned up.
 
 
 Release Notes - Mesos - Version 1.2.2



[1/4] mesos git commit: Created staging dir only when needed.

2017-08-11 Thread gilbert
Repository: mesos
Updated Branches:
  refs/heads/1.4.x 6241f7722 -> 92feb52d9


Created staging dir only when needed.

Created staging dir only when needed.

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


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

Branch: refs/heads/1.4.x
Commit: d2e4f02dee21511661c1d273a66e32f211794fda
Parents: 6241f77
Author: Qian Zhang 
Authored: Fri Aug 11 15:53:55 2017 -0700
Committer: Gilbert Song 
Committed: Fri Aug 11 16:20:24 2017 -0700

--
 .../mesos/provisioner/docker/store.cpp | 17 +
 1 file changed, 9 insertions(+), 8 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/mesos/blob/d2e4f02d/src/slave/containerizer/mesos/provisioner/docker/store.cpp
--
diff --git a/src/slave/containerizer/mesos/provisioner/docker/store.cpp 
b/src/slave/containerizer/mesos/provisioner/docker/store.cpp
index 8058dcb..f357710 100644
--- a/src/slave/containerizer/mesos/provisioner/docker/store.cpp
+++ b/src/slave/containerizer/mesos/provisioner/docker/store.cpp
@@ -274,18 +274,19 @@ Future StoreProcess::_get(
 }
   }
 
-  Try staging =
-os::mkdtemp(paths::getStagingTempDir(flags.docker_store_dir));
-
-  if (staging.isError()) {
-return Failure("Failed to create a staging directory: " + staging.error());
-  }
-
-  // If there is already an pulling going on for the given 'name', we
+  // If there is already a pulling going on for the given 'name', we
   // will skip the additional pulling.
   const string name = stringify(reference);
 
   if (!pulling.contains(name)) {
+Try staging =
+  os::mkdtemp(paths::getStagingTempDir(flags.docker_store_dir));
+
+if (staging.isError()) {
+  return Failure(
+  "Failed to create a staging directory: " + staging.error());
+}
+
 Owned> promise(new Promise());
 
 Future future = puller->pull(



[2/4] mesos git commit: Added MESOS-6950 to 1.3.2 CHANGELOG.

2017-08-11 Thread gilbert
Added MESOS-6950 to 1.3.2 CHANGELOG.


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

Branch: refs/heads/master
Commit: 304e12088c7cc2faada2b21bbb582147a98e9848
Parents: d2e4f02
Author: Gilbert Song 
Authored: Fri Aug 11 16:21:40 2017 -0700
Committer: Gilbert Song 
Committed: Fri Aug 11 16:21:40 2017 -0700

--
 CHANGELOG | 1 +
 1 file changed, 1 insertion(+)
--


http://git-wip-us.apache.org/repos/asf/mesos/blob/304e1208/CHANGELOG
--
diff --git a/CHANGELOG b/CHANGELOG
index b1b4773..23a9a67 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -55,6 +55,7 @@ Release Notes - Mesos - Version 1.3.2 (WIP)
 All Issues:
 ** Bug
   * [MESOS-6743] - Docker executor hangs forever if `docker stop` fails.
+  * [MESOS-6950] - Launching two tasks with the same Docker image 
simultaneously may cause a staging dir never cleaned up.
 
 
 Release Notes - Mesos - Version 1.3.1



[4/4] mesos git commit: Added MESOS-6950 to 1.1.3 CHANGELOG.

2017-08-11 Thread gilbert
Added MESOS-6950 to 1.1.3 CHANGELOG.


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

Branch: refs/heads/master
Commit: 92feb52d9508793e7046c9b9c6ed2a12c312e283
Parents: 868879e
Author: Gilbert Song 
Authored: Fri Aug 11 16:22:30 2017 -0700
Committer: Gilbert Song 
Committed: Fri Aug 11 16:22:30 2017 -0700

--
 CHANGELOG | 1 +
 1 file changed, 1 insertion(+)
--


http://git-wip-us.apache.org/repos/asf/mesos/blob/92feb52d/CHANGELOG
--
diff --git a/CHANGELOG b/CHANGELOG
index cfb3323..abb0e3b 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -884,6 +884,7 @@ All Issues:
 ** Bug
   * [MESOS-5187] - The filesystem/linux isolator does not set the permissions 
of the host_path.
   * [MESOS-6743] - Docker executor hangs forever if `docker stop` fails.
+  * [MESOS-6950] - Launching two tasks with the same Docker image 
simultaneously may cause a staging dir never cleaned up.
   * [MESOS-7540] - Add an agent flag for executor re-registration timeout.
   * [MESOS-7569] - Allow "old" executors with half-open connections to be 
preserved during agent upgrade / restart.
   * [MESOS-7689] - Libprocess can crash on malformed request paths for 
libprocess messages.



[1/4] mesos git commit: Created staging dir only when needed.

2017-08-11 Thread gilbert
Repository: mesos
Updated Branches:
  refs/heads/master 6241f7722 -> 92feb52d9


Created staging dir only when needed.

Created staging dir only when needed.

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


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

Branch: refs/heads/master
Commit: d2e4f02dee21511661c1d273a66e32f211794fda
Parents: 6241f77
Author: Qian Zhang 
Authored: Fri Aug 11 15:53:55 2017 -0700
Committer: Gilbert Song 
Committed: Fri Aug 11 16:20:24 2017 -0700

--
 .../mesos/provisioner/docker/store.cpp | 17 +
 1 file changed, 9 insertions(+), 8 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/mesos/blob/d2e4f02d/src/slave/containerizer/mesos/provisioner/docker/store.cpp
--
diff --git a/src/slave/containerizer/mesos/provisioner/docker/store.cpp 
b/src/slave/containerizer/mesos/provisioner/docker/store.cpp
index 8058dcb..f357710 100644
--- a/src/slave/containerizer/mesos/provisioner/docker/store.cpp
+++ b/src/slave/containerizer/mesos/provisioner/docker/store.cpp
@@ -274,18 +274,19 @@ Future StoreProcess::_get(
 }
   }
 
-  Try staging =
-os::mkdtemp(paths::getStagingTempDir(flags.docker_store_dir));
-
-  if (staging.isError()) {
-return Failure("Failed to create a staging directory: " + staging.error());
-  }
-
-  // If there is already an pulling going on for the given 'name', we
+  // If there is already a pulling going on for the given 'name', we
   // will skip the additional pulling.
   const string name = stringify(reference);
 
   if (!pulling.contains(name)) {
+Try staging =
+  os::mkdtemp(paths::getStagingTempDir(flags.docker_store_dir));
+
+if (staging.isError()) {
+  return Failure(
+  "Failed to create a staging directory: " + staging.error());
+}
+
 Owned> promise(new Promise());
 
 Future future = puller->pull(



[3/4] mesos git commit: Added MESOS-6950 to 1.2.3 CHANGELOG.

2017-08-11 Thread gilbert
Added MESOS-6950 to 1.2.3 CHANGELOG.


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

Branch: refs/heads/master
Commit: 868879ef8d0f27fdefd8cc10db362a3bf3cc2031
Parents: 304e120
Author: Gilbert Song 
Authored: Fri Aug 11 16:22:09 2017 -0700
Committer: Gilbert Song 
Committed: Fri Aug 11 16:22:09 2017 -0700

--
 CHANGELOG | 1 +
 1 file changed, 1 insertion(+)
--


http://git-wip-us.apache.org/repos/asf/mesos/blob/868879ef/CHANGELOG
--
diff --git a/CHANGELOG b/CHANGELOG
index 23a9a67..cfb3323 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -367,6 +367,7 @@ Release Notes - Mesos - Version 1.2.3 (WIP)
 All Issues:
 ** Bug
   * [MESOS-6743] - Docker executor hangs forever if `docker stop` fails.
+  * [MESOS-6950] - Launching two tasks with the same Docker image 
simultaneously may cause a staging dir never cleaned up.
 
 
 Release Notes - Mesos - Version 1.2.2



mesos git commit: Fixed the device number proto 'major' and 'minor' to avoid MACROs.

2017-08-11 Thread gilbert
Repository: mesos
Updated Branches:
  refs/heads/1.4.x 3dc041d55 -> 6241f7722


Fixed the device number proto 'major' and 'minor' to avoid MACROs.

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


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

Branch: refs/heads/1.4.x
Commit: 6241f7722b85783d6ab7c3db77d6bb92c8dbc21a
Parents: 3dc041d
Author: Gilbert Song 
Authored: Wed Aug 9 10:35:46 2017 -0700
Committer: Gilbert Song 
Committed: Fri Aug 11 13:40:10 2017 -0700

--
 include/mesos/mesos.proto   |  4 ++--
 include/mesos/v1/mesos.proto|  4 ++--
 src/linux/cgroups.cpp   | 20 
 src/linux/cgroups.hpp   |  4 ++--
 .../isolators/cgroups/subsystems/blkio.cpp  | 20 ++--
 5 files changed, 40 insertions(+), 12 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/mesos/blob/6241f772/include/mesos/mesos.proto
--
diff --git a/include/mesos/mesos.proto b/include/mesos/mesos.proto
index 5ac242c..50a5caf 100644
--- a/include/mesos/mesos.proto
+++ b/include/mesos/mesos.proto
@@ -3153,8 +3153,8 @@ message FileInfo {
  */
 message Device {
   message Number {
-required uint64 major = 1;
-required uint64 minor = 2;
+required uint64 major_number = 1;
+required uint64 minor_number = 2;
   }
 
   optional string path = 1;

http://git-wip-us.apache.org/repos/asf/mesos/blob/6241f772/include/mesos/v1/mesos.proto
--
diff --git a/include/mesos/v1/mesos.proto b/include/mesos/v1/mesos.proto
index ff02813..9d47a8a 100644
--- a/include/mesos/v1/mesos.proto
+++ b/include/mesos/v1/mesos.proto
@@ -3136,8 +3136,8 @@ message FileInfo {
  */
 message Device {
   message Number {
-required uint64 major = 1;
-required uint64 minor = 2;
+required uint64 major_number = 1;
+required uint64 minor_number = 2;
   }
 
   optional string path = 1;

http://git-wip-us.apache.org/repos/asf/mesos/blob/6241f772/src/linux/cgroups.cpp
--
diff --git a/src/linux/cgroups.cpp b/src/linux/cgroups.cpp
index 21f9983..95c81d9 100644
--- a/src/linux/cgroups.cpp
+++ b/src/linux/cgroups.cpp
@@ -24,6 +24,14 @@
 #include 
 #include 
 
+// This header include must be enclosed in an `extern "C"` block to
+// workaround a bug in glibc <= 2.12 (see MESOS-7378).
+//
+// TODO(gilbert): Remove this when we no longer support glibc <= 2.12.
+extern "C" {
+#include 
+}
+
 #include 
 
 #include 
@@ -1933,6 +1941,18 @@ Result cgroup(pid_t pid)
 }
 
 
+unsigned int Device::getMajor() const
+{
+  return major(value);
+}
+
+
+unsigned int Device::getMinor() const
+{
+  return minor(value);
+}
+
+
 Try Device::parse(const string& s)
 {
   vector device = strings::tokenize(s, ":");

http://git-wip-us.apache.org/repos/asf/mesos/blob/6241f772/src/linux/cgroups.hpp
--
diff --git a/src/linux/cgroups.hpp b/src/linux/cgroups.hpp
index e708747..154e5b6 100644
--- a/src/linux/cgroups.hpp
+++ b/src/linux/cgroups.hpp
@@ -415,8 +415,8 @@ class Device
 {
 public:
   constexpr Device(dev_t device) : value(device) {}
-  inline unsigned int getMajor() const { return major(value); }
-  inline unsigned int getMinor() const { return minor(value); }
+  unsigned int getMajor() const;
+  unsigned int getMinor() const;
 
   inline bool operator==(const Device& that) const
   {

http://git-wip-us.apache.org/repos/asf/mesos/blob/6241f772/src/slave/containerizer/mesos/isolators/cgroups/subsystems/blkio.cpp
--
diff --git 
a/src/slave/containerizer/mesos/isolators/cgroups/subsystems/blkio.cpp 
b/src/slave/containerizer/mesos/isolators/cgroups/subsystems/blkio.cpp
index 96014b5..bbbe766 100644
--- a/src/slave/containerizer/mesos/isolators/cgroups/subsystems/blkio.cpp
+++ b/src/slave/containerizer/mesos/isolators/cgroups/subsystems/blkio.cpp
@@ -14,6 +14,14 @@
 // See the License for the specific language governing permissions and
 // limitations under the License.
 
+// This header include must be enclosed in an `extern "C"` block to
+// workaround a bug in glibc <= 2.12 (see MESOS-7378).
+//
+// TODO(gilbert): Remove this when we no longer support glibc <= 2.12.
+extern "C" {
+#include 
+}
+
 #include 
 
 #include 
@@ -351,20 +359,20 @@ Future BlkioSubsystem::usage(
   CgroupInfo::Blkio::Statistics* stat = result.mutable_blkio_statistics();
 
   foreachkey (dev_t dev, cfq) {
-cfq[dev]

[1/2] mesos-site git commit: Updated the website built from mesos SHA: 6241f77.

2017-08-11 Thread git-site-role
Repository: mesos-site
Updated Branches:
  refs/heads/asf-site ffdd7fd96 -> 43cf7a288


http://git-wip-us.apache.org/repos/asf/mesos-site/blob/43cf7a28/content/sitemap.xml
--
diff --git a/content/sitemap.xml b/content/sitemap.xml
index d0dedd0..572510a 100644
--- a/content/sitemap.xml
+++ b/content/sitemap.xml
@@ -1,16435 +1,16435 @@
 
 http://www.sitemaps.org/schemas/sitemap/0.9";>
   
-http://mesos.apache.org/api/latest/java/overview-tree.html
+http://mesos.apache.org/
 2017-08-11T00:00:00+00:00
   
   
-http://mesos.apache.org/api/latest/java/help-doc.html
+http://mesos.apache.org/downloads/
 2017-08-11T00:00:00+00:00
   
   
-http://mesos.apache.org/api/latest/java/constant-values.html
+http://mesos.apache.org/blog/
 2017-08-11T00:00:00+00:00
   
   
-http://mesos.apache.org/api/latest/java/allclasses-frame.html
+http://mesos.apache.org/blog/mesos-1-0-3-released/
 2017-08-11T00:00:00+00:00
   
   
-http://mesos.apache.org/api/latest/java/deprecated-list.html
+http://mesos.apache.org/blog/mesos-1-0-1-released/
 2017-08-11T00:00:00+00:00
   
   
-http://mesos.apache.org/api/latest/java/allclasses-noframe.html
+http://mesos.apache.org/blog/mesos-0-22-1-released/
 2017-08-11T00:00:00+00:00
   
   
-
http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.TaskState.html
+http://mesos.apache.org/blog/mesos-0-20-0-released/
 2017-08-11T00:00:00+00:00
   
   
-
http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.RateLimit.Builder.html
+
http://mesos.apache.org/blog/mesoscon-seattle-preconference-and-social-activities/
 2017-08-11T00:00:00+00:00
   
   
-
http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.CheckInfo.Http.Builder.html
+http://mesos.apache.org/blog/mesoscon-goes-europe/
 2017-08-11T00:00:00+00:00
   
   
-
http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.SlaveInfo.CapabilityOrBuilder.html
+http://mesos.apache.org/blog/mesos-0-18-1-and-0-18-2-released/
 2017-08-11T00:00:00+00:00
   
   
-
http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.Volume.html
+http://mesos.apache.org/blog/mesoscon-2016-cfp-is-now-open/
 2017-08-11T00:00:00+00:00
   
   
-
http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.LinuxInfo.html
+http://mesos.apache.org/blog/mesos-1-2-1-released/
 2017-08-11T00:00:00+00:00
   
   
-
http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.RLimitInfo.RLimit.Type.html
+
http://mesos.apache.org/blog/mesoscon-europe-2015-schedule-announced/
 2017-08-11T00:00:00+00:00
   
   
-
http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.ResourceProviderInfo.Builder.html
+http://mesos.apache.org/blog/mesos-0-16-0-released/
 2017-08-11T00:00:00+00:00
   
   
-
http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.ContainerInfoOrBuilder.html
+http://mesos.apache.org/blog/mesos-0-25-0-released/
 2017-08-11T00:00:00+00:00
   
   
-
http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.ParameterOrBuilder.html
+http://mesos.apache.org/blog/register-for-mesoscon-seattle-save/
 2017-08-11T00:00:00+00:00
   
   
-
http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.CgroupInfo.Blkio.Operation.html
+http://mesos.apache.org/blog/mesos-1-0-0-released/
 2017-08-11T00:00:00+00:00
   
   
-
http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.CgroupInfo.Blkio.Throttling.Statistics.html
+http://mesos.apache.org/blog/mesos-0-27-0-released/
 2017-08-11T00:00:00+00:00
   
   
-
http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.Flag.html
+http://mesos.apache.org/blog/mesos-0-26-1-and-more-released/
 2017-08-11T00:00:00+00:00
   
   
-
http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.TimeInfo.Builder.html
+http://mesos.apache.org/blog/mesos-0-19-0-released/
 2017-08-11T00:00:00+00:00
   
   
-
http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.RLimitInfo.RLimit.Builder.html
+http://mesos.apache.org/blog/mesos-1-1-1-released/
 2017-08-11T00:00:00+00:00
   
   
-
http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.CgroupInfo.Blkio.CFQ.StatisticsOrBuilder.html
+http://mesos.apache.org/blog/dev-community-status/
 2017-08-11T00:00:00+00:00
   
   
-
http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.TTYInfoOrBuilder.html
+http://mesos.apache.org/blog/mesos-0-23-0-released/
 2017-08-11T00:00:00+00:00
   
   
-
http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.Ports.html
+http://mesos.apache.org/blog/mesos-1-0-4-released/
 2017-08-11T00:00:00+00:00
   
   
-
http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.CommandInfo.URI.html
+http://mesos

[2/2] mesos-site git commit: Updated the website built from mesos SHA: 6241f77.

2017-08-11 Thread git-site-role
Updated the website built from mesos SHA: 6241f77.


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

Branch: refs/heads/asf-site
Commit: 43cf7a288dac618cd67a8297ed782bf390f0a6a9
Parents: ffdd7fd
Author: jenkins 
Authored: Fri Aug 11 20:59:52 2017 +
Committer: jenkins 
Committed: Fri Aug 11 20:59:52 2017 +

--
 ...classcgroups_1_1blkio_1_1Device-members.html |4 +-
 .../c++/classcgroups_1_1blkio_1_1Device.html|   16 -
 .../latest/c++/linux_2cgroups_8hpp_source.html  |8 +-
 content/api/latest/java/constant-values.html|8 +-
 content/api/latest/java/index-all.html  |  132 +-
 .../mesos/Protos.Device.Number.Builder.html |  104 +-
 .../org/apache/mesos/Protos.Device.Number.html  |   76 +-
 .../mesos/Protos.Device.NumberOrBuilder.html|   48 +-
 content/sitemap.xml | 8372 +-
 9 files changed, 4376 insertions(+), 4392 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/mesos-site/blob/43cf7a28/content/api/latest/c++/classcgroups_1_1blkio_1_1Device-members.html
--
diff --git 
a/content/api/latest/c++/classcgroups_1_1blkio_1_1Device-members.html 
b/content/api/latest/c++/classcgroups_1_1blkio_1_1Device-members.html
index e27b13f..caed4f2 100644
--- a/content/api/latest/c++/classcgroups_1_1blkio_1_1Device-members.html
+++ b/content/api/latest/c++/classcgroups_1_1blkio_1_1Device-members.html
@@ -58,8 +58,8 @@
 This is the complete list of members for cgroups::blkio::Device, 
including all inherited members.
 
   Device(dev_t
 device)cgroups::blkio::Deviceinline
-  getMajor()
 const cgroups::blkio::Deviceinline
-  getMinor()
 const cgroups::blkio::Deviceinline
+  getMajor()
 const cgroups::blkio::Device
+  getMinor()
 const cgroups::blkio::Device
   operator
 dev_t() const cgroups::blkio::Deviceinline
   operator!=(const
 Device &that) const cgroups::blkio::Deviceinline
   operator==(const
 Device &that) const cgroups::blkio::Deviceinline

http://git-wip-us.apache.org/repos/asf/mesos-site/blob/43cf7a28/content/api/latest/c++/classcgroups_1_1blkio_1_1Device.html
--
diff --git a/content/api/latest/c++/classcgroups_1_1blkio_1_1Device.html 
b/content/api/latest/c++/classcgroups_1_1blkio_1_1Device.html
index e8a8c44..5ab5fb2 100644
--- a/content/api/latest/c++/classcgroups_1_1blkio_1_1Device.html
+++ b/content/api/latest/c++/classcgroups_1_1blkio_1_1Device.html
@@ -110,9 +110,6 @@ Static Public Member Functions
 
 
 
-
-  
-  
   
 
   unsigned int cgroups::blkio::Device::getMajor 

@@ -121,11 +118,6 @@ Static Public Member Functions
const
 
   
-  
-  
-inline  
-  
-
 
 
 
@@ -133,9 +125,6 @@ Static Public Member Functions
 
 
 
-
-  
-  
   
 
   unsigned int cgroups::blkio::Device::getMinor 

@@ -144,11 +133,6 @@ Static Public Member Functions
const
 
   
-  
-  
-inline  
-  
-
 
 
 

http://git-wip-us.apache.org/repos/asf/mesos-site/blob/43cf7a28/content/api/latest/c++/linux_2cgroups_8hpp_source.html
--
diff --git a/content/api/latest/c++/linux_2cgroups_8hpp_source.html 
b/content/api/latest/c++/linux_2cgroups_8hpp_source.html
index 9144696..82e92d4 100644
--- a/content/api/latest/c++/linux_2cgroups_8hpp_source.html
+++ b/content/api/latest/c++/linux_2cgroups_8hpp_source.html
@@ -469,8 +469,8 @@
   
415 {
   
416 public:
   
417   constexpr Device(dev_t
 device) : value(device) {}
-  
418   inline unsigned int getMajor() const { return 
major(value); }
-  
419   inline unsigned int getMinor() const { return 
minor(value); }
+  418  
 unsigned int 
getMajor()
 const;
+  419  
 unsigned int 
getMinor()
 const;
   
420 
   
421   inline bool operator==(const Device& that) const
   
422   {
@@ -1112,7 +1112,7 @@
 std::hash<
 cgroups::memory::pressure::Level >::argument_typecgroups::memory::pressure::Level argument_typeDefinition: cgroups.hpp:1011
 cgroups::cpuacct::Stats::systemconst Duration systemDefinition: cgroups.hpp:703
 cgroups::THREAD_ASSIGN_RETRIESconst unsigned int THREAD_ASSIGN_RETRIESDefinition: cgroups.hpp:54
-cgroups::blkio::Device::getMinorunsigned int getMinor() const Definition: cgroups.hpp:419
+cgroups::blkio::Device::getMinorunsigned int getMinor() const 
 DurationDefinition: duration.hpp:32
 ResultDefinition: 
result.hpp:40
 cgroups::memory::pressure::CRITICALDefinition: cgroups.hpp:830
@@ -1212,7 +1212,7 @@
 cgroups::subsystemsTry< std::set< std::string > > 
subsyst

mesos git commit: Fixed the device number proto 'major' and 'minor' to avoid MACROs.

2017-08-11 Thread gilbert
Repository: mesos
Updated Branches:
  refs/heads/master 3dc041d55 -> 6241f7722


Fixed the device number proto 'major' and 'minor' to avoid MACROs.

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


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

Branch: refs/heads/master
Commit: 6241f7722b85783d6ab7c3db77d6bb92c8dbc21a
Parents: 3dc041d
Author: Gilbert Song 
Authored: Wed Aug 9 10:35:46 2017 -0700
Committer: Gilbert Song 
Committed: Fri Aug 11 13:40:10 2017 -0700

--
 include/mesos/mesos.proto   |  4 ++--
 include/mesos/v1/mesos.proto|  4 ++--
 src/linux/cgroups.cpp   | 20 
 src/linux/cgroups.hpp   |  4 ++--
 .../isolators/cgroups/subsystems/blkio.cpp  | 20 ++--
 5 files changed, 40 insertions(+), 12 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/mesos/blob/6241f772/include/mesos/mesos.proto
--
diff --git a/include/mesos/mesos.proto b/include/mesos/mesos.proto
index 5ac242c..50a5caf 100644
--- a/include/mesos/mesos.proto
+++ b/include/mesos/mesos.proto
@@ -3153,8 +3153,8 @@ message FileInfo {
  */
 message Device {
   message Number {
-required uint64 major = 1;
-required uint64 minor = 2;
+required uint64 major_number = 1;
+required uint64 minor_number = 2;
   }
 
   optional string path = 1;

http://git-wip-us.apache.org/repos/asf/mesos/blob/6241f772/include/mesos/v1/mesos.proto
--
diff --git a/include/mesos/v1/mesos.proto b/include/mesos/v1/mesos.proto
index ff02813..9d47a8a 100644
--- a/include/mesos/v1/mesos.proto
+++ b/include/mesos/v1/mesos.proto
@@ -3136,8 +3136,8 @@ message FileInfo {
  */
 message Device {
   message Number {
-required uint64 major = 1;
-required uint64 minor = 2;
+required uint64 major_number = 1;
+required uint64 minor_number = 2;
   }
 
   optional string path = 1;

http://git-wip-us.apache.org/repos/asf/mesos/blob/6241f772/src/linux/cgroups.cpp
--
diff --git a/src/linux/cgroups.cpp b/src/linux/cgroups.cpp
index 21f9983..95c81d9 100644
--- a/src/linux/cgroups.cpp
+++ b/src/linux/cgroups.cpp
@@ -24,6 +24,14 @@
 #include 
 #include 
 
+// This header include must be enclosed in an `extern "C"` block to
+// workaround a bug in glibc <= 2.12 (see MESOS-7378).
+//
+// TODO(gilbert): Remove this when we no longer support glibc <= 2.12.
+extern "C" {
+#include 
+}
+
 #include 
 
 #include 
@@ -1933,6 +1941,18 @@ Result cgroup(pid_t pid)
 }
 
 
+unsigned int Device::getMajor() const
+{
+  return major(value);
+}
+
+
+unsigned int Device::getMinor() const
+{
+  return minor(value);
+}
+
+
 Try Device::parse(const string& s)
 {
   vector device = strings::tokenize(s, ":");

http://git-wip-us.apache.org/repos/asf/mesos/blob/6241f772/src/linux/cgroups.hpp
--
diff --git a/src/linux/cgroups.hpp b/src/linux/cgroups.hpp
index e708747..154e5b6 100644
--- a/src/linux/cgroups.hpp
+++ b/src/linux/cgroups.hpp
@@ -415,8 +415,8 @@ class Device
 {
 public:
   constexpr Device(dev_t device) : value(device) {}
-  inline unsigned int getMajor() const { return major(value); }
-  inline unsigned int getMinor() const { return minor(value); }
+  unsigned int getMajor() const;
+  unsigned int getMinor() const;
 
   inline bool operator==(const Device& that) const
   {

http://git-wip-us.apache.org/repos/asf/mesos/blob/6241f772/src/slave/containerizer/mesos/isolators/cgroups/subsystems/blkio.cpp
--
diff --git 
a/src/slave/containerizer/mesos/isolators/cgroups/subsystems/blkio.cpp 
b/src/slave/containerizer/mesos/isolators/cgroups/subsystems/blkio.cpp
index 96014b5..bbbe766 100644
--- a/src/slave/containerizer/mesos/isolators/cgroups/subsystems/blkio.cpp
+++ b/src/slave/containerizer/mesos/isolators/cgroups/subsystems/blkio.cpp
@@ -14,6 +14,14 @@
 // See the License for the specific language governing permissions and
 // limitations under the License.
 
+// This header include must be enclosed in an `extern "C"` block to
+// workaround a bug in glibc <= 2.12 (see MESOS-7378).
+//
+// TODO(gilbert): Remove this when we no longer support glibc <= 2.12.
+extern "C" {
+#include 
+}
+
 #include 
 
 #include 
@@ -351,20 +359,20 @@ Future BlkioSubsystem::usage(
   CgroupInfo::Blkio::Statistics* stat = result.mutable_blkio_statistics();
 
   foreachkey (dev_t dev, cfq) {
-cfq[de

[mesos] Git Push Summary

2017-08-11 Thread kapil
Repository: mesos
Updated Branches:
  refs/heads/1.4.x [created] 3dc041d55


mesos-site git commit: Updated the website built from mesos SHA: 3dc041d.

2017-08-11 Thread git-site-role
Repository: mesos-site
Updated Branches:
  refs/heads/asf-site c2b6e3843 -> ffdd7fd96


Updated the website built from mesos SHA: 3dc041d.


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

Branch: refs/heads/asf-site
Commit: ffdd7fd96cff7f9f12e00d0ab74ab187464229b6
Parents: c2b6e38
Author: jenkins 
Authored: Fri Aug 11 13:42:45 2017 +
Committer: jenkins 
Committed: Fri Aug 11 13:42:45 2017 +

--
 content/blog/feed.xml|  54 +-
 content/blog/index.html  |   5 +
 content/blog/mesos-1-2-2-released/index.html | 223 ++
 content/downloads/index.html |   9 +
 content/sitemap.xml  |   4 +
 5 files changed, 294 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/mesos-site/blob/ffdd7fd9/content/blog/feed.xml
--
diff --git a/content/blog/feed.xml b/content/blog/feed.xml
index 88eca0e..9157491 100644
--- a/content/blog/feed.xml
+++ b/content/blog/feed.xml
@@ -4,7 +4,59 @@
   http://mesos.apache.org/blog
   http://mesos.apache.org/blog"; />
   http://mesos.apache.org/blog/feed.xml"; rel="self"/>
-  2017-06-12T00:00:00Z
+  2017-08-11T00:00:00Z
+  
+  
+http://mesos.apache.org/blog/mesos-1-2-2-released/
+
+
+  Apache Mesos 1.2.2 Released
+
+2017-08-11T00:00:00Z
+
+  Alexander Rojas
+
+
+  

The latest Mesos 1.2.x release, 1.2.2, is now available for download;. This release includes important bug fixes and improvements on top of 1.2.1. It is recommended to use this version if you are considering using Mesos 1.2. More specifically, this release includes the following:

+ +
    +
  • MESOS-5187; - The filesystem/linux isolator does not set the permissions of the host_path.
  • +
  • MESOS-7252; - Need to fix resource check in long-lived framework.
  • +
  • MESOS-7546; - WAIT_NESTED_CONTAINER sometimes returns 404.
  • +
  • MESOS-7569; - Allow “old” executors with half-open connections to be preserved during agent upgrade / restart.
  • +
  • MESOS-7581; - Fix interference of external Boost installations when using some unbundled dependencies.
  • +
  • MESOS-7689; - Libprocess can crash on malformed request paths for libprocess messages.
  • +
  • MESOS-7690; - The agent can crash when an unknown executor tries to register.
  • +
  • MESOS-7703; - Mesos fails to exec a custom executor when no shell is used.
  • +
  • MESOS-7728; - Java HTTP adapter crashes JVM when leading master disconnects.
  • +
  • MESOS-7770; - Persistent volume might not be mounted if there is a sandbox volume whose source is the same as the target of the persistent volume.
  • +
  • MESOS-; - Agent failed to recover due to mount namespace leakage in Docker 1.12/1.13.
  • +
  • MESOS-7796; - LIBPROCESS_IP isn’t passed on to the fetcher.
  • +
  • MESOS-7830; - Sandbox_path volume does not have ownership set correctly.
  • +
  • MESOS-7540; - Add an agent flag for executor re-registration timeout.
  • +
+ + +

Full release notes are available in the release CHANGELOG

; + +

Upgrades

+ +

Rolling upgrades from a Mesos 1.2.1 cluster to Mesos 1.2.2 are straightforward. Please refer to the upgrade guide for detailed information on upgrading to Mesos 1.2.2 from 1.1.x or 1.0.x.

+ +

NOTE: Since Mesos 1.2.1, the master does not allow 0.x agents to register.<


mesos git commit: Updated website for 1.2.2 release.

2017-08-11 Thread arojas
Repository: mesos
Updated Branches:
  refs/heads/master 8127bae34 -> 3dc041d55


Updated website for 1.2.2 release.


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

Branch: refs/heads/master
Commit: 3dc041d55e099269fd3c72c9cea287699be004a7
Parents: 8127bae
Author: Alexander Rojas 
Authored: Fri Aug 11 15:23:09 2017 +0200
Committer: Alexander Rojas 
Committed: Fri Aug 11 15:23:09 2017 +0200

--
 site/data/releases.yml  |  5 +++
 .../blog/2017-08-11-mesos-1-2-2-released.md | 44 
 2 files changed, 49 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/mesos/blob/3dc041d5/site/data/releases.yml
--
diff --git a/site/data/releases.yml b/site/data/releases.yml
index 5d39a2f..d9ab4e7 100644
--- a/site/data/releases.yml
+++ b/site/data/releases.yml
@@ -15,6 +15,9 @@ news:
 ##   - title: (required)
 ## date: (required)
 ## blog: (required)
+  - title: Mesos 1.2.2 is released!
+date: August 11, 2017
+blog: mesos-1-2-2-released
   - title: Mesos 1.2.1 is released!
 date: June 12, 2017
 blog: mesos-1-2-1-released
@@ -132,6 +135,8 @@ versions:
 ## after we create the ReleaseNote for 0.28.1, we get the link:
 ## 
https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311242&version=12335359.
 ## At here, 12335359 is the jira_version of 0.28.1.
+  - version: 1.2.2
+jira_version: 12340461
   - version: 1.3.0
 jira_version: 12339183
   - version: 1.2.1

http://git-wip-us.apache.org/repos/asf/mesos/blob/3dc041d5/site/source/blog/2017-08-11-mesos-1-2-2-released.md
--
diff --git a/site/source/blog/2017-08-11-mesos-1-2-2-released.md 
b/site/source/blog/2017-08-11-mesos-1-2-2-released.md
new file mode 100644
index 000..f21e795
--- /dev/null
+++ b/site/source/blog/2017-08-11-mesos-1-2-2-released.md
@@ -0,0 +1,44 @@
+---
+layout: post
+title: Apache Mesos 1.2.2 Released
+permalink: /blog/mesos-1-2-2-released/
+published: true
+post_author:
+  display_name: Alexander Rojas
+tags: Release
+---
+
+The latest Mesos 1.2.x release, 1.2.2, is now available for 
[download](http://mesos.apache.org/downloads). This release includes important 
bug fixes and improvements on top of 1.2.1. It is recommended to use this 
version if you are considering using Mesos 1.2. More specifically, this release 
includes the following:
+
+* [MESOS-5187](https://issues.apache.org/jira/browse/MESOS-5187) - The 
filesystem/linux isolator does not set the permissions of the host_path.
+* [MESOS-7252](https://issues.apache.org/jira/browse/MESOS-7252) - Need to fix 
resource check in long-lived framework.
+* [MESOS-7546](https://issues.apache.org/jira/browse/MESOS-7546) - 
`WAIT_NESTED_CONTAINER` sometimes returns 404.
+* [MESOS-7569](https://issues.apache.org/jira/browse/MESOS-7569) - Allow "old" 
executors with half-open connections to be preserved during agent upgrade / 
restart.
+* [MESOS-7581](https://issues.apache.org/jira/browse/MESOS-7581) - Fix 
interference of external Boost installations when using some unbundled 
dependencies.
+* [MESOS-7689](https://issues.apache.org/jira/browse/MESOS-7689) - Libprocess 
can crash on malformed request paths for libprocess messages.
+* [MESOS-7690](https://issues.apache.org/jira/browse/MESOS-7690) - The agent 
can crash when an unknown executor tries to register.
+* [MESOS-7703](https://issues.apache.org/jira/browse/MESOS-7703) - Mesos fails 
to exec a custom executor when no shell is used.
+* [MESOS-7728](https://issues.apache.org/jira/browse/MESOS-7728) - Java HTTP 
adapter crashes JVM when leading master disconnects.
+* [MESOS-7770](https://issues.apache.org/jira/browse/MESOS-7770) - Persistent 
volume might not be mounted if there is a sandbox volume whose source is the 
same as the target of the persistent volume.
+* [MESOS-](https://issues.apache.org/jira/browse/MESOS-) - Agent 
failed to recover due to mount namespace leakage in Docker 1.12/1.13.
+* [MESOS-7796](https://issues.apache.org/jira/browse/MESOS-7796) - 
`LIBPROCESS_IP` isn't passed on to the fetcher.
+* [MESOS-7830](https://issues.apache.org/jira/browse/MESOS-7830) - 
Sandbox_path volume does not have ownership set correctly.
+* [MESOS-7540](https://issues.apache.org/jira/browse/MESOS-7540) - Add an 
agent flag for executor re-registration timeout.
+
+Full release notes are available in the release 
[CHANGELOG](https://git-wip-us.apache.org/repos/asf?p=mesos.git;a=blob_plain;f=CHANGELOG;hb=1.2.2)
+
+### Upgrades
+
+Rolli