Chronos

用于 Mesos 的容错作业调度程序,可处理依赖关系和基于 ISO8601 的调度程序。「Fault tolerant job scheduler for Mesos which handles dependencies and ISO8601 based schedules」

Github stars Tracking Chart

Chronos Build Status

Chronos is a replacement for cron. It is a distributed and fault-tolerant scheduler that runs on top of Apache Mesos that can be used for job orchestration. It supports custom Mesos executors as well
as the default command executor. Thus by default, Chronos executes sh
(on most systems bash) scripts.

Chronos can be used to interact with systems such as Hadoop (incl. EMR), even if the Mesos agents on which execution happens do not have Hadoop installed. Included wrapper scripts allow transfering files and executing them on a remote machine in the background and using asynchronous callbacks to notify Chronos of job completion or failures. Chronos is also natively able to schedule jobs that run inside Docker containers.

Chronos has a number of advantages over regular cron.
It allows you to schedule your jobs using ISO8601 repeating interval notation, which enables more flexibility in job scheduling. Chronos also supports the definition of jobs triggered by the completion of other jobs. It supports arbitrarily long dependency chains.

The easiest way to use Chronos is to use DC/OS and install chronos via the universe.

Features

  • Web UI
  • ISO8601 Repeating Interval Notation
  • Handles dependencies
  • Job Stats (e.g. 50th, 75th, 95th and 99th percentile timing, failure/success)
  • Job History (e.g. job duration, start time, end time, failure/success)
  • Fault Tolerance (leader/follower)
  • Configurable Retries
  • Multiple Workers (i.e. Mesos agents)
  • Native Docker support

Documentation and Support

Chronos documentation is available on the Chronos GitHub pages site.

Documentation for installing and configuring the full Mesosphere stack including Mesos and Chronos is available on the Mesosphere website.

For questions and discussions around Chronos, please use the Google Group "chronos-scheduler":
Chronos Scheduler Group.

If you'd like to take part in design research and test new features in Chronos before they're released, please add your name to Mesosphere's UX Research list.

Packaging

Mesosphere publishes Docker images for Chronos to Dockerhub, at https://hub.docker.com/r/mesosphere/chronos/.

Contributing

Instructions on how to contribute to Chronos are available on the Contributing docs page.

License

The use and distribution terms for this software are covered by the
Apache 2.0 License (http://www.apache.org/licenses/LICENSE-2.0.html)
which can be found in the file LICENSE at the root of this distribution.
By using this software in any fashion, you are agreeing to be bound by
the terms of this license.
You must not remove this notice, or any other, from this software.

Contributors

Reporting Bugs

Please see the support page for information on how to report bugs.

Overview

Name With Ownermesos/chronos
Primary LanguageScala
Program languageShell (Language Count: 6)
Platform
License:Apache License 2.0
Release Count17
Last Release Name2.5.1 (Posted on )
First Release Name1.0.0 (Posted on )
Created At2013-02-13 22:59:14
Pushed At2022-06-29 19:43:36
Last Commit At2018-09-06 19:47:59
Stargazers Count4.4k
Watchers Count289
Fork Count529
Commits Count1.1k
Has Issues Enabled
Issues Count451
Issue Open Count209
Pull Requests Count345
Pull Requests Open Count23
Pull Requests Close Count87
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private
To the top