You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Lukas Loesche (JIRA)" <ji...@apache.org> on 2015/01/29 15:04:34 UTC

[jira] [Created] (MESOS-2299) default work_dir of /tmp/mesos is bad

Lukas Loesche created MESOS-2299:
------------------------------------

             Summary: default work_dir of /tmp/mesos is bad
                 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)