Questions tagged [mesos-chronos]

Chronos is a distributed version of cron that is a tool for a Mesos cluster to run jobs at scheduled times. Use this tag for questions specifically about Chronos (API, how to schedule using, troubleshooting, and configuration).

Chronos is a distributed and fault-tolerant version of cron that is a tool for a Mesos cluster to run jobs at scheduled times. It has several improvement to cron such as triggering jobs based on other jobs.

References

Related Tags

33 questions
6
votes
0 answers

Mesos 1.2.1 & 1.3.1 slave - docker job exits normally but reporting as failure

My mesos version was recently upgraded from 0.28 to 1.2.1. Jobs are being scheduled using Chronos. My docker job is being invoked properly, but still getting TASK_FAILED error event it completes with exit status ZERO. This is reproducible always. I…
user1578872
  • 7,808
  • 29
  • 108
  • 206
4
votes
0 answers

How to set Chronos job schedule to run only 4 times every day?

We have a requirement where a particular chronos(https://mesos.github.io/chronos/) job has to be run every 3 hours a day starting from morning 8 AM. So total 4 runs i.e. 8AM, 11AM, 2PM, 5PM and no runs after that. It should repeat every day. How to…
ExploringApple
  • 1,348
  • 2
  • 17
  • 30
2
votes
1 answer

Can I define exact weekday in iso8601 datetime to schedule a job?

The date-time that i have now: "schedule": "R/2017-10-05T17:21:00/PT15M" for now the job is scheduled for every 15 minutes (in chron), but if i want to perform it three times a day at a certain time and only Monday - Friday? Is it possible to…
Diana
  • 935
  • 10
  • 31
2
votes
1 answer

docker container running sequence

I am a beginner in docker,and I want to run a pipeline in a cluster server with docker. The pipeline flow chart is: the Task_A is the input of Task_B_1 2 3, and the all outputs of Task_B_1 2 3 is the input of Tast_C. Task_B_1 2 3 are parallel. The…
Kang Li
  • 109
  • 9
2
votes
1 answer

Passing 'Docker Run' Options to Mesos/Marathon/Chronos

I am trying to run my containers in mesos and outputting all logs to Cloudwatch. According to Docker documentation, I should pass the following to 'docker run': --log-driver=awslogs --log-opt awslogs-region=us-east-1 --log-opt…
2
votes
1 answer

Mesos task - Failed to accept socket: future discarded

I am just trying to upgrade mesos version to 1.3.1 from 1.0.3. Chronos scheduler is able to schedule the JOB thru mesos. The job runs fine and able to see mesos stdout logs. But, still seeing the following in mesos stderr logs. The docker jobs runs…
user1578872
  • 7,808
  • 29
  • 108
  • 206
2
votes
0 answers

What is the equivalent to `0 08-18 * * *`(crontab) in mesos-chronos?

I have read the documentation how to add a scheduled job https://mesos.github.io/chronos/docs/api.html#adding-a-scheduled-job Although I don't know how to do it. I would like to execute a job in mesos-chronos At minute 0 past every hour from 8…
lolocripto
  • 21
  • 2
1
vote
0 answers

Mesos/Chronos How are the tasks getting updated to FINISHED task status?

I am new to Mesos and trying to understand the flow when the task is successfully finished and how it is updated to Mesos with Chronos. (in version 2.4.0) When I have a job where the task finished running asynchronously and finished successfully,…
mye1102
  • 41
  • 7
1
vote
1 answer

ISO 8601 Repeating Interval: every last day of month

Is it possible to define repeating interval for every last day of month in terms of ISO 8601? I need this for several Mesos/Chronos jobs.
Maksym Polshcha
  • 18,030
  • 8
  • 52
  • 77
1
vote
1 answer

chronos 3.0.3 starts jobs instantly instead of running it on their scheduled time

I am using chronos 3.0.3. When I deploy jobs, it starts running all the jobs instantly on mesos slaves. I want chronos to run only on jobs' scheduled times and not instantly. How can I configure to prevent running jobs instantly ? If someone can…
Vishwanath
  • 149
  • 2
  • 14
1
vote
1 answer

Isn't chronos a centralized scheduler?

Why chronos is called as distributed and fault-tolerant scheduler? As per my understanding there is only one scheduler instance running that manages job schedules. As per Chronos doc, internally, the Chronos scheduler main loop is quite simple. The…
ThinkGeek
  • 4,749
  • 13
  • 44
  • 91
1
vote
1 answer

Apache Chronos Architecture Explaination

I was trying to see what makes Chronos better than Crons? I am not able to understand its job scheduling and executing architecture completely. Specifically, these are the questions around chronos architecture that are not clear to me. In one of…
ThinkGeek
  • 4,749
  • 13
  • 44
  • 91
1
vote
1 answer

Mesos task resources - CPU & Mem

I use Meosos for batch Jobs. Jobs will be running as a docker container by the framework. The are 2 salves running on each VM. The resource for each Job was set to CPUS - 0.1 MEM - 1G Its a 4 core machine and mesos was considering it as 8 core as…
user1578872
  • 7,808
  • 29
  • 108
  • 206
1
vote
1 answer

Chronos insufficient resources warning

I'm trying to run Chronos on Mesos, but all my jobs are stuck in a queueing state. systemctl status chronos -l shows: Mar 20 20:21:08 core-mq3 chronos[17940]: [2017-03-20 20:21:08,985] WARN Insufficient resources remaining for task…
user1742188
  • 4,563
  • 8
  • 35
  • 60
1
vote
1 answer

Scheduling spark jobs on a timely basis

Which is the recommended tool for scheduling Spark Jobs on a daily/weekly basis. 1) Oozie 2) Luigi 3) Azkaban 4) Chronos 5) Airflow Thanks in advance.
Sandeep Shetty
  • 167
  • 2
  • 12
1
2 3