git commit: Updated the CHANGELOG for releasing 0.17.0.

2014-02-24 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master c1cb7d39e - 5e96fc4c4 Updated the CHANGELOG for releasing 0.17.0. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/5e96fc4c Tree:

Git Push Summary

2014-02-24 Thread jieyu
Repository: mesos Updated Tags: refs/tags/0.17.0-rc2 [created] 1094c1bab

svn commit: r4490 - in /dev/mesos/0.17.0-rc2: ./ mesos-0.17.0.tar.gz mesos-0.17.0.tar.gz.asc mesos-0.17.0.tar.gz.md5

2014-02-24 Thread jieyu
Author: jieyu Date: Mon Feb 24 22:01:52 2014 New Revision: 4490 Log: Adding mesos-0.17.0-rc2. Added: dev/mesos/0.17.0-rc2/ dev/mesos/0.17.0-rc2/mesos-0.17.0.tar.gz (with props) dev/mesos/0.17.0-rc2/mesos-0.17.0.tar.gz.asc dev/mesos/0.17.0-rc2/mesos-0.17.0.tar.gz.md5 Added: dev

svn commit: r4492 - /release/mesos/KEYS

2014-02-24 Thread jieyu
Author: jieyu Date: Mon Feb 24 23:16:11 2014 New Revision: 4492 Log: Added Jie Yu's gpg key. Modified: release/mesos/KEYS Modified: release/mesos/KEYS == --- release/mesos/KEYS (original) +++ release/mesos/KEYS Mon

svn commit: r4530 - in /release/mesos/0.17.0: ./ mesos-0.17.0.tar.gz mesos-0.17.0.tar.gz.asc mesos-0.17.0.tar.gz.md5

2014-02-27 Thread jieyu
Author: jieyu Date: Thu Feb 27 19:50:01 2014 New Revision: 4530 Log: Adding mesos-0.17.0. Added: release/mesos/0.17.0/ release/mesos/0.17.0/mesos-0.17.0.tar.gz (with props) release/mesos/0.17.0/mesos-0.17.0.tar.gz.asc release/mesos/0.17.0/mesos-0.17.0.tar.gz.md5 Added: release

git commit: Enforced log coordinator demotion after a write is discarded.

2014-02-27 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 2159b55f9 - 8b1b7d4fb Enforced log coordinator demotion after a write is discarded. Review: https://reviews.apache.org/r/18488 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

[1/2] git commit: Updated Makefile.am for the new interval set tests.

2014-03-04 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master f8fac30c2 - 449f58181 Updated Makefile.am for the new interval set tests. Review: https://reviews.apache.org/r/18333 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

git commit: Added a Sequence abstraction.

2014-03-04 Thread jieyu
( +internal::discardNothing, +WeakFutureNothing(last))); + +// Update the 'last'. +last = notifier-future(); + +return promise-future(); + } + +protected: + virtual void finalize() + { +last.discard(); + +// TODO(jieyu): Do we need to wait for the future

git commit: Updated log to use the new interval set abstraction.

2014-03-06 Thread jieyu
(holes, position)) { - return true; -} else { - return false; -} +return unlearned.contains(position) || holes.contains(position); } } -vectoruint64_t ReplicaProcess::missing(uint64_t from, uint64_t to) +// TODO(jieyu): Allow this method to take an Interval

git commit: Added more empty interval tests.

2014-03-06 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 0fbd2a85a - f33eea2e1 Added more empty interval tests. Review: https://reviews.apache.org/r/18858 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/f33eea2e Tree:

git commit: Cleaned up log recovery code to use continuation style.

2014-03-07 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master b979d03c5 - 3facf2009 Cleaned up log recovery code to use continuation style. Review: https://reviews.apache.org/r/18584 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

[1/2] git commit: Added utility functions in stout to return MAC addresses.

2014-03-25 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 678b864cb - aace5c1ab Added utility functions in stout to return MAC addresses. Review: https://reviews.apache.org/r/19556 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

[2/2] git commit: Added utility functions to get IPv4 address of a given link device.

2014-03-25 Thread jieyu
device is not found. Returns none if the link +// device is found, but does not have an IPv4 address. +// TODO(jieyu): It is uncommon, but likely that a link device has +// multiple IPv4 addresses. In that case, consider returning the +// primary IP address instead of the first one. +inline ResultIP ip

git commit: Add explicit to single argument constructors in libprocess.

2014-03-27 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master d1da7efd6 - bc0028d66 Add explicit to single argument constructors in libprocess. Applied either explicit or /*implicit*/ to all single-arg constructors in lib process that do not take the constructed type as parameter. Sorted out which

git commit: Adjusted the includes in stout/net.hpp to avoid definition conflicts caused by netlink.

2014-04-02 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 653462ccd - d83f9f98c Adjusted the includes in stout/net.hpp to avoid definition conflicts caused by netlink. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/d83f9f98

git commit: Added a few methods for net::MAC and net::IP.

2014-04-10 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master d916668d4 - 92a280db5 Added a few methods for net::MAC and net::IP. Review: https://reviews.apache.org/r/19982 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

git commit: Added EXPECT_SOME_NE to stout gtest.

2014-04-14 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master d5e905361 - 0d4548cb6 Added EXPECT_SOME_NE to stout gtest. Review: https://reviews.apache.org/r/20291 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/0d4548cb Tree:

git commit: Allowed replicated log to do auto initialization.

2014-04-22 Thread jieyu
to VOTING + // status. + + // TODO(jieyu): Currently, we simply calculate the size of the + // cluster from the quorum size. In the future, we may wanna + // allow users to specify the cluster size in case they want to + // use a non-standard quorum size (e.g., cluster size = 5

git commit: Added a base PID set in log ZooKeeper network.

2014-04-23 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 325b60ef7 - 811142cd3 Added a base PID set in log ZooKeeper network. Review: https://reviews.apache.org/r/20602 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

git commit: Removed ExternalContainerizer.Launch test for disabled Python builds.

2014-04-29 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master a95dc6479 - e30cba966 Removed ExternalContainerizer.Launch test for disabled Python builds. Currently ExternalContainerizerTest.Launch relies upon a Python script which in turn relies upon the Mesos Python egg being available. When Python

git commit: Ignored the log write request to a position if it has already been learned.

2014-05-01 Thread jieyu
learned, - // and if so, check that we are re-writing the same value! - // - // TODO(jieyu): Interestingly, in the presence of truncations, - // we may encounter a situation where this position has already - // been learned, but we are re-writing a different value

git commit: Add a return statement to Varint64Comparator::Compare in leveldb to silence the compiler warning. This patch fixes this build error with ICC.

2014-05-12 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 9d4adaacb - c4188341d Add a return statement to Varint64Comparator::Compare in leveldb to silence the compiler warning. This patch fixes this build error with ICC. Review: https://reviews.apache.org/r/21292 Project:

git commit: Added intersection test for stout Interval and IntervalSet.

2014-05-14 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 5a8eaa2f4 - 93c719928 Added intersection test for stout Interval and IntervalSet. Review: https://reviews.apache.org/r/21190 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

[5/9] git commit: Added internal filter and queueing APIs.

2014-05-15 Thread jieyu
to the +// filter. +// TODO(jieyu): Currently, this data structure is not directly exposed +// to the user because libnl does not support getting actions of a +// filter. Expose this data structure once libnl fixes the issue. +template typename Classifier +class Filter +{ +public: + // Creates

[9/9] git commit: Added API for managing ARP packet filters.

2014-05-15 Thread jieyu
Added API for managing ARP packet filters. Review: https://reviews.apache.org/r/20296 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/336420c6 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/336420c6 Diff:

[4/9] git commit: Added API for managing links.

2014-05-15 Thread jieyu
! +--- + ])]) + + # TODO(jieyu): Automatically detect the location where the libnl + # headers are installed. + LIBNL_CFLAGS=-I/usr/include/libnl3 + + AC_SUBST([LIBNL_CFLAGS]) + + AC_DEFINE([WITH_NETWORK_ISOLATOR]) +fi

[6/9] git commit: Allowed to get/set MTU for a link.

2014-05-15 Thread jieyu
()) { +return Error(link.error()); + } else if (link.isNone()) { +return false; + } + + // TODO(jieyu): We use ioctl to set the MTU because libnl has some + // issues with rtnl_link_change. + struct ifreq ifr; + memset(ifr, 0, sizeof(ifr)); + + strncpy(ifr.ifr_name, _link.c_str(), IFNAMSIZ

[8/9] git commit: Added API for getting the default gateway.

2014-05-15 Thread jieyu
= nl_cache_get_next(o)) { +struct rtnl_route* route = (struct rtnl_route*) o; + +// TODO(jieyu): Currently, we assume each route in the routing +// table has only one hop (which is true in most environments). +if (rtnl_route_get_table(route) == RT_TABLE_MAIN +rtnl_route_get_nnexthops(route

git commit: Fixed a compiler warning from stout flags.

2014-05-15 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master ae629de70 - 270204125 Fixed a compiler warning from stout flags. Review: https://reviews.apache.org/r/21462 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/27020412

[1/9] git commit: Allowed waiting for a link to be removed.

2014-05-15 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 6987a9e05 - 4f97402d7 Allowed waiting for a link to be removed. Review: https://reviews.apache.org/r/21141 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/4f97402d

[2/9] git commit: Added API for managing IP packet filters.

2014-05-15 Thread jieyu
(), ETH_P_IP); + + int err = rtnl_tc_set_kind(TC_CAST(cls.get()), u32); + if (err != 0) { +return Error( +Failed to set the kind of the classifier: + +string(nl_geterror(err))); + } + + // TODO(jieyu): Do we need to check the protocol (e.g., TCP/UDP

git commit: Added equal operator for stout Interval.

2014-05-15 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 93c719928 - 2a11d35d8 Added equal operator for stout Interval. Review: https://reviews.apache.org/r/21237 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/2a11d35d

git commit: Added stream operator for filter::ip::PortRange.

2014-05-16 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master d14ab93a5 - 4b3f3b211 Added stream operator for filter::ip::PortRange. Review: https://reviews.apache.org/r/21505 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

git commit: Set slave subsystems only in containerizer tests and cleaned up the code using cgroups::enabled().

2014-05-19 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 203a5544e - b89667ca9 Set slave subsystems only in containerizer tests and cleaned up the code using cgroups::enabled(). Review: https://reviews.apache.org/r/21585 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

git commit: Included the error message when nl_connect fails.

2014-05-19 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master b89667ca9 - dc7e42657 Included the error message when nl_connect fails. Review: https://reviews.apache.org/r/21595 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

git commit: Fixed the broken build on OSX caused by cgroups::enabled().

2014-05-19 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master be8b90792 - ce98036ed Fixed the broken build on OSX caused by cgroups::enabled(). Review: https://reviews.apache.org/r/21664 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

[2/2] git commit: Returned false in link::remove() if NLE_NODEV is received.

2014-05-23 Thread jieyu
Returned false in link::remove() if NLE_NODEV is received. Review: https://reviews.apache.org/r/21823 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/f751e3b6 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/f751e3b6

[1/2] git commit: Fixed compiler errors in routing library when an old glibc is used.

2014-05-23 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master a31d81f11 - f751e3b6b Fixed compiler errors in routing library when an old glibc is used. Review: https://reviews.apache.org/r/21822 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

git commit: Fixed the flaky SlaveRecovery MultipleFrameworks test.

2014-05-23 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master f751e3b6b - cbaa94c96 Fixed the flaky SlaveRecovery MultipleFrameworks test. Review: https://reviews.apache.org/r/21871 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

git commit: Added an abstraction for launching operations in a subprocess.

2014-06-06 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 9a19ea7f3 - 1920efdd8 Added an abstraction for launching operations in a subprocess. Review: https://reviews.apache.org/r/4 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

git commit: Added setns utilities to stout.

2014-06-06 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 1920efdd8 - 5cbdbf2a5 Added setns utilities to stout. Review: https://reviews.apache.org/r/22160 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/5cbdbf2a Tree:

git commit: Added terminal action to routing lib.

2014-06-06 Thread jieyu
in a packet), and is not needed for other types - // fo fitlers. - // TODO(jieyu): Consider setting flowid. - if (rtnl_tc_get_kind(TC_CAST(cls.get())) == std::string(u32)) { -int err = rtnl_u32_set_cls_terminal(cls.get()); -if (err != 0) { - return Error( - Failed to mark

[2/2] git commit: Used the new net::IP interfaces.

2014-06-06 Thread jieyu
Used the new net::IP interfaces. Review: https://reviews.apache.org/r/22295 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/559ea111 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/559ea111 Diff:

git commit: Added a hash function for PortRange.

2014-06-06 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master da48fd4ee - 7dc398f74 Added a hash function for PortRange. Review: https://reviews.apache.org/r/22333 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/7dc398f7 Tree:

git commit: Revert Allowed IP to be implicitly constructed from a u32 address.

2014-06-17 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 90415006d - 0c21277b6 Revert Allowed IP to be implicitly constructed from a u32 address. This reverts commit cdbd8bb18c9f43f84d4a17ad27346b7b6439d6d8. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

[1/2] git commit: Allowed launching subprocesses with flags.

2014-06-18 Thread jieyu
string name, const flags::Flag flag, flags.get()) { + Optionstring value = flag.stringify(flags.get()); + if (value.isSome()) { +// TODO(jieyu): Need a better way to escape quotes. For +// example, what if 'value.get()' contains a single quote? +string argument

git commit: Exposed constructors for types declared in Log.java.

2014-06-23 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 7200cca1c - 38f0cade8 Exposed constructors for types declared in Log.java. This allows java API users to construct objects in tests without extra hoop-jumping. This patch also fixed some javadoc errors. Review:

git commit: Modified two slave recovery tests to deal with the cases where 'update' in an isolator launches a subprocess.

2014-06-23 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master e0284d095 - 44345e8f3 Modified two slave recovery tests to deal with the cases where 'update' in an isolator launches a subprocess. Review: https://reviews.apache.org/r/22900 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo

[3/7] git commit: Introduced a Subcommand abstraction in stout.

2014-06-25 Thread jieyu
. The return value + // will be used as the exit code. + // TODO(jieyu): Consider passing in argc and argv as some users + // might want to access the remaining command line arguments. + virtual int execute() = 0; + + // Returns the pointer to the flags that will be used

[6/7] Refactored the mesos containerizer launcher to fix MESOS-1404.

2014-06-25 Thread jieyu
http://git-wip-us.apache.org/repos/asf/mesos/blob/d0046dca/src/slave/containerizer/mesos_containerizer.cpp -- diff --git a/src/slave/containerizer/mesos_containerizer.cpp b/src/slave/containerizer/mesos_containerizer.cpp deleted

[4/7] git commit: Added subcommand tests to stout tests.

2014-06-25 Thread jieyu
Added subcommand tests to stout tests. Review: https://reviews.apache.org/r/22764 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/6b7e6572 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/6b7e6572 Diff:

[2/7] git commit: Updated mesos to adapt to the new Subprocess interfaces.

2014-06-25 Thread jieyu
Updated mesos to adapt to the new Subprocess interfaces. Review: https://reviews.apache.org/r/22851 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/7f1774b8 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/7f1774b8

[1/7] git commit: Refactored Subprocess to support execve style launch and customized clone function.

2014-06-25 Thread jieyu
()); if (value.isSome()) { -// TODO(jieyu): Need a better way to escape quotes. For -// example, what if 'value.get()' contains a single quote? -string argument = -- + name + =' + value.get() + '; -command = strings::join( , command, argument

[5/7] git commit: Reverted Operation in favor of using Subcommand.

2014-06-25 Thread jieyu
Reverted Operation in favor of using Subcommand. Review: https://reviews.apache.org/r/22764 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/ae3c8e22 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/ae3c8e22 Diff:

[1/2] Added a network isolator based on port mapping.

2014-06-25 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 74e09a82e - e878c74fb http://git-wip-us.apache.org/repos/asf/mesos/blob/e878c74f/src/slave/containerizer/linux_launcher.cpp -- diff --git

git commit: Added unit tests for the port mapping network isolator.

2014-06-26 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master a8d5b19a1 - 44cfde68b Added unit tests for the port mapping network isolator. These tests test different protocols (TCP, UDP, ICMP, ARP, DNS) in different connection scenarios (C2C, H2C). Review: https://reviews.apache.org/r/22471

git commit: Added check for libnl headers in configure.ac.

2014-06-27 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master cc41082d0 - b523da556 Added check for libnl headers in configure.ac. Review: https://reviews.apache.org/r/23132 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

git commit: Enabled the support for creating nested cgroup structures. This is important for systemd support.

2014-06-27 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master b523da556 - 24ebd1ba8 Enabled the support for creating nested cgroup structures. This is important for systemd support. Review: https://reviews.apache.org/r/22977 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

git commit: Do not append endln on cgroup write.

2014-06-27 Thread jieyu
not append a endln! + // Recent kernels will cause operations to fail if 'endl' is + // appended to the control file. + file value; if (file.fail()) { ErrnoError error; // TODO(jieyu): Does std::ifstream actually set errno?

git commit: Used shared bind mount to fix MESOS-1558.

2014-07-02 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master e05922e36 - 0ab22141f Used shared bind mount to fix MESOS-1558. Review: https://reviews.apache.org/r/23246 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/0ab22141

git commit: Added metrics for port mapping network isolator.

2014-07-15 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 26f892b52 - e3d75503c Added metrics for port mapping network isolator. Review: https://reviews.apache.org/r/23492 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

git commit: Fixed a deadlock bug in Mutex.

2014-07-17 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 7747a3d03 - 0e0f068cf Fixed a deadlock bug in Mutex. Review: https://reviews.apache.org/r/23592 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/0e0f068c Tree:

git commit: Fixed a bug in port mapping metrics.

2014-07-17 Thread jieyu
; + +LOG(ERROR) The IP packet filter from veth + to host eth0 does not exist; + } + + return Nothing(); +} + + // This function returns the scripts that need to be run in child // context before child execs to complete network isolation. // TODO(jieyu): Use the launcher

git commit: Allowed the port mapping isolator to tolerate early child process termination.

2014-07-17 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 7971280f6 - 3a72cb5bc Allowed the port mapping isolator to tolerate early child process termination. Review: https://reviews.apache.org/r/23659 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

git commit: Generate u32 filter handle in user level to work around MESOS-1617.

2014-07-21 Thread jieyu
) : parent_(_parent), classifier_(_classifier), - priority_(_priority) {} + priority_(_priority), + handle_(_handle) {} // TODO(jieyu): Support arbitrary number of actions. template typename Action Filter(const queueing::Handle _parent, const Classifier

git commit: Fixed a bug in the test environment for disabling certain cgroups tests.

2014-07-21 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 6648e327b - 276b0dade Fixed a bug in the test environment for disabling certain cgroups tests. Review: https://reviews.apache.org/r/23781 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

git commit: Fixed a bug in port mapping test cleanup function.

2014-07-28 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master b1225aca3 - d02bb3c72 Fixed a bug in port mapping test cleanup function. Review: https://reviews.apache.org/r/23955 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

git commit: Adjusted the order in which filters are added/removed to tolerate slave crashes while adding/removing filters.

2014-07-30 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 34d4a2f5a - 7b3522b00 Adjusted the order in which filters are added/removed to tolerate slave crashes while adding/removing filters. Review: https://reviews.apache.org/r/24020 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo

git commit: Fixed the build error in port mapping tests.

2014-07-31 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 4ff5dd9a2 - a3cd43ef9 Fixed the build error in port mapping tests. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/a3cd43ef Tree:

[1/2] git commit: Fixed the flaky MasterTest.RecoveredSlaveReregisters test.

2014-08-05 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 1909a06e1 - 5acea829b Fixed the flaky MasterTest.RecoveredSlaveReregisters test. Review: https://reviews.apache.org/r/24344 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

[2/2] git commit: Made MASTER_PING_TIMEOUT a function for fixing MESOS-1673.

2014-08-05 Thread jieyu
b/src/master/constants.hpp index eadc52b..ce7995b 100644 --- a/src/master/constants.hpp +++ b/src/master/constants.hpp @@ -42,6 +42,9 @@ namespace master { // TODO(vinod): Move constants that are only used in flags to // 'master/flags.hpp'. +// TODO(jieyu): Use static functions for all

git commit: Fixed two flaky tests in GarbageCollectorIntegrationTest.

2014-08-05 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master df05b63f1 - 62dfd65d5 Fixed two flaky tests in GarbageCollectorIntegrationTest. Review: https://reviews.apache.org/r/24350 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

[2/2] git commit: Do not send ephemeral_ports resource to frameworks.

2014-08-06 Thread jieyu
/master/master.cpp @@ -3460,8 +3460,20 @@ void Master::offer(const FrameworkID frameworkId, framework-addOffer(offer); slave-addOffer(offer); +// TODO(jieyu): For now, we strip 'ephemeral_ports' resource from +// offers so that frameworks do not see this resource

[1/2] git commit: Made ephemeral ports a resource and killed private resources.

2014-08-06 Thread jieyu
--- a/include/mesos/resources.hpp +++ b/include/mesos/resources.hpp @@ -188,9 +188,14 @@ public: Optiondouble cpus() const; OptionBytes mem() const; OptionBytes disk() const; + // TODO(vinod): Provide a Ranges abstraction. OptionValue::Ranges ports() const; + // TODO(jieyu): Consider

git commit: Added executor metrics for slave.

2014-08-06 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 5e94bf097 - f63d94472 Added executor metrics for slave. Review: https://reviews.apache.org/r/24124 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/f63d9447 Tree:

git commit: Changed socket closed while receiving to VLOG(2).

2014-08-06 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master f63d94472 - 3945454da Changed socket closed while receiving to VLOG(2). Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/3945454d Tree:

git commit: Fixed a bug in slave when launching container.

2014-08-07 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 4a6e69e69 - 836b0c2d8 Fixed a bug in slave when launching container. Review: https://reviews.apache.org/r/24440 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

git commit: Modified the default for ephemeral ports per container.

2014-08-07 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 039f84b5d - d3eede1a1 Modified the default for ephemeral ports per container. Review: https://reviews.apache.org/r/24461 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

[3/6] git commit: Made value in CommandInfo optional and added argv.

2014-08-13 Thread jieyu
Made value in CommandInfo optional and added argv. Review: https://reviews.apache.org/r/24619 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/038d8337 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/038d8337 Diff:

[4/6] git commit: Refactored the protobuf message comparison logic.

2014-08-13 Thread jieyu
Refactored the protobuf message comparison logic. Review: https://reviews.apache.org/r/24631 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/2d4eb0ef Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/2d4eb0ef Diff:

[1/6] git commit: Updated command executor to use the new CommandInfo.

2014-08-13 Thread jieyu
+118,25 @@ public: return; } +// Sanity checks. CHECK(task.has_command()) Expecting task task.task_id() to have a command!; +// TODO(jieyu): For now, we just fail the executor if the task's +// CommandInfo is not valid. The framework

[2/6] git commit: Updated mesos containerizer launcher to use the new CommandInfo.

2014-08-13 Thread jieyu
; +} + } + TryNothing close = os::close(flags.pipe_write.get()); if (close.isError()) { cerr Failed to close pipe[1]: close.error() endl; @@ -162,10 +176,22 @@ int MesosContainerizerLaunch::execute() return 1; } + // TODO(jieyu): Currently, we only accept shell commands

[6/6] git commit: Updated health check to use the new CommandInfo.

2014-08-13 Thread jieyu
Updated health check to use the new CommandInfo. Review: https://reviews.apache.org/r/24632 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/afc65bf0 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/afc65bf0 Diff:

[1/2] git commit: Revert Refactored the protobuf message comparison logic. This reverts commit 2d4eb0ef3c162502595f135408b0fe42cf29ebfa.

2014-08-13 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 849fc4d36 - 30fdabe1a Revert Refactored the protobuf message comparison logic. This reverts commit 2d4eb0ef3c162502595f135408b0fe42cf29ebfa. The original equality check does not care about the order of repeated fields (e.g., environments).

[2/2] git commit: Updated equality check for CommandInfo.

2014-08-13 Thread jieyu
Updated equality check for CommandInfo. Review: https://reviews.apache.org/r/24658 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/30fdabe1 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/30fdabe1 Diff:

git commit: Fixed a compiler warning in values_tests.cpp.

2014-08-13 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 4700fadf0 - 5a4094b36 Fixed a compiler warning in values_tests.cpp. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/5a4094b3 Tree:

[4/4] git commit: Fixed the flaky SlaveRecoveryTest.ShutdownSlave.

2014-08-13 Thread jieyu
Fixed the flaky SlaveRecoveryTest.ShutdownSlave. Review: https://reviews.apache.org/r/24678 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/93c39b89 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/93c39b89 Diff:

[3/4] git commit: Updated mesos to use os::execvpe.

2014-08-13 Thread jieyu
Updated mesos to use os::execvpe. Review: https://reviews.apache.org/r/24682 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/8efdb510 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/8efdb510 Diff:

[1/4] git commit: Updated subprocess to use os::execvpe.

2014-08-13 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 5a7f66e13 - 93c39b89e Updated subprocess to use os::execvpe. Review: https://reviews.apache.org/r/24681 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/49e94f3a Tree:

[2/4] git commit: Added os::execvpe to stout.

2014-08-13 Thread jieyu
Added os::execvpe to stout. Review: https://reviews.apache.org/r/24679 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/bc5ab04d Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/bc5ab04d Diff:

git commit: Fixed a few compiler warnings in stout.

2014-08-14 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 883c7256c - b70a863d2 Fixed a few compiler warnings in stout. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/b70a863d Tree:

git commit: Added document for network monitoring.

2014-08-15 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 6f316b55b - 30a56be17 Added document for network monitoring. Review: https://reviews.apache.org/r/24719 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/30a56be1 Tree:

[2/2] git commit: Fixed libprocess tests due to the new io::read semantics.

2014-08-16 Thread jieyu
Fixed libprocess tests due to the new io::read semantics. Review: https://reviews.apache.org/r/24772 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/44d0bae8 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/44d0bae8

[1/2] git commit: Cleanup mesos due to the new io::read semantics.

2014-08-16 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 0bc57b89a - 49dcd833e Cleanup mesos due to the new io::read semantics. Review: https://reviews.apache.org/r/24774 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

[2/2] git commit: Updated the upgrades.md for 0.20.0.

2014-08-16 Thread jieyu
Updated the upgrades.md for 0.20.0. Review: https://reviews.apache.org/r/24781 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/bb3d0fa8 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/bb3d0fa8 Diff:

git commit: Added documentation for Docker containerizer.

2014-08-16 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master bb3d0fa8a - 42d53ebe2 Added documentation for Docker containerizer. Review: https://reviews.apache.org/r/24775 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

[2/2] git commit: Disabled glog signal handler for libprocess tests.

2014-08-16 Thread jieyu
/libprocess/src/tests/main.cpp @@ -19,7 +19,9 @@ int main(int argc, char** argv) process::initialize(); // Install default signal handler. - installFailureSignalHandler(); + // TODO(jieyu): We temporarily disable this since it causes some + // flaky tests. Re-enable it once we find

[1/2] git commit: Disabled glog signal handler for stout tests.

2014-08-16 Thread jieyu
. - installFailureSignalHandler(); + // TODO(jieyu): We temporarily disable this since it causes some + // flaky tests. Re-enable it once we find the root cause. + // installFailureSignalHandler(); return RUN_ALL_TESTS(); }

git commit: Fixed style issues in CHANGELOG.

2014-08-16 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 2f864bbda - ae965b40a Fixed style issues in CHANGELOG. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/ae965b40 Tree:

Git Push Summary

2014-08-17 Thread jieyu
Repository: mesos Updated Tags: refs/tags/0.20.0-rc1 [created] ae965b40a

  1   2   3   4   5   6   7   8   9   10   >