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

Alexander Rukletsov commented on MESOS-2299:
--------------------------------------------

[~lloesche]: I don't have the full context here, but {{/tmp}} doesn't look like 
a good default.

> default work_dir of /tmp/mesos is problematic
> ---------------------------------------------
>
>                 Key: MESOS-2299
>                 URL: https://issues.apache.org/jira/browse/MESOS-2299
>             Project: Mesos
>          Issue Type: Improvement
>    Affects Versions: 0.20.1
>            Reporter: Lukas Loesche
>            Priority: Trivial
>
> Mesos uses a default of /tmp/mesos if work_dir is not defined.
> This is bad because /tmp on most distros gets wiped upon boot. Therefor when 
> a slave reboots it Registers as a new slave instead of re-registering. 
> Causing problems with task reconciliation.
> A better default following the FHS standard would be /var/tmp/mesos which is 
> the temp that doesn't get wiped at all or in much longer intervals.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to