Mesos scheduler/slave continuously gets disconnected
mesos
Solution
Both the framework (and slaves) and master need to be able to talk to each other. IOW, if one of the end points uses a private IP (e.g., 127.0.0.1) then it wouldn't work. If you want the master/slave to use a public ip you can use --ip flag. For the framework, you can set LIBPROCESS_IP in the environment.
Problem
When the Mesos scheduler (or slave) is on a different machine than the Mesos master, it keeps trying to connect to the master but gets disconnected. This cycle repeats continuously. How to fix this problem?