You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@mesos.apache.org by James DeFelice <ja...@gmail.com> on 2017/02/08 14:18:34 UTC
Re: Review Request 54846: Removed `docker exec` when perform health
checks in docker executor.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/54846/#review164683
-----------------------------------------------------------
src/docker/executor.cpp (line 486)
<https://reviews.apache.org/r/54846/#comment236449>
should we include the pid namespace as well, or is that implicit (or handled elsewhere)?
- James DeFelice
On Dec. 18, 2016, 5:30 p.m., haosdent huang wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/54846/
> -----------------------------------------------------------
>
> (Updated Dec. 18, 2016, 5:30 p.m.)
>
>
> Review request for mesos, Alexander Rukletsov, Benjamin Mahler, Gast�n Kleiman, and Lukas Loesche.
>
>
> Bugs: MESOS-4812
> https://issues.apache.org/jira/browse/MESOS-4812
>
>
> Repository: mesos
>
>
> Description
> -------
>
> After Mesos could specify namespaces to enter to perform health checks,
> the command health check in docker executor doesn't need to wrap
> command with `docker exec` anymore. Remove `docker exec` aslo fixes
> the problem when escape quote character in command health checks.
>
>
> Diffs
> -----
>
> src/docker/executor.cpp 94e116f06c0c729a90e5424c37edc39c7ba4cbe6
> src/tests/health_check_tests.cpp 0a6d2dd295408dcc0434f3573e307e685f9abfe4
>
> Diff: https://reviews.apache.org/r/54846/diff/
>
>
> Testing
> -------
>
> Added new test cases `HealthCheckTest.ROOT_DOCKER_DockerEnvironmentSetup` and run
>
> ```
> $ sudo ./bin/mesos-tests.sh --gtest_filter="*HealthCheckTest*"
> [----------] Global test environment tear-down
> [==========] 22 tests from 1 test case ran. (75423 ms total)
> [ PASSED ] 22 tests.
> ```
>
>
> Thanks,
>
> haosdent huang
>
>