Search icon
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Mastering Mesos

You're reading from  Mastering Mesos

Product type Book
Published in May 2016
Publisher Packt
ISBN-13 9781785886249
Pages 352 pages
Edition 1st Edition
Languages
Authors (2):
Dipa Dubhashi Dipa Dubhashi
Profile icon Dipa Dubhashi
Akhil Das Akhil Das
Profile icon Akhil Das
View More author details

Table of Contents (16) Chapters

Mastering Mesos
Credits
About the Authors
About the Reviewer
www.PacktPub.com
Preface
1. Introducing Mesos 2. Mesos Internals 3. Getting Started with Mesos 4. Service Scheduling and Management Frameworks 5. Mesos Cluster Deployment 6. Mesos Frameworks 7. Mesos Containerizers 8. Mesos Big Data Frameworks 9. Mesos Big Data Frameworks 2 Index

Chronos plus Marathon


The combination of Chronos and Marathon can be utilized as building blocks to create production-ready distributed applications. You already know that Chronos can be used to fire up tasks at scheduled intervals; cron and Marathon let your jobs run continuously, such as init or upstart, in typical Linux environments. As mentioned before, both the schedulers come with a REST endpoint that allows the user to manage the jobs. You can use this endpoint to start, manage, and terminate the running jobs. We will now take a look at how this is achieved.

The Chronos REST API endpoint

As mentioned before, you can communicate with Chronos using the REST JSON API over HTTP. By default, those nodes that have Chronos up and running listen at the 8080 port for API requests. This section covers how to perform the following tasks using the REST endpoint:

  1. Listing the running jobs

  2. Manually starting a job

  3. Adding a scheduled job

  4. Deleting a job

For more information, visit http://mesos.github.io/chronos...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}