mesos git commit: Added common command utils file.

2016-01-27 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 8f75d3bb8 -> 011121bd6 Added common command utils file. This common file is a good place to add common command line utilities like tar, digests(sha256, sha512, etc). Currently this functionality is spread in the code base and this change

mesos git commit: Fixed a flaky test in disk quota tests.

2016-01-27 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 46956319d -> 8f75d3bb8 Fixed a flaky test in disk quota tests. Review: https://reviews.apache.org/r/42887 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/8f75d3bb

mesos git commit: Used absolute paths for excludes paths in posix disk isolator.

2016-01-27 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 011121bd6 -> cfdcbf3c5 Used absolute paths for excludes paths in posix disk isolator. Review: https://reviews.apache.org/r/42888 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

mesos git commit: Fixed ShasumTest.SHA512SimpleFile on centos7.

2016-02-01 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 8b7f0f5c2 -> 8b5523d2c Fixed ShasumTest.SHA512SimpleFile on centos7. Review: https://reviews.apache.org/r/43014/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

mesos git commit: Fixed small style issues in src/Makefile.am.

2016-02-03 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 5cf3571ab -> 474f5056a Fixed small style issues in src/Makefile.am. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/474f5056 Tree:

[1/3] mesos git commit: Implemented docker runtime isolator interface.

2016-02-03 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 474f5056a -> 0b0a3dc54 Implemented docker runtime isolator interface. Review: https://reviews.apache.org/r/43021 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

[2/3] mesos git commit: Added protobuf fields for docker runtime isolator.

2016-02-03 Thread jieyu
Added protobuf fields for docker runtime isolator. Review: https://reviews.apache.org/r/43022/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/2d5d14f0 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/2d5d14f0 Diff:

[3/3] mesos git commit: Plugged in docker runtime isolator.

2016-02-03 Thread jieyu
Plugged in docker runtime isolator. Review: https://reviews.apache.org/r/43036/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/0b0a3dc5 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/0b0a3dc5 Diff:

mesos git commit: Ignored empty NetworkSettings.IPAddress from docker inspect.

2016-01-29 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 97ccbd23f -> 21e080c5a Ignored empty NetworkSettings.IPAddress from docker inspect. Review: https://reviews.apache.org/r/43001 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

mesos git commit: Fixed some typos.

2016-01-29 Thread jieyu
x). path = info->directory; } else { // Otherwise it is a disk resource (such as a persistent volume) @@ -387,7 +387,7 @@ public: { // TODO(jieyu): 'excludes' is not supported on OSX. We should // either return a Failure here, or does not allow 'excludes' to -//

mesos git commit: Fixed broken build due to signed comparison warning with GCC 5.3.0.

2016-01-29 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master fac024fda -> 86e7efb44 Fixed broken build due to signed comparison warning with GCC 5.3.0. Review: https://reviews.apache.org/r/42968/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

mesos git commit: Added a status method to the Isolator interface.

2016-01-28 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 7449711db -> 8c60f871a Added a status method to the Isolator interface. This method can be used to query the run-time state of isolator specific properties associated with a container. Review: https://reviews.apache.org/r/42832/

[1/4] mesos git commit: Marked an unused function parameter appropriately in stout.

2016-02-02 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 8b5523d2c -> b8122f110 Marked an unused function parameter appropriately in stout. Review: https://reviews.apache.org/r/42971/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

[3/4] mesos git commit: Marked some unused function parameters in libprocess appropriately.

2016-02-02 Thread jieyu
Marked some unused function parameters in libprocess appropriately. Review: https://reviews.apache.org/r/42973/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/16d982c5 Tree:

[4/4] mesos git commit: Removed unused variable in libprocess.

2016-02-02 Thread jieyu
Removed unused variable in libprocess. Review: https://reviews.apache.org/r/42974/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/b8122f11 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/b8122f11 Diff:

[2/4] mesos git commit: Fixed a minor bug in stout's Flags package.

2016-02-02 Thread jieyu
Fixed a minor bug in stout's Flags package. Unintended inequality comparison between pointer value and 0. Review: https://reviews.apache.org/r/42972/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/79782ce9 Tree:

mesos git commit: Temporarily disabled ShasumTest.SHA512SimpleFile.

2016-01-29 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 6e85d116b -> 7518b3403 Temporarily disabled ShasumTest.SHA512SimpleFile. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/7518b340 Tree:

mesos git commit: Added utility function to compute SHA512 digest.

2016-01-28 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master ad058db1b -> ebc85487c Added utility function to compute SHA512 digest. Review: https://reviews.apache.org/r/42773/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

[2/3] mesos git commit: Used uri::Fetcher to pull docker images in docker registry puller.

2016-02-23 Thread jieyu
tryPullerProcess( -const Owned& registry, -const Duration& timeout) - : registryClient_(registry), -pullTimeout_(timeout) {} +const string& _storeDir, +const http::URL& _defaultRegistryUrl, +const Shared& _fetcher) + : storeDir(_storeDir), +defa

[3/3] mesos git commit: Removed the restriction that /tmp needs to be writable in new rootfs.

2016-02-23 Thread jieyu
); - if (mkdir.isError()) { - return Error("Failed to create /tmp in chroot: " + mkdir.error()); - } +return Error("/tmp in chroot does not exist"); + } - Try chmod = os::chmod( - path::join(root, "tmp"), - S_IRWXU | S_IRWXG | S_

[1/3] mesos git commit: Refactored and simplified the docker puller interfaces.

2016-02-23 Thread jieyu
pulling.contains(name)) { Owned<Promise> promise(new Promise()); -Future future = puller->pull(reference, Path(staging.get())) - .then(defer(self(), ::moveLayers, lambda::_1)) - .then(defer(self(), ::storeImage, reference, lambda::_1)) +Future future = puller->pull(re

[2/2] mesos git commit: Fixed the bug in linux fs for creating fd symlinks.

2016-02-23 Thread jieyu
Fixed the bug in linux fs for creating fd symlinks. Review: https://reviews.apache.org/r/43912/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/41343a7a Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/41343a7a Diff:

[1/2] mesos git commit: Removed the unused docker registry client and token manager.

2016-02-23 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 14f070fda -> 41343a7a6 Removed the unused docker registry client and token manager. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/57f8aa32 Tree:

mesos git commit: Fixed chdir to an empty directory error in docker runtime isolator.

2016-02-23 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 41343a7a6 -> eaa9f14a7 Fixed chdir to an empty directory error in docker runtime isolator. Review: https://reviews.apache.org/r/43854/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

mesos git commit: Added an end-to-end test for docker registry puller.

2016-02-26 Thread jieyu
ProvisionerDockerRegistryPullerTest : public TemporaryDirectoryTest {}; +#ifdef __linux__ +class ProvisionerDockerRegistryPullerTest : public MesosTest {}; -TEST_F(ProvisionerDockerRegistryPullerTest, INTERNET_CURL_Pull) +// TODO(jieyu): This is a ROOT test because of MESOS-4757. Remove the +/

mesos git commit: Added documentation for `cgroups/net_cls` isolator.

2016-02-26 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master b66f6635c -> 6f47f7175 Added documentation for `cgroups/net_cls` isolator. Review: https://reviews.apache.org/r/43796/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

mesos git commit: Added fs::supported() function.

2016-02-28 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master c5a40c03f -> 404cd1506 Added fs::supported() function. Review: https://reviews.apache.org/r/43718/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/404cd150 Tree:

mesos git commit: Remove unused src/common/date_utils.{c, h}pp (MESOS-4792).

2016-02-28 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master f5b2253f5 -> c5a40c03f Remove unused src/common/date_utils.{c,h}pp (MESOS-4792). Review: https://reviews.apache.org/r/44147/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

mesos git commit: Added overlayfs provisioning backend.

2016-02-28 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 404cd1506 -> 465df71e8 Added overlayfs provisioning backend. Review: https://reviews.apache.org/r/43932/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/465df71e

mesos git commit: Fixed the compile issue on OSX.

2016-02-28 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 465df71e8 -> d5fee86af Fixed the compile issue on OSX. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/d5fee86a Tree:

[6/6] mesos git commit: Updated docs for reservation, volumes, and authZ.

2016-02-26 Thread jieyu
Updated docs for reservation, volumes, and authZ. This updates the authorization documentation to include the new `roles` object for the `CreateVolume` and `ReserveResources` ACLs. The docs for persistent volumes and dynamic reservations are also updated to reflect the new authorization behavior.

[2/6] mesos git commit: Removed unnecessary parameter from validation function.

2016-02-26 Thread jieyu
Removed unnecessary parameter from validation function. Now that Reserve operations are authorized for particular roles, it is unnecessary to pass the framework's role into the validation function for Reserve operations. The function previously ensured that a framework could only reserve

[1/6] mesos git commit: Changed object of `ReserveResources` ACL to `roles`.

2016-02-26 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 437680300 -> 895012058 Changed object of `ReserveResources` ACL to `roles`. This solves a problem in which any principal could reserve resources for any role using the '/reserve' operator endpoint. A new test,

[3/6] mesos git commit: Changed object of `CreateVolume` ACL to `roles`.

2016-02-26 Thread jieyu
Changed object of `CreateVolume` ACL to `roles`. This solves a problem in which any principal could create volumes for any role using the '/create-volumes' operator endpoint. Review: https://reviews.apache.org/r/43782/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

mesos git commit: Added tests for the Docker URI fetcher plugin.

2016-01-21 Thread jieyu
uot;uri/schemes/hdfs.hpp" #include "uri/schemes/http.hpp" namespace http = process::http; +using std::list; using std::string; using process::Future; @@ -199,6 +204,96 @@ TEST_F(HadoopFetcherPluginTest, FetchNonExistingFile) AWAIT_FAILED(fetcher.get()->fetch(uri, dir));

mesos git commit: Fixed a typo in the comments of parseImageReference().

2016-01-25 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master f0f4c3440 -> f8ab6d091 Fixed a typo in the comments of parseImageReference(). Review: https://reviews.apache.org/r/42481/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

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

2016-01-25 Thread jieyu
Fixed a typo in an example framework. Review: https://reviews.apache.org/r/42765/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/1aeed335 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/1aeed335 Diff:

[1/3] mesos git commit: Improved code style slightly in stout.

2016-01-25 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master f8ab6d091 -> 1f396b9a1 Improved code style slightly in stout. Review: https://reviews.apache.org/r/42764/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/0f493b55

[3/3] mesos git commit: Removed an unused variable in jvm.cpp.

2016-01-25 Thread jieyu
Removed an unused variable in jvm.cpp. Review: https://reviews.apache.org/r/42766/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/1f396b9a Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/1f396b9a Diff:

[4/5] mesos git commit: Added unit test-case for CgroupsNetClsIsolatorProcess.

2016-01-20 Thread jieyu
Added unit test-case for CgroupsNetClsIsolatorProcess. Review: https://reviews.apache.org/r/42098/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/43b94547 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/43b94547

[5/5] mesos git commit: Added a filter to disable NetClsIsolator tests.

2016-01-20 Thread jieyu
Added a filter to disable NetClsIsolator tests. We will disable the NetClsIsolator tests in case the net_cls cgroup subsystem is disabled. Review: https://reviews.apache.org/r/42211/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

[3/5] mesos git commit: Added cgroup/net_cls to the Mesos containerizer isolation flags.

2016-01-20 Thread jieyu
Added cgroup/net_cls to the Mesos containerizer isolation flags. Review: https://reviews.apache.org/r/42097/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/637c0706 Tree:

[1/5] mesos git commit: Specified the CgroupsNetClsIsolatorProcess class.

2016-01-20 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master d31f9152a -> 6af5f0597 Specified the CgroupsNetClsIsolatorProcess class. This added the ability to isolate a Mesos container using the net_cls cgroup subsystem. Review: https://reviews.apache.org/r/42047/ Project:

mesos git commit: Re-ordered the list of using clauses in net_cls.cpp.

2016-01-20 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 99a2980af -> 894dbb21f Re-ordered the list of using clauses in net_cls.cpp. Review: https://reviews.apache.org/r/42566/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

mesos git commit: Uses adaptor::reverse for reverse iteration in the code base.

2016-01-20 Thread jieyu
- + foreach (const Owned& isolator, adaptor::reverse(isolators)) { // We'll try to clean up all isolators, waiting for each to // complete and continuing if one fails. // TODO(jieyu): Technically, we cannot bind 'isolator' here

mesos git commit: Moved ExecutorInfo and Option TaskInfo into ContainerConfig.

2016-01-23 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 9ca66cab1 -> 2c9136209 Moved ExecutorInfo and Option TaskInfo into ContainerConfig. Review: https://reviews.apache.org/r/42690/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

mesos git commit: Ignored MOUNT type disk for disk quota enforcement.

2016-01-26 Thread jieyu
Process::update( } } + // TODO(jieyu): For persistent volumes, validate that there is +// only one Resource object associated with it. We could have +// multiple Resource objects associated with the sandbox because +// it might be a mix of reserved and unreserved resources.

[1/2] mesos git commit: Defined `status` method for `ComposingContainerizer`.

2016-02-16 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 195464c3f -> 74c503658 Defined `status` method for `ComposingContainerizer`. Review: https://reviews.apache.org/r/43564/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

mesos git commit: Fixed minor style issues in command_utils.cpp.

2016-02-16 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 74c503658 -> 3e68c66ba Fixed minor style issues in command_utils.cpp. Review: https://reviews.apache.org/r/43638/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

[1/2] mesos git commit: Added common compression utilities.

2016-02-17 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 250439f5b -> 4107f14e3 Added common compression utilities. Added support for GZIP compress and uncompress. Review: https://reviews.apache.org/r/43546/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

[2/2] mesos git commit: Introduced Appc image fetcher.

2016-02-17 Thread jieyu
Introduced Appc image fetcher. Added implementation for simple image discovery for Appc images. Review: https://reviews.apache.org/r/43336/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/4107f14e Tree:

[2/2] mesos git commit: Searialized invocation of `await` in the status method.

2016-02-17 Thread jieyu
Searialized invocation of `await` in the status method. Review: https://reviews.apache.org/r/43673/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/b45b9df7 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/b45b9df7

[1/2] mesos git commit: Introduced `Sequence` in container.

2016-02-17 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 4107f14e3 -> b45b9df71 Introduced `Sequence` in container. The `Sequence` will be used to serialize the invocation for status requests from isolators for a given container. Review: https://reviews.apache.org/r/43672/ Project:

mesos git commit: Documented how the replicated log works.

2016-02-18 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 9a2c10d7d -> 454cdf42d Documented how the replicated log works. This is closely based on an (unpublished) blog post by Jie Yu. Review: https://reviews.apache.org/r/43712 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

[2/2] mesos git commit: Fixed some style issues in docker store.

2016-02-19 Thread jieyu
Fixed some style issues in docker store. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/ca0df270 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/ca0df270 Diff:

[1/2] mesos git commit: Fixed bug in appc cache's find logic.

2016-02-19 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master b6ac19bf5 -> 2ec9aa3f4 Fixed bug in appc cache's find logic. Review: https://reviews.apache.org/r/43775/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/6c54067d

[2/2] mesos git commit: Increased the timeout in disk-heavy FilesystemIsolatorTests.

2016-02-19 Thread jieyu
Increased the timeout in disk-heavy FilesystemIsolatorTests. Increases by 2x the amount of wait time in the `LinuxFilesystemIsolatorTest.ROOT_ImageInVolumeWithRootFilesystem` and `LinuxFilesystemIsolatorTest.ROOT_MultipleContainers` tests. Review: https://reviews.apache.org/r/43793/ Project:

[1/3] mesos git commit: Added a TODO about handling slashs in image reference.

2016-02-19 Thread jieyu
t;pair<string, string>>> LocalPullerProcess::pull( const spec::ImageReference& reference, const string& directory) { + // TODO(jieyu): We need to handle the case where the image reference + // contains a slash '/'. const string tarPath = paths::getImageArchiveTarP

[3/3] mesos git commit: Combined two onAny together in docker store.

2016-02-19 Thread jieyu
Combined two onAny together in docker store. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/fdeb55a0 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/fdeb55a0 Diff:

[2/3] mesos git commit: Used untar from command utils in local docker store.

2016-02-19 Thread jieyu
Used untar from command utils in local docker store. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/db985e5b Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/db985e5b Diff:

[1/6] mesos git commit: Fixed local puller switch condition to support docker registry.

2016-02-10 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master f2a71af11 -> e84405800 Fixed local puller switch condition to support docker registry. Review: https://reviews.apache.org/r/43451/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

[6/6] mesos git commit: Prevented linux fs isolator mounting rootfs for command executor.

2016-02-10 Thread jieyu
Prevented linux fs isolator mounting rootfs for command executor. Review: https://reviews.apache.org/r/43456/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/e8440580 Tree:

[2/6] mesos git commit: Removed `Volumes` in docker v1 manifest protobuf.

2016-02-10 Thread jieyu
Removed `Volumes` in docker v1 manifest protobuf. Review: https://reviews.apache.org/r/43452/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/aed32866 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/aed32866 Diff:

[3/6] mesos git commit: Added shell flag to mesos-execute to run image default config.

2016-02-10 Thread jieyu
Added shell flag to mesos-execute to run image default config. Review: https://reviews.apache.org/r/43453/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/ab9aa58f Tree:

[4/6] mesos git commit: Fixed owned pointer reset in containerizer launch.

2016-02-10 Thread jieyu
Fixed owned pointer reset in containerizer launch. Review: https://reviews.apache.org/r/43454/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/0d74fb6a Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/0d74fb6a Diff:

[2/2] mesos git commit: Added rmdir error string to Appc store fetch.

2016-03-01 Thread jieyu
Added rmdir error string to Appc store fetch. Review: https://reviews.apache.org/r/44231/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/12de9480 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/12de9480 Diff:

[1/2] mesos git commit: Added FS_DEFAULT case in rmdir.

2016-03-01 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 4f59f9804 -> 12de94803 Added FS_DEFAULT case in rmdir. We currently dont handle special files like device files in rmdir. This change adds FS_DEFAULT as one of the cases where we try to unlink a file. Reference:

mesos git commit: Added more verbose logging in docker provisioner store.

2016-03-01 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 9f1b115a6 -> 18882493c Added more verbose logging in docker provisioner store. Review: https://reviews.apache.org/r/44164/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

mesos git commit: Added a check when umounting persistent volumes in docker containerizer.

2016-03-01 Thread jieyu
here is only one docker container +// running per container Id and no other mounts will have the +// container Id name. We might need to revisit if this is no +// longer true. +// +// TODO(jieyu): Currently, we don't enforce that slave's work_dir +// is a slave+shared mount (si

[2/4] mesos git commit: Introduced the `--cgroups_net_cls_secondary_handles` flag in the agent.

2016-03-01 Thread jieyu
Introduced the `--cgroups_net_cls_secondary_handles` flag in the agent. Review: https://reviews.apache.org/r/43915/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/c91d2999 Tree:

[1/4] mesos git commit: Modified `NetClsHandleManager` to take a range of secondary handles.

2016-03-01 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master a1a9cd593 -> 4f59f9804 Modified `NetClsHandleManager` to take a range of secondary handles. The `alloc`, `free` and `reserve` methods of `NetClsHandleManager` can now work with a specified range of secondary handles instead of assuming

mesos git commit: Added docker runtime isolator check if image providers include docker.

2016-03-01 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 4194e395d -> c7dea5888 Added docker runtime isolator check if image providers include docker. Review: https://reviews.apache.org/r/44221/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

[3/4] mesos git commit: Added the flag --cgroups_net_cls_secondary_handles to documentation.

2016-03-01 Thread jieyu
Added the flag --cgroups_net_cls_secondary_handles to documentation. Review: https://reviews.apache.org/r/44182/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/db26aef9 Tree:

[4/4] mesos git commit: Modified testcase to test `--cgroups_net_cls_secondary_handles` flag.

2016-03-01 Thread jieyu
Modified testcase to test `--cgroups_net_cls_secondary_handles` flag. Review: https://reviews.apache.org/r/43916/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/4f59f980 Tree:

mesos git commit: Fixed typos in comments in libprocess.

2016-03-10 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master f170f6088 -> 57a574fc9 Fixed typos in comments in libprocess. Review: https://reviews.apache.org/r/44666/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/57a574fc

mesos git commit: Add 'name' field into NetworkInfo.

2016-03-10 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 57a574fc9 -> 2a436e02f Add 'name' field into NetworkInfo. Review: https://reviews.apache.org/r/44004/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/2a436e02 Tree:

mesos git commit: Added document for overlayfs backend.

2016-03-10 Thread jieyu
/docs/container-image.md +++ b/docs/container-image.md @@ -285,7 +285,28 @@ agent flag `--sandbox_directory` properly). ### Overlay -TODO(jieyu): Add documentation for overlay here. +The reson overlay backend was introduced is because the copy backend +will waste IO and space while the bind b

[2/5] mesos git commit: Refactored AppcImageFetcherTest.

2016-03-10 Thread jieyu
Refactored AppcImageFetcherTest. Changes: - Changed TestAppcImageServer mock methods to real implementation that serves http requests. This will allow the TestAppcImageServer to serve multiple images in a test. - Made TestAppcImageServer loadable so that it can serve

mesos git commit: Updated doc for the newly introduced 'NetworkInfo.name' field.

2016-03-10 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 5172b50a6 -> 8bb8550e7 Updated doc for the newly introduced 'NetworkInfo.name' field. Review: https://reviews.apache.org/r/44696/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

[4/5] mesos git commit: Fixed AppcImageFetcherTest for manifest formatting.

2016-03-10 Thread jieyu
Fixed AppcImageFetcherTest for manifest formatting. Review: https://reviews.apache.org/r/44455/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/696b260e Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/696b260e Diff:

[3/5] mesos git commit: Added unit test for file URI fetcher.

2016-03-10 Thread jieyu
Added unit test for file URI fetcher. Review: https://reviews.apache.org/r/44299/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/dd82b30b Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/dd82b30b Diff:

[1/2] mesos git commit: Added test for rmdir with device file.

2016-03-15 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 3e85b743a -> 5278e5cc5 Added test for rmdir with device file. Existing tests did not cover the case of removing directories with special files like device files. Review: https://reviews.apache.org/r/44873/ Project:

[2/2] mesos git commit: Added support for FTS_SLNONE in rmdir.

2016-03-15 Thread jieyu
Added support for FTS_SLNONE in rmdir. Review: https://reviews.apache.org/r/44874/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/5278e5cc Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/5278e5cc Diff:

mesos git commit: Fixed linux fs isolator multi containers test.

2016-03-15 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 5278e5cc5 -> 3d7feed63 Fixed linux fs isolator multi containers test. Review: https://reviews.apache.org/r/44867/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

[3/4] mesos git commit: Implemented runtime isolator default cmd test.

2016-03-11 Thread jieyu
Implemented runtime isolator default cmd test. Review: https://reviews.apache.org/r/44469/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/2e478448 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/2e478448 Diff:

[1/4] mesos git commit: Created base docker image for test suite.

2016-03-11 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master c81a52ec2 -> 24ce5bcbc Created base docker image for test suite. Review: https://reviews.apache.org/r/43956/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/5c7b56d9

[2/4] mesos git commit: Implemented local puller shell command test.

2016-03-11 Thread jieyu
EADY_FOR(statusRunning, Seconds(60)); + EXPECT_EQ(task.task_id(), statusRunning->task_id()); + EXPECT_EQ(TASK_RUNNING, statusRunning->state()); + + AWAIT_READY(statusFinished); + EXPECT_EQ(task.task_id(), statusFinished->task_id()); + EXPECT_EQ(TASK_FINISHED, statusFinished->st

mesos git commit: Fixed the logic for default docker cmd case.

2016-03-07 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 7de8cdd4d -> e42f740cc Fixed the logic for default docker cmd case. Review: https://reviews.apache.org/r/44468/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

mesos git commit: Handled chunked responses in docker URI fetcher.

2016-03-19 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 76589d75c -> c97b79a50 Handled chunked responses in docker URI fetcher. This is because if the response is chunked, curl will output the dechunked version. That will confuse the http response decoder because the header shows that it is

mesos git commit: Fix the mis-leading URI fetcher error message (MESOS-4954).

2016-03-19 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 9029e4347 -> 76589d75c Fix the mis-leading URI fetcher error message (MESOS-4954). This fix changes the URL fetcher error message from LOG(ERROR) to LOG(INFO) as the plugin is actually skipped if it is not created. Review:

[1/8] mesos git commit: Multiple Disk: Added persistent volumes tests for `MOUNT` type.

2016-03-28 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 3b8ddc87e -> 3b023b7cb Multiple Disk: Added persistent volumes tests for `MOUNT` type. Made volume sizes consistent with disk sizes to conform with \`MOUNT\` requirements. Review: https://reviews.apache.org/r/42684/ Project:

[8/8] mesos git commit: Updated docs for deletion of persistent volumes.

2016-03-28 Thread jieyu
Updated docs for deletion of persistent volumes. Review: https://reviews.apache.org/r/45123/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/3b023b7c Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/3b023b7c Diff:

[3/8] mesos git commit: Fixed various style issues.

2016-03-28 Thread jieyu
Fixed various style issues. Avoid capturing temporaries by const reference, which is against the style guide. Fixup some whitespace as well. Review: https://reviews.apache.org/r/45118/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

[2/8] mesos git commit: Cleaned up header includes in tests.

2016-03-28 Thread jieyu
Cleaned up header includes in tests. Review: https://reviews.apache.org/r/45117/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/3302bc12 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/3302bc12 Diff:

mesos git commit: Fixed build breakage with CentOS 7.

2016-03-28 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 3b023b7cb -> 4c81f29b4 Fixed build breakage with CentOS 7. Review: https://reviews.apache.org/r/45403/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/4c81f29b Tree:

mesos git commit: Added support for "overlay" keyword.

2016-03-30 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 3f0d074ea -> e66a7790b Added support for "overlay" keyword. The "overlayfs" was renamed to "overlay" in kernel 4.2, for overlay support check function, it should check both "overlay" and "overlayfs" in "/proc/filesystems". Review:

mesos git commit: Updated docker containerizer private registry doc.

2016-04-06 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 03bb330b2 -> 24722e44a Updated docker containerizer private registry doc. Review: https://reviews.apache.org/r/45596/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

[1/2] mesos git commit: Migrate /monitor/statistics and /monitor/statistics.json to slave.

2016-04-06 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 1b807ab14 -> 4e86a8c1c Migrate /monitor/statistics and /monitor/statistics.json to slave. These two endpoints and their underlying logics are moved from ResourceMonitorProcess to slave process. ResourceMonitor is removed. Review:

[2/2] mesos git commit: Change RateLimiter::acquire() to be const.

2016-04-06 Thread jieyu
Change RateLimiter::acquire() to be const. In some cases, RateLimiter is wrapped in Shared<> which enforces const access of object. We want to avoid const_cast. Review: https://reviews.apache.org/r/45794/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

mesos git commit: Add support for docker user-defined networks.

2016-04-07 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 0f2f17aaf -> b18f5bf48 Add support for docker user-defined networks. Review: https://reviews.apache.org/r/42516/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

<    3   4   5   6   7   8   9   10   11   12   >