Copyright
Brief Table of Contents
Table of Contents
Foreword
Preface
Acknowledgements
About this Book
About the Author
About the Cover Illustration
1. Hello, Mesos
Chapter 1. Introducing Mesos
1.1. Meet Mesos
1.1.1. Understanding how it works
1.1.2. Comparing virtual machines and containers
1.1.3. Knowing when (and why) to use Mesos
1.2. Why we need to rethink the datacenter
1.2.1. Partitioning of resources
1.2.2. Deploying applications
1.3. The Mesos distributed architecture
1.3.1. Masters
1.3.2. Slaves
1.3.3. Frameworks
1.4. Summary
Chapter 2. Managing datacenter resources with Mesos
2.1. A brief introduction to Spark
2.1.1. Spark on a standalone cluster
2.1.2. Spark on Mesos
2.2. Running a Spark job on Mesos
2.2.1. Finding prime numbers in a set
2.2.2. Getting and packaging up the code
2.2.3. Submitting the job
2.2.4. Observing the output
2.3. Exploring further
2.3.1. Mesos UI
2.3.2. Spark UI
2.4. Summary
2. Core Mesos
Chapter 3. Setting up Mesos
3.1. Deploying Mesos
3.1.1. Mesos cluster components
3.1.2. Considerations for a development environment
3.1.3. Considerations for a production environment
3.2. Installing Mesos and ZooKeeper
3.2.1. Installing from packages
3.2.2. Compiling and installing from source
3.3. Configuring Mesos and ZooKeeper
3.3.1. ZooKeeper configuration