Apache Chronos Architecture Explaination

孤者浪人 提交于 2019-12-02 07:40:40

Some of your questions are answered in my reply here so I will focus on the other questions not addressed.

  1. Chronos stores state in memory unless you are using Zookeeper, in which case it is stored in Zookeeper at /chronos/state by default reference here.

  2. See: Chronos: How does it work?

  3. Based on lastsuccess and lastfailure seen here

  4. Because the authors decided to use JSON and a RESTful API

  5. Yes. The use of && or bash scripts... They will all be executed on the same machine that the job is running on. No, single jobs cannot run the commands in parallel, but multiple jobs could be scheduled at the same time.

  6. Because Chronos is for short-lived cron jobs that can be scheduled on a regular basis, whereas Marathon is for long-lived tasks. The reason Chronos is a good replacement for cron is that it is wholly dependent on Mesos - which means you can also use Mesos attributes to schedule jobs around your Mesos cluster appropriately. See here and here

  7. Nope.

  8. The state of async jobs is suspect, it looks like it was removed but still unfortunately has some references in the documentation.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!