title: how to change the DCOS attributes without restarting slave?
body: <p>I am facing the problem to add/change attributes of the slave machines in the DCOS environment.</p>
  <p>After changing attributes in</p>
  <blockquote>
  <p>vi /var/lib/dcos/mesos-slave-common</p>
  </blockquote>
  <pre><code>MESOS_ATTRIBUTES=TYPE:DB;DB_TYPE:MONGO;
  </code></pre>
  <p>file, it not immediately getting updated in the cluster.</p>
  <p>I have to run the following commands</p>
  <blockquote>
  <p>systemctl stop dcos-mesos-slave</p>
  <p>rm -f /var/lib/mesos/slave/meta/­slaves/latest</p>
  <p>systemctl start dcos-mesos-slave</p>
  </blockquote>
  <p>This means essentially I have to restart the service in the slave.</p>
  <p>And the slave is down for at least 1 hour,</p>
  <p>Is there any other way achieve this?</p>