You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2020/10/02 17:30:15 UTC

[GitHub] [shardingsphere-elasticjob] TeslaCN opened a new issue #1540: Any negative number is meaningless to 'maxTimeDiffSeconds'

TeslaCN opened a new issue #1540:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1540


   ## Question
   
   I set '-2' into option 'maxTimeDiffSeconds'. It thrown exception.
   
   ```
   [ERROR] 2020-10-03 01:05:10,009 --javaDataflowElasticJob_Worker-1-- [org.apache.shardingsphere.elasticjob.error.handler.general.LogJobErrorHandler] Job 'javaDataflowElasticJob' exception occur in job processing 
   org.apache.shardingsphere.elasticjob.infra.exception.JobExecutionEnvironmentException: Time different between job server and register center exceed '0' seconds, max time different is '-2' seconds.
   	at org.apache.shardingsphere.elasticjob.lite.internal.config.ConfigurationService.checkMaxTimeDiffSecondsTolerable(ConfigurationService.java:103) ~[classes/:na]
   	at org.apache.shardingsphere.elasticjob.lite.internal.schedule.LiteJobFacade.checkJobExecutionEnvironment(LiteJobFacade.java:81) ~[classes/:na]
   	at org.apache.shardingsphere.elasticjob.executor.ElasticJobExecutor.execute(ElasticJobExecutor.java:85) ~[classes/:na]
   	at org.apache.shardingsphere.elasticjob.lite.internal.schedule.LiteJob.execute(LiteJob.java:35) [classes/:na]
   	at org.quartz.core.JobRunShell.run(JobRunShell.java:202) [quartz-2.3.2.jar:na]
   	at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) [quartz-2.3.2.jar:na]
   ```
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere-elasticjob] terrymanu closed issue #1540: Any negative number is meaningless to 'maxTimeDiffSeconds'

Posted by GitBox <gi...@apache.org>.
terrymanu closed issue #1540:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1540


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org