Now that we have completed Mesos configuration, we will start on configuring Marathon. Marathon will run on two separate hosts, marathon1 and marathon2, and will be used to assign jobs to Mesos. Only the Mesos master server will be able to schedule jobs. Before we begin, let's first install Java using the following command:
sudo yum insall java-1.8.0-openjdk-devel
We are using Java 1.8. To validate the version by using java -version command, you can see that we have installed version 1.8.0_161. Copy the command to install Java and execute it on marathon2 server. With that, we are done with the installation of Java.
Now, we need to define the list of ZooKeeper masters that Marathon will connect to for information ...