--
You received this message because you are subscribed to the Google Groups "chronos-scheduler" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chronos-schedu...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
[{"name":"kev","command":"a","shell":true,"epsilon":"PT30M","executor":"","executorFlags":"","retries":2,"owner":"a...@a.com","async":false,"successCount":0,"errorCount":1,"lastSuccess":"","lastError":"2015-01-27T16:11:04.637Z","cpus":0.1,"disk":256.0,"mem":128.0,"disabled":false,"softError":false,"errorsSinceLastSuccess":1,"uris":[],"environmentVariables":[],"arguments":[],"highPriority":false,"runAsUser":"root","schedule":"R/2015-01-28T16:10:23.000Z/PT24H","scheduleTimeZone":""}]
This is a snippet from the log, where the retries take place which shows it just retries immediately on failure.
There's a fair amount of other info messages in the log, so not sure if this will be enough. Please let me know if you want the full trace
airbnbchronos_1 | [2015-01-27 16:06:56,924] WARN Starting [class com.airbnb.notification.MailClient] notification client. (com.airbnb.scheduler.config.MainModule:104)
airbnbchronos_1 | [2015-01-27 16:06:57,117] WARN No SSL support configured. (mesosphere.chaos.http.HttpModule:62)
airbnbchronos_1 | [2015-01-27 16:10:58,913] WARN Adding vertex:kev (com.airbnb.scheduler.graph.JobGraph:65)
airbnbchronos_1 | [2015-01-27 16:10:58,914] WARN Current number of vertices:1 (com.airbnb.scheduler.graph.JobGraph:72)
airbnbchronos_1 | [2015-01-27 16:11:02,247] WARN Ignoring offered resource: RANGES (com.airbnb.scheduler.mesos.MesosJobFramework:260)
airbnbchronos_1 | [2015-01-27 16:11:02,622] WARN Task of job: kev failed. (com.airbnb.scheduler.jobs.JobScheduler:374)
airbnbchronos_1 | [2015-01-27 16:11:02,622] WARN Retrying job: kev, attempt: 0 (com.airbnb.scheduler.jobs.JobScheduler:392)
airbnbchronos_1 | [2015-01-27 16:11:03,220] WARN Ignoring offered resource: RANGES (com.airbnb.scheduler.mesos.MesosJobFramework:260)
airbnbchronos_1 | [2015-01-27 16:11:03,628] WARN Task of job: kev failed. (com.airbnb.scheduler.jobs.JobScheduler:374)
airbnbchronos_1 | [2015-01-27 16:11:03,629] WARN Retrying job: kev, attempt: 1 (com.airbnb.scheduler.jobs.JobScheduler:392)
airbnbchronos_1 | [2015-01-27 16:11:04,220] WARN Ignoring offered resource: RANGES (com.airbnb.scheduler.mesos.MesosJobFramework:260)
airbnbchronos_1 | [2015-01-27 16:11:04,637] WARN Task of job: kev failed. (com.airbnb.scheduler.jobs.JobScheduler:374)
airbnbchronos_1 | [2015-01-27 16:11:04,662] WARN Job failed beyond retries! (com.airbnb.scheduler.jobs.JobScheduler:438)
This is the json - very simple, just calls a non existent command, no other overriders:
[{"name":"kev","command":"a","shell":true,"epsilon":"PT30M","executor":"","executorFlags":"","retries":2,"owner":"a@a.com","async":false,"successCount":0,"errorCount":1,"lastSuccess":"","lastError":"2015-01-27T16:11:04.637Z","cpus":0.1,"disk":256.0,"mem":128.0,"disabled":false,"softError":false,"errorsSinceLastSuccess":1,"uris":[],"environmentVariables":[],"arguments":[],"highPriority":false,"runAsUser":"root","schedule":"R/2015-01-28T16:10:23.000Z/PT24H","scheduleTimeZone":""}]
Woops, I forgot to reply.Yes, this was a bug in Chronos. I've patched it here: https://github.com/mesos/chronos/pull/352
On Thu, Jan 29, 2015 at 1:22 AM, Kevin Taylor <kevin.ta...@gmail.com> wrote:
Hi Brenden (anyone?)Did you have a chance to look at this?It is a key element of what we are trying to do with the schedulerThanksKevin
On Tuesday, 27 January 2015 16:21:27 UTC, Kevin Taylor wrote:
This is the json - very simple, just calls a non existent command, no other overriders:
[{"name":"kev","command":"a","shell":true,"epsilon":"PT30M","executor":"","executorFlags":"","retries":2,"owner":"a...@a.com","async":false,"successCount":0,"errorCount":1,"lastSuccess":"","lastError":"2015-01-27T16:11:04.637Z","cpus":0.1,"disk":256.0,"mem":128.0,"disabled":false,"softError":false,"errorsSinceLastSuccess":1,"uris":[],"environmentVariables":[],"arguments":[],"highPriority":false,"runAsUser":"root","schedule":"R/2015-01-28T16:10:23.000Z/PT24H","scheduleTimeZone":""}]