----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/51052/#review164146 -----------------------------------------------------------
src/docker/docker.cpp (line 786) <https://reviews.apache.org/r/51052/#comment235733> Fixing this typo right now. - Zhitao Li On Feb. 3, 2017, 6:56 p.m., Zhitao Li wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/51052/ > ----------------------------------------------------------- > > (Updated Feb. 3, 2017, 6:56 p.m.) > > > Review request for mesos, Gilbert Song, haosdent huang, and Jie Yu. > > > Bugs: MESOS-6134 > https://issues.apache.org/jira/browse/MESOS-6134 > > > Repository: mesos > > > Description > ------- > > This fixed cpu quota for command executor (which runs outside > of the docker container) by ensuing --cpu-quota flag to docker > run. > > > Diffs > ----- > > src/docker/docker.hpp 9093371afc8ea792ba94f61c6875703e547ea6b0 > src/docker/docker.cpp b63b060ba1c1d39dc1702368cf667831edbd39bd > src/docker/executor.hpp 8385631fd170f97b28c4ca3596255ab0546774d6 > src/docker/executor.cpp d8c72b081fb9a37b3927b73cea3b47956a076691 > src/slave/containerizer/docker.cpp 886528f0f706ef2a3c07246406f3ee1ebc45565d > src/tests/containerizer/docker_tests.cpp > 9667d434486c1832f180a297a39a3d5dae6a26bd > > Diff: https://reviews.apache.org/r/51052/diff/ > > > Testing > ------- > > I am now able to make docker containers launched through mesos-execute have a > cpu quota. > > Also making sure `make check` still works on mac os for the linux only flag. > > > Thanks, > > Zhitao Li > >
