Re: Review Request 43015: Fixed persistent volumes with docker tasks.

2016-02-17 Thread Timothy Chen
that restriction now? - Timothy --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/43015/#review119340 --- On Feb. 16, 20

Re: Review Request 43015: Fixed persistent volumes with docker tasks.

2016-02-17 Thread Timothy Chen
utomatically generated e-mail. To reply, visit: https://reviews.apache.org/r/43015/#review119340 --- On Feb. 16, 2016, 3:33 a.m., Timothy Chen wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://rev

Re: Review Request 43015: Fixed persistent volumes with docker tasks.

2016-02-17 Thread Timothy Chen
s://reviews.apache.org/r/43015/#review119340 ------- On Feb. 16, 2016, 3:33 a.m., Timothy Chen wrote: > > --- > This is an automatically generated e-mail.

Re: Review Request 43015: Fixed persistent volumes with docker tasks.

2016-02-17 Thread Timothy Chen
; > > Alternatively, we can kill updatePersistentVolumes and inline it into > > mountPersistentVolumes. > > Timothy Chen wrote: > I think I simply forgot about it, let me add them. Actually I'll just drop a TODO since we don't support update as you mentioned. - Timothy ---

Re: Review Request 43015: Fixed persistent volumes with docker tasks.

2016-02-17 Thread Timothy Chen
d a new state so we're now more explicit. - Timothy --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/43015/#review119340 ------

Re: Review Request 43015: Fixed persistent volumes with docker tasks.

2016-02-17 Thread Timothy Chen
ated e-mail. To reply, visit: https://reviews.apache.org/r/43015/#review119340 ------- On Feb. 16, 2016, 3:33 a.m., Timothy Chen wrote: > > --- > This is an automaticall

Re: Review Request 43015: Fixed persistent volumes with docker tasks.

2016-02-18 Thread Timothy Chen
ed1c9a551f03a37d572470e4c495f5df834198cc src/tests/containerizer/docker_containerizer_tests.cpp 645bdcf095145097d8b8c65d592c787417883145 Diff: https://reviews.apache.org/r/43015/diff/ Testing --- make check Thanks, Timothy Chen

Re: Review Request 43015: Fixed persistent volumes with docker tasks.

2016-02-18 Thread Timothy Chen
ed1c9a551f03a37d572470e4c495f5df834198cc src/tests/containerizer/docker_containerizer_tests.cpp 645bdcf095145097d8b8c65d592c787417883145 Diff: https://reviews.apache.org/r/43015/diff/ Testing --- make check Thanks, Timothy Chen

Review Request 43790: Fixed container ids used in docker tests.

2016-02-19 Thread Timothy Chen
8541a9a3d2f40cd6e78ff8fba474da214017937a Diff: https://reviews.apache.org/r/43790/diff/ Testing --- make check Thanks, Timothy Chen

Re: Review Request 43790: Fixed container ids used in docker tests.

2016-02-19 Thread Timothy Chen
/docker_containerizer_tests.cpp 8541a9a3d2f40cd6e78ff8fba474da214017937a Diff: https://reviews.apache.org/r/43790/diff/ Testing --- make check Thanks, Timothy Chen

Re: Review Request 43854: Fixed chdir to an empty directory error.

2016-02-22 Thread Timothy Chen
354) <https://reviews.apache.org/r/43854/#comment181700> Do we have tests to test the docker runtime isolator? - Timothy Chen On Feb. 22, 2016, 10:52 p.m., Gilbert Song wrote: > > --- > This is an automatically gener

Re: Review Request 42390: Fixed fetching uris when slave is running inside a container.

2016-02-24 Thread Timothy Chen
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/42390/#review120516 --- Ship it! Ship It! - Timothy Chen On Jan. 20, 2016, 2:12 p.m

Re: Review Request 43963: Fixed flakiness in DockerContainerizerTest.ROOT_DOCKER_Logs.

2016-02-24 Thread Timothy Chen
/docker_containerizer_tests.cpp (line 1841) <https://reviews.apache.org/r/43963/#comment182103> Can you add the mesos ticket in the comments as well? it has good information about this. - Timothy Chen On Feb. 25, 2016, 2 a.m., Joseph Wu

Re: Review Request 44232: Added a check when umounting persistent volumes in docker containerizer.

2016-03-01 Thread Timothy Chen
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/44232/#review121554 --- Ship it! Ship It! - Timothy Chen On March 1, 2016, 11:50

Re: Review Request 44247: Remove race condition from filesystem_isolator_tests.cpp.

2016-03-01 Thread Timothy Chen
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/44247/#review121564 --- Ship it! Ship It! - Timothy Chen On March 2, 2016, 1:44 a.m

Re: Review Request 44247: Remove race condition from filesystem_isolator_tests.cpp.

2016-03-01 Thread Timothy Chen
changing how to use persistent volumes I no longer need them. - Timothy Chen On March 2, 2016, 1:44 a.m., Joerg Schad wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache

Re: Review Request 44360: Added a script to install the Nvidia GDK on a host.

2016-03-03 Thread Timothy Chen
360/#comment183834> Seems odd to add this in this commit? - Timothy Chen On March 4, 2016, 1:09 a.m., Kevin Klues wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://reviews.

Re: Review Request 43093: MESOS-4370 NetworkSettings.IPAddress field is deprectaed in Docker

2016-03-07 Thread Timothy Chen
, so if you can't or don't reply we will create a new patch based on this. - Timothy Chen On Feb. 17, 2016, 10:52 p.m., Travis Hegner wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > http

Re: Review Request 44414: Added documentation about container image support.

2016-03-07 Thread Timothy Chen
out a proper heading. - Timothy Chen On March 5, 2016, 2:20 a.m., Jie Yu wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://re

Re: Review Request 43093: MESOS-4370 NetworkSettings.IPAddress field is deprectaed in Docker

2016-03-07 Thread Timothy Chen
> On March 7, 2016, 5:36 p.m., Timothy Chen wrote: > > Are you still be able to work on this? We like to get this merged, so if > > you can't or don't reply we will create a new patch based on this. > > Travis Hegner wrote: > Hi Timothy, > &g

Re: Review Request 43093: MESOS-4370 NetworkSettings.IPAddress field is deprectaed in Docker

2016-03-07 Thread Timothy Chen
> On March 7, 2016, 5:36 p.m., Timothy Chen wrote: > > Are you still be able to work on this? We like to get this merged, so if > > you can't or don't reply we will create a new patch based on this. > > Travis Hegner wrote: > Hi Timothy, > &g

Re: Review Request 43093: MESOS-4370 NetworkSettings.IPAddress field is deprectaed in Docker

2016-03-08 Thread Timothy Chen
> On March 7, 2016, 5:36 p.m., Timothy Chen wrote: > > Are you still be able to work on this? We like to get this merged, so if > > you can't or don't reply we will create a new patch based on this. > > Travis Hegner wrote: > Hi Timothy, > &g

Re: Review Request 44531: Fixed parsing network ip address with docker.

2016-03-08 Thread Timothy Chen
/ Testing --- make check Thanks, Timothy Chen

Review Request 44531: Fixed parsing network ip address with docker.

2016-03-08 Thread Timothy Chen
Description --- Fixed parsing network ip address with docker. Diffs - src/docker/docker.cpp 52728707d985517e57525af7e470ccb468039373 Diff: https://reviews.apache.org/r/44531/diff/ Testing --- make check Thanks, Timothy Chen

Re: Review Request 44531: Fixed parsing network ip address with docker.

2016-03-08 Thread Timothy Chen
/ Testing --- make check Thanks, Timothy Chen

Re: Review Request 44672: Added normalize method to registry puller.

2016-03-10 Thread Timothy Chen
/registry_puller.cpp (line 173) <https://reviews.apache.org/r/44672/#comment185153> From the docker code base they're checking against docker.io, not regsitry-1.docker.io, as I assume registry-1 is not a permanent name. I would suggest we don't hard code that as well. - Timothy Chen O

Re: Review Request 44531: Fixed parsing network ip address with docker.

2016-03-10 Thread Timothy Chen
https://reviews.apache.org/r/44531/#review123025 ------- On March 8, 2016, 10:54 p.m., Timothy Chen wrote: > > --- > This is an automatically generated e-m

Re: Review Request 44661: Deprecated the `docker_stop_timeout` flag.

2016-03-14 Thread Timothy Chen
eep it all consistent. - Timothy Chen On March 14, 2016, 5:51 p.m., Alexander Rukletsov wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > h

Re: Review Request 44708: Fixed signed / unsigned comparison in docker.cpp.

2016-03-14 Thread Timothy Chen
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/44708/#review123534 --- Ship it! Ship It! - Timothy Chen On March 14, 2016, 5:50

Re: Review Request 44944: Handled chunked responses in docker URI fetcher.

2016-03-18 Thread Timothy Chen
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/44944/#review123979 --- Ship it! Ship It! - Timothy Chen On March 17, 2016, 1:50

Re: Review Request 44948: Add XFS disk resource isolator.

2016-03-19 Thread Timothy Chen
irectory << "' src/slave/containerizer/mesos/isolators/disk/xfs.cpp (line 226) <https://reviews.apache.org/r/44948/#comment186442> ditto - Timothy Chen On March 17, 2016, 3:38 a.m., James Peach wrote: > >

Re: Review Request 44660: Used `KillPolicy` and shutdown grace period in docker executor.

2016-03-20 Thread Timothy Chen
g/r/44660/#comment186488> This should fit 80 char width? - Timothy Chen On March 15, 2016, 4:04 p.m., Alexander Rukletsov wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://reviews.

Re: Review Request 45126: Cleaned up nested health checker launch code in command executor.

2016-03-21 Thread Timothy Chen
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/45126/#review124681 --- Ship it! Ship It! - Timothy Chen On March 21, 2016, 8:31

Re: Review Request 45186: Implemented user specified system config files support.

2016-03-24 Thread Timothy Chen
207) <https://reviews.apache.org/r/45186/#comment188079> We should use the path::absolute method here src/slave/containerizer/mesos/isolators/docker/runtime.cpp (line 219) <https://reviews.apache.org/r/45186/#comment188080> Also log when we cannot find it. - Timothy Che

Re: Review Request 45185: Introduced an agent flag 'system_config_files'.

2016-03-24 Thread Timothy Chen
g/r/45185/#comment188081> I think we should also mention this only applies when image provisioner is enabled and used. - Timothy Chen On March 23, 2016, 12:20 a.m., Gilbert Song wrote: > > --- > This is an automatically gener

Re: Review Request 45556: Minor style cleanups to docker health check code.

2016-03-31 Thread Timothy Chen
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/45556/#review126478 --- Ship it! Ship It! - Timothy Chen On March 31, 2016, 6:51

Re: Review Request 45555: Fix indent in docker executor health check code.

2016-03-31 Thread Timothy Chen
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/4/#review126479 --- Ship it! Ship It! - Timothy Chen On March 31, 2016, 6:51

Re: Review Request 45557: Clean up the health check launcher code in docker executor.

2016-03-31 Thread Timothy Chen
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/45557/#review126480 --- Ship it! Ship It! - Timothy Chen On March 31, 2016, 6:52

Re: Review Request 45453: Minor spacing cleanups in docker containerizer.

2016-03-31 Thread Timothy Chen
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/45453/#review126499 --- Ship it! Ship It! - Timothy Chen On March 29, 2016, 10:44

Re: Review Request 45707: Minor cleanups to command executor.

2016-04-04 Thread Timothy Chen
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/45707/#review126954 --- Ship it! Ship It! - Timothy Chen On April 4, 2016, 9:32 p.m

Re: Review Request 45454: Cleanup orphaned docker containers owned by previous agent instance.

2016-04-05 Thread Timothy Chen
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/45454/#review127119 --- Ship it! Ship It! - Timothy Chen On March 29, 2016, 10:44

Re: Review Request 45455: Added test for recovering orphaned docker containers.

2016-04-05 Thread Timothy Chen
/docker_containerizer_tests.cpp (line 1381) <https://reviews.apache.org/r/45455/#comment190261> I think instead of just checking the previous inspect, can you make sure that the container is actually stopped by using exists? - Timothy Chen On March 29, 2016, 10:44 p.m., Anand Mazumdar

Re: Review Request 45594: Introduced a new agent flag docker_config.

2016-04-05 Thread Timothy Chen
g/r/45594/#comment190360> Can you probably elaborate a bit more why a docker config file configuration is needed? I know it's most likely for pulling private registry docker files, but not quite obvious just by reading the help text. - Timothy Chen On April 5, 2016, 7:21 p.

Re: Review Request 36816: Supported HTTP in Mesos health check program.

2016-04-17 Thread Timothy Chen
org/r/36816/#comment192761> What other schemes are we looking to support besides http or not? What is the intention of making it a string instead of bool as before? - Timothy Chen On April 17, 2016, 9:14 a.m., haosdent huang

Re: Review Request 36816: Supported HTTP in Mesos health check program.

2016-04-17 Thread Timothy Chen
> > (Updated April 17, 2016, 9:14 a.m.) > > > Review request for mesos, Adam B, Alexander Rukletsov, Michael Park, and > Timothy Chen. > > > Bugs: MESOS-2533 > https://issues.apache.org/jira/browse/MESOS-2533 > > > Re

Re: Review Request 46142: Added Criteo to Powered by Mesos page.

2016-04-19 Thread Timothy Chen
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/46142/#review129544 --- Ship it! Ship It! - Timothy Chen On April 19, 2016, 12:13

Re: Review Request 33647: Only log processes in the slave cgroup on recovery.

2015-04-28 Thread Timothy Chen
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/33647/#review81905 --- Ship it! Ship It! - Timothy Chen On April 28, 2015, 11:48 p.m

Re: Review Request 29889: Recover Docker containers when mesos slave is in a container

2015-04-30 Thread Timothy Chen
5ec55 src/slave/containerizer/docker.cpp f9fc89a src/slave/flags.hpp d3b1ce1 src/slave/flags.cpp d0932b0 src/tests/docker_containerizer_tests.cpp c9d66b3 Diff: https://reviews.apache.org/r/29889/diff/ Testing --- make check Thanks, Timothy Chen

Re: Review Request 29889: Recover Docker containers when mesos slave is in a container

2015-05-01 Thread Timothy Chen
make check Thanks, Timothy Chen

Re: Review Request 29889: Recover Docker containers when mesos slave is in a container

2015-05-02 Thread Timothy Chen
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/29889/#review82287 ------- On May 1, 2015, 9:43 p.m., Timothy Chen wrote: > > --

Re: Review Request 29889: Recover Docker containers when mesos slave is in a container

2015-05-02 Thread Timothy Chen
make check Thanks, Timothy Chen

Re: Review Request 33249: Send statusUpdate to scheduler on containerizer launch failure

2015-05-04 Thread Timothy Chen
wrote: > Regarding the second problem, IMO, we should include a reason field in > Termination (https://issues.apache.org/jira/browse/MESOS-2035) and let > sendExecutorTerminatedStatusUpdate to propagate the termination reason to the > scheduler. > > Timothy Chen wrote: > Reason field sounds

Re: Review Request 33249: Send statusUpdate to scheduler on containerizer launch failure

2015-05-06 Thread Timothy Chen
wrote: > Regarding the second problem, IMO, we should include a reason field in > Termination (https://issues.apache.org/jira/browse/MESOS-2035) and let > sendExecutorTerminatedStatusUpdate to propagate the termination reason to the > scheduler. > > Timothy Chen wrote: > Reason field sounds

Re: Review Request 30643: Optionally specify executor for "mesos execute".

2015-05-07 Thread Timothy Chen
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/30643/#review82830 --- Are you still planning to merge this? - Timothy Chen On Feb. 4

Re: Review Request 33249: Send statusUpdate to scheduler on containerizer launch failure

2015-05-07 Thread Timothy Chen
We shouldn't need to destroy if none of the containerizers return true. - Timothy Chen On May 7, 2015, 4:17 p.m., Jay Buffington wrote: > > --- > This is an automatically generated e-mail. To reply, visit: >

Re: Review Request 29889: Recover Docker containers when mesos slave is in a container

2015-05-07 Thread Timothy Chen
------- On May 2, 2015, 8:22 p.m., Timothy Chen wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/29889/ > --

Re: Review Request 32982: Added reservation user guide.

2015-05-08 Thread Timothy Chen
difference between static reservation is the principal here, are you going to cover that? docs/reservation.md <https://reviews.apache.org/r/32982/#comment133926> What happens if you try to unreserve a reservation that is being used right now? - Timothy Chen On May 8, 2015, 6:57

Re: Review Request 29889: Recover Docker containers when mesos slave is in a container

2015-05-08 Thread Timothy Chen
make check Thanks, Timothy Chen

Re: Review Request 33249: Send statusUpdate to scheduler on containerizer launch failure

2015-05-08 Thread Timothy Chen
sually prefix the namespace. src/tests/docker_containerizer_tests.cpp <https://reviews.apache.org/r/33249/#comment134015> Remove the extra two spaces. - Timothy Chen On May 9, 2015, 2:42 a.m., Jay Buffington wrote: > > -

Re: Review Request 33249: Send statusUpdate to scheduler on containerizer launch failure

2015-05-11 Thread Timothy Chen
7;t be able to get the error message from it? - Timothy Chen On May 11, 2015, 5:10 p.m., Jay Buffington wrote: > > --- > This is an automatically generated e-mail. To reply, visit: >

Re: Review Request 33249: Send statusUpdate to scheduler on containerizer launch failure

2015-05-11 Thread Timothy Chen
g/r/33249/#comment134171> We don't enqueue destroy anymore, let's fix this comment. src/tests/slave_tests.cpp <https://reviews.apache.org/r/33249/#comment134173> I don't really understand this comment? And if you simply pause the clock your await won't work

Re: Review Request 33249: Send statusUpdate to scheduler on containerizer launch failure

2015-05-11 Thread Timothy Chen
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/33249/#review83308 --- Ship it! Ship It! - Timothy Chen On May 11, 2015, 10:06 p.m

Re: Review Request 33249: Send statusUpdate to scheduler on containerizer launch failure

2015-05-11 Thread Timothy Chen
comment. - Timothy Chen On May 11, 2015, 10:06 p.m., Jay Buffington wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache

Re: Review Request 33249: Send statusUpdate to scheduler on containerizer launch failure

2015-05-11 Thread Timothy Chen
> On May 11, 2015, 11:07 p.m., Timothy Chen wrote: > > Thanks Jay the changes looks reasonable to me, will wait for Jie to comment. > > Jay Buffington wrote: > Great, thanks! When you commit can you add the three separate commits > that are here: > https://github.

Re: Review Request 29889: Recover Docker containers when mesos slave is in a container

2015-05-12 Thread Timothy Chen
198line175> > > > > We should generally avoid bool args, because it is hard to see at the > > call site what they mean. > > > > Suggestions: > > - Use an enum. > > - Keep the exists() and running() methods, factor out what

Re: Review Request 30609: Added a function that reports file size, not following links.

2015-05-12 Thread Timothy Chen
Wouldn't you want to switch on an enum so when new enums are added you can get an warning? - Timothy Chen On May 12, 2015, 6:48 a.m., Bernd Mathiske wrote: > > --- > This is an automatically generated e-mail

Re: Review Request 30609: Added a function that reports file size, not following links.

2015-05-12 Thread Timothy Chen
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/30609/#review83497 --- Ship it! Ship It! - Timothy Chen On May 12, 2015, 9:23 p.m

Re: Review Request 34128: Enable different IP/Port for external access.

2015-05-12 Thread Timothy Chen
134539> I think overriding __address__ static is dangerous, since we use this variable in other places for other purposes, such as checking if we are communicating to a remote address, etc. I suggest we create a local address struct just for binding for listening to public traffic.

Re: Review Request 34138: AppC hash computation.

2015-05-12 Thread Timothy Chen
rs/appc/hash.hpp <https://reviews.apache.org/r/34138/#comment134559> WSTRINGIFY to print the exit code? - Timothy Chen On May 13, 2015, 12:47 a.m., Ian Downes wrote: > > --- > This is an automatically generated e

Re: Review Request 34135: Add filesystem/ isolators for persistent volumes.

2015-05-12 Thread Timothy Chen
r/isolators/filesystem/linux.cpp <https://reviews.apache.org/r/34135/#comment134569> ditto src/slave/containerizer/isolators/filesystem/linux.cpp <https://reviews.apache.org/r/34135/#comment134570> Log the umount error? src/slave/containerizer/isolators/filesystem/linux.cpp

Re: Review Request 34136: Add ContainerImage protobuf.

2015-05-14 Thread Timothy Chen
o deprecate and reintroduce new ones like we did the in past. - Timothy Chen On May 13, 2015, 12:47 a.m., Ian Downes wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://rev

Re: Review Request 34137: Add support for container image provisioners.

2015-05-14 Thread Timothy Chen
le to support multiple image provisioners in mesos containerizer in the future, so perhaps at least leave a comment that we need to change this in the future. src/slave/containerizer/provisioner.hpp <https://reviews.apache.org/r/34137/#comment134888> What would recover do? - Tim

Re: Review Request 29889: Recover Docker containers when mesos slave is in a container

2015-05-14 Thread Timothy Chen
make check Thanks, Timothy Chen

Re: Review Request 34139: AppC image discovery.

2015-05-14 Thread Timothy Chen
ems like appc so far is the only one that has a configurable discvoery mechanism and local dir - Timothy Chen On May 13, 2015, 12:47 a.m., Ian Downes wrote: > > --- > This is an automatically generated e-mail. To reply, visit: >

Re: Review Request 29889: Recover Docker containers when mesos slave is in a container

2015-05-15 Thread Timothy Chen
g/r/29889/#comment135013> change container to containerName - Timothy Chen On May 14, 2015, 9:39 p.m., Timothy Chen wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://reviews.

Re: Review Request 34310: Use IDLE scheduling for revocable CPU in cgroups isolator.

2015-05-15 Thread Timothy Chen
tps://reviews.apache.org/r/34310/#comment135147> What if the same set of resources contains both revocable and non-revocable resources? - Timothy Chen On May 16, 2015, 1:14 a.m., Ian Downes wrote: > > --- > This is an automati

Re: Review Request 34319: Refactored os::getenv() to return an option and updated its callers in stout.

2015-05-16 Thread Timothy Chen
/stout/os.hpp <https://reviews.apache.org/r/34319/#comment135177> Please fix the comment as we no longer have expected. - Timothy Chen On May 17, 2015, 4:51 a.m., Greg Mann wrote: > > --- > This is an automatically gener

Re: Review Request 34310: Use IDLE scheduling for revocable CPU in cgroups isolator.

2015-05-19 Thread Timothy Chen
> On May 16, 2015, 4:46 a.m., Timothy Chen wrote: > > src/slave/containerizer/isolators/cgroups/cpushare.cpp, line 345 > > <https://reviews.apache.org/r/34310/diff/1/?file=961963#file961963line345> > > > > What if the same set of resources contains both

Re: Review Request 34319: Refactored os::getenv() to return an option and updated its callers in stout.

2015-05-20 Thread Timothy Chen
/include/stout/os.hpp <https://reviews.apache.org/r/34319/#comment135863> I don't think we neeed to change this. - Timothy Chen On May 17, 2015, 1:40 p.m., Greg Mann wrote: > > --- > This is an automatically g

Re: Review Request 34317: Updated callers of os::getenv() in /src.

2015-05-20 Thread Timothy Chen
_libprocess.cpp <https://reviews.apache.org/r/34317/#comment135869> ditto src/examples/low_level_scheduler_libprocess.cpp <https://reviews.apache.org/r/34317/#comment135868> ditto - Timothy Chen On May 17

Re: Review Request 34319: Refactored os::getenv() to return an option and updated its callers in stout.

2015-05-20 Thread Timothy Chen
tps://reviews.apache.org/r/34319/#comment135871> Btw after looking at your other patches, I realize we don't really need hasenv anymore right? And I see you've been replacing hasenv with getenv, I think why not just remove hasenv all together? - Timothy Chen On May 17, 2015, 1:40

Re: Review Request 34318: Update callers of os::getenv() in libprocess.

2015-05-20 Thread Timothy Chen
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34318/#review84555 --- Ship it! Ship It! - Timothy Chen On May 17, 2015, 3:21 p.m

Re: Review Request 34317: Updated callers of os::getenv() in /src.

2015-05-20 Thread Timothy Chen
317/#comment135872> optionally you can avoid the extra check by calling os::getenv("PATH").get("") - Timothy Chen On May 17, 2015, 4:54 a.m., Greg Mann wrote: > > --- > This is an automatically generat

Re: Review Request 34427: AppC provisioner backend using bind mounts.

2015-05-21 Thread Timothy Chen
in cpp files to avoid process:: and std:: everywhere, just a nit. src/slave/containerizer/provisioners/appc/bind_backend.hpp <https://reviews.apache.org/r/34427/#comment136122> Should we make "rootfs" a constant somewhere? - Timothy Chen On May 19, 2015,

Re: Review Request 29889: Recover Docker containers when mesos slave is in a container

2015-05-22 Thread Timothy Chen
s.cpp 5520c58 Diff: https://reviews.apache.org/r/29889/diff/ Testing --- make check Thanks, Timothy Chen

Re: Review Request 29889: Recover Docker containers when mesos slave is in a container

2015-05-22 Thread Timothy Chen
s.cpp 5520c58 Diff: https://reviews.apache.org/r/29889/diff/ Testing --- make check Thanks, Timothy Chen

Re: Review Request 29889: Recover Docker containers when mesos slave is in a container

2015-05-24 Thread Timothy Chen
her one is not and that makes me wonder if maybe > > this code path isn't being tested? No this actually works if I just pass the flags straight without slicing, but in the other path where I originally store the flags in a Option and then pass that into subprocess actually gives me b

Re: Review Request 29889: Recover Docker containers when mesos slave is in a container

2015-05-24 Thread Timothy Chen
o want to use the promise associate to handle both cases. I'll leave a comment. - Timothy Chen On May 23, 2015, 6:14 a.m., Timothy Chen wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https

Re: Review Request 29889: Recover Docker containers when mesos slave is in a container

2015-05-24 Thread Timothy Chen
s.cpp 5520c58 Diff: https://reviews.apache.org/r/29889/diff/ Testing --- make check Thanks, Timothy Chen

Re: Review Request 29889: Recover Docker containers when mesos slave is in a container

2015-05-24 Thread Timothy Chen
> On May 24, 2015, 6:07 p.m., Timothy Chen wrote: > > src/slave/containerizer/docker.cpp, lines 845-848 > > <https://reviews.apache.org/r/29889/diff/13/?file=970849#file970849line845> > > > > Ah, I realize why now I want a promise. > > So the sem

Re: Review Request 29889: Recover Docker containers when mesos slave is in a container

2015-05-24 Thread Timothy Chen
: https://reviews.apache.org/r/29889/#review81873 ------- On May 24, 2015, 6:26 p.m., Timothy Chen wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/29889/ >

Re: Review Request 29889: Recover Docker containers when mesos slave is in a container

2015-05-24 Thread Timothy Chen
s.cpp 5520c58 Diff: https://reviews.apache.org/r/29889/diff/ Testing --- make check Thanks, Timothy Chen

Re: Review Request 34654: Send docker inspect output with TaskStatus data.

2015-05-26 Thread Timothy Chen
075c6b5 src/tests/docker_containerizer_tests.cpp 7524803 Diff: https://reviews.apache.org/r/34654/diff/ Testing (updated) --- make check Thanks, Timothy Chen

Re: Review Request 34654: Send docker inspect output with TaskStatus data.

2015-05-26 Thread Timothy Chen
/docker_containerizer_tests.cpp 7524803 Diff: https://reviews.apache.org/r/34654/diff/ Testing --- make check Thanks, Timothy Chen

Re: Review Request 34140: AppC image store

2015-05-26 Thread Timothy Chen
che.org/r/34140/#comment134949> Check exists first? src/slave/containerizer/provisioners/appc/store.cpp <https://reviews.apache.org/r/34140/#comment134950> Why not use os::rmdir? - Timothy Chen On May 26, 2015, 6:25 p.m.

Re: Review Request 34134: Add container rootfs to Isolator::prepare().

2015-05-28 Thread Timothy Chen
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34134/#review85564 --- Ship it! Ship It! - Timothy Chen On May 13, 2015, 12:44 a.m

Re: Review Request 34654: Send docker inspect output with TaskStatus data.

2015-05-28 Thread Timothy Chen
too. I tend to want to stay with whatever that docker client outputs since we no longer control the format. I think I'll follow what you said, but hold on to a JSON::Array and stringify it when we need a string representation. - Timothy ------

Re: Review Request 34135: Add filesystem/ isolators for persistent volumes.

2015-06-02 Thread Timothy Chen
tps://reviews.apache.org/r/34135/#comment138275> actually I'm wrong, I was reading the old style guide. The newest style guide we do put a space, ignore my earler comment. - Timothy Chen On May 13, 2015, 12:47 a.m., Ian D

Re: Review Request 34908: Rename --docker_sandbox_directory flag for general use.

2015-06-02 Thread Timothy Chen
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34908/#review86294 --- Ship it! Ship It! - Timothy Chen On June 1, 2015, 9:48 p.m

Re: Review Request 34534: Reflected in documentation that isolators are only relevant for Mesos Containerizer.

2015-06-03 Thread Timothy Chen
to the MesosContainerizer instead of mechanisms. - Timothy Chen On May 21, 2015, 8:45 p.m., Joerg Schad wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://reviews.

  1   2   3   4   5   6   7   8   9   >