You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by Scott Smith <sc...@gmail.com> on 2012/05/04 06:31:53 UTC

slave workdir

It looks like the mesos slave leaves around some 0 byte files even
after the framework has exited.

-rw-r--r-- 1 ubuntu ubuntu 0 May  4 04:28
./slaves/201205032311222558218-5050-9534-53/frameworks/201205032311222558218-5050-9534-0024/executors/default/runs/0/stderr
-rw-r--r-- 1 ubuntu ubuntu 0 May  4 04:28
./slaves/201205032311222558218-5050-9534-53/frameworks/201205032311222558218-5050-9534-0024/executors/default/runs/0/stdout

Does it ever clean them up, or do I need to run a script to
periodically cull them?
-- 
        Scott

Re: slave workdir

Posted by Vinod Kone <vi...@twitter.com>.
No, currently we don't have any garbage collection implemented for these
work dirs.

@vinodkone


On Thu, May 3, 2012 at 9:31 PM, Scott Smith <sc...@gmail.com> wrote:

> It looks like the mesos slave leaves around some 0 byte files even
> after the framework has exited.
>
> -rw-r--r-- 1 ubuntu ubuntu 0 May  4 04:28
>
> ./slaves/201205032311222558218-5050-9534-53/frameworks/201205032311222558218-5050-9534-0024/executors/default/runs/0/stderr
> -rw-r--r-- 1 ubuntu ubuntu 0 May  4 04:28
>
> ./slaves/201205032311222558218-5050-9534-53/frameworks/201205032311222558218-5050-9534-0024/executors/default/runs/0/stdout
>
> Does it ever clean them up, or do I need to run a script to
> periodically cull them?
> --
>         Scott
>