Configuring ZooKeeper

Perform the following steps to configure ZooKeeper:

  1. Type cd /etc /mesos.
  2. Open the vi zk file. The following screenshot shows the default Mesos definition. This is the default ZooKeeper information. The line starts with zk and ends with /mesos, and in between, we will have the IP address and the ZooKeeper port:

  1. Replace this localhost with the host IP address by typing ifconfig in order to get the IP. As we have a standalone server, we will use the IP address that is highlighted here:

  1. Go to cd /etc /mesos and run  ...

Get Learn Apache Mesos now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.