You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by "Benjamin Mahler (JIRA)" <ji...@apache.org> on 2013/03/14 20:58:13 UTC

[jira] [Commented] (MESOS-397) Framework should be notified of executor directory deletion

    [ https://issues.apache.org/jira/browse/MESOS-397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13602638#comment-13602638 ] 

Benjamin Mahler commented on MESOS-397:
---------------------------------------

One problem is that the slave has the concept of executor "runs". That is, different runs of an executor with a fixed id. This can happen when the executor completes, fails, etc., and the framework continues to use the executor id on that slave.

What would the framework be notified of? When a run directory is deleted? When the uppermost executor directory is deleted?

If we coarsened the gc granularity and only deleted top level executor directories, then the directory could still be recreated afterwards when the framework uses that executor id again to launch a task.
                
> Framework should be notified of executor directory deletion
> -----------------------------------------------------------
>
>                 Key: MESOS-397
>                 URL: https://issues.apache.org/jira/browse/MESOS-397
>             Project: Mesos
>          Issue Type: Improvement
>          Components: slave
>            Reporter: Bill Farner
>            Priority: Minor
>
> The framework currently receives no signal regarding the deletion of executor work directories, which suggests that _something_ else is watching them.  To close the loop, the slave should notify the framework when directories are deleted.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira