The Kibana framework does not persist its cluster state. If the scheduler is killed, any remaining executors are orphaned. This is because the new scheduler has no knowledge of any previous cluster.
Test
For the test, we need a working ES cluster to connect to.
Mesos 0.25, 3 slaves. MASTER and SLAVE{X} environmental variables exported.
The Kibana framework does not persist its cluster state. If the scheduler is killed, any remaining executors are orphaned. This is because the new scheduler has no knowledge of any previous cluster.
Test
For the test, we need a working ES cluster to connect to. Mesos 0.25, 3 slaves. MASTER and SLAVE{X} environmental variables exported.
Install Kibana
Create a marathon json file:
Run the marathon JSON file. This will replace the MASTER env var with the $MASTER variable in the file.
This should start the Kibana scheduler and a single Kibana instance.
Testing scheduler resiliency
Because the scheduler is a jar, we have to kill the process:
Now check that the scheduler has restarted:
Note how a new scheduler has started, but the old tasks has become orphaned.