Created
June 30, 2015 13:15
-
-
Save bergerx/a03f31ff08c5e0ed7483 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ubuntu@ubuntu1:~$ sudo mkdir /etc/mesos-slave/attributes | |
ubuntu@ubuntu1:~$ echo attribute-value-here | sudo tee /etc/mesos-slave/attributes/attribute-name-here | |
ubuntu@ubuntu1:~$ sudo service mesos-slave restart | |
Jun 26 08:53:47 ubuntu1 mesos-slave[789]: Failed to perform recovery: Incompatible slave info detected. | |
... | |
Jun 26 08:53:47 ubuntu1 mesos-slave[789]: ------------------------------------------------------------ | |
Jun 26 08:53:47 ubuntu1 mesos-slave[789]: To remedy this do as follows: | |
Jun 26 08:53:47 ubuntu1 mesos-slave[789]: Step 1: rm -f /tmp/mesos/meta/slaves/latest | |
Jun 26 08:53:47 ubuntu1 mesos-slave[789]: This ensures slave doesn't recover old live executors. | |
Jun 26 08:53:47 ubuntu1 mesos-slave[789]: Step 2: Restart the slave. | |
Jun 26 08:53:47 ubuntu1 kernel: [2378735.757826] init: mesos-slave main process (789) terminated with status 1 | |
Jun 26 08:53:47 ubuntu1 kernel: [2378735.757840] init: mesos-slave respawning too fast, stopped |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
sudo touch /etc/mesos-slave/?strict