> On Oct. 13, 2016, 5:48 a.m., Kevin Klues wrote:
> > I should have looked at this more carefully before giving it a Ship it. It 
> > seemed reasonable at first glance though.
> > 
> > Did you attempt to compile it before posting the patch? Looks like there 
> > were errors with the flags definition.
> > 
> > ```
> > In file included from ../../src/local/main.cpp:26:0:
> > ../../src/local/flags.hpp: In constructor 
> > 'mesos::internal::local::Flags::Flags()':
> > ../../src/local/flags.hpp:54:10: error: 'runtime_dir' is not a member of 
> > 'mesos::internal::local::Flags'
> >      add(&Flags::runtime_dir,
> > ```

My bad that compile wrong branch when test. Now fixed, may you help review this 
again? Thank you in advance.


- haosdent


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


On Oct. 13, 2016, 6:44 a.m., haosdent huang wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/52787/
> -----------------------------------------------------------
> 
> (Updated Oct. 13, 2016, 6:44 a.m.)
> 
> 
> Review request for mesos, Jie Yu and Kevin Klues.
> 
> 
> Bugs: MESOS-6380
>     https://issues.apache.org/jira/browse/MESOS-6380
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> Set `runtime_dir` to a temporary folder in `mesos-local`.
> 
> 
> Diffs
> -----
> 
>   bin/mesos-local-flags.sh.in 5b4553a808dc9f34a15390e69b2f85e95761ec53 
>   src/local/flags.hpp c77eff13e7a63630ff6c9428e57f3f6707e1f30f 
> 
> Diff: https://reviews.apache.org/r/52787/diff/
> 
> 
> Testing
> -------
> 
> To void this error when launch `mesos-local` without `sudo`
> 
> ```
>   message: 'Failed to launch container: Failed to make the containerizer 
> runtime directory 
> '/var/run/mesos/containers/f2d6947f-2916-4f1a-90dc-3d137b360b9c': Permission 
> denied; Abnormal executor termination: unknown container'
> ```
> 
> 
> Thanks,
> 
> haosdent huang
> 
>

Reply via email to