-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/11131/#review21909
-----------------------------------------------------------


Can you add some code to ignore ESRCH in cgroups::kill? This ensures 
cgroups::kill doesn't return an Error when processes go away.

- Ben Mahler


On June 14, 2013, 1:14 a.m., Brenden Matthews wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/11131/
> -----------------------------------------------------------
> 
> (Updated June 14, 2013, 1:14 a.m.)
> 
> 
> Review request for mesos.
> 
> 
> Description
> -------
> 
> Changed cgroups killTasks() sequence.
> 
> The sequence was broken into 2 steps:
>   1. stop, kill, continue; then
>   2. freeze, kill, thaw (if not empty)
> 
> Review: https://reviews.apache.org/r/11131
> 
> 
> Diffs
> -----
> 
>   src/linux/cgroups.cpp 8d94fe63610c4c7a48f92d260fcd526b7a83942e 
> 
> Diff: https://reviews.apache.org/r/11131/diff/
> 
> 
> Testing
> -------
> 
> Used in production at airbnb.
> 
> make -j10 check && cd hadoop && make hadoop-2.0.0-mr1-cdh4.2.1 && make 
> hadoop-0.20.205.0 && make hadoop-0.20.2-cdh3u3
> 
> 
> Thanks,
> 
> Brenden Matthews
> 
>

Reply via email to