mesos / chronos

Fault tolerant job scheduler for Mesos which handles dependencies and ISO8601 based schedules
http://mesos.github.io/chronos/
Apache License 2.0
4.39k stars 529 forks source link

weird scheduled time and non-clue exception #855

Closed setekhid closed 7 years ago

setekhid commented 7 years ago

I don't know what this error means, while I submit a scheduled job to chronos. chronos report http 500, and the job has been accepted. the exception in log is below

[2017-09-20 05:43:27,175] WARN Exception while serving request (org.apache.mesos.chronos.scheduler.api.Iso8601JobResource:88)
java.util.concurrent.ExecutionException: Failed to get '/chronos/state/state/T_ct:1505882030000:0:875cb34296e4acb59c7e3afe32ce158e-1505885630975568247:--oplogger http://oplogger:30
85/api/logging --offset 2 -- /opt/wolfpack --project http://gittar:5566/api/git/fjieoafea --version faefa --directory ./ --' in ZooKeeper: bad arguments

...a few of java exception stack

I've debug the job json with a few different value set in .schedule field. the value and result is below.

R1/2017-09-19T04:33:50Z/PT12H    204
R1/2017-09-20T06:33:50Z/PT12H    204
R1/2012-10-01T05:52:00Z/PT12H    204
R1/2017-09-20T05:33:50Z/PT12H    500

and attaching to chronos container to check:

# date
Wed Sep 20 05:44:02 UTC 2017

the chronos image is mesosphere/chronos:chronos-2.5.0-0.1.20170628182950.ubuntu1404-mesos-1.3.0.

why the fourth time is error?! and what's the exception meaning?! and considering the logs, how to debug it?!