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/07/20 12:04:09 UTC

[GitHub] [shardingsphere-elasticjob] terrymanu opened a new issue #1198: Investigate exception message during run test cases of module elasticjob-cloud-executor

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


   When run all test cases in module `elasticjob-cloud-executor`, the exception will occur, error message is:
   
   ```
   [ERROR] 2020-07-20 19:59:41,631 --test_job@-@0@-@READY@-@fake_slave_id@-@0_Worker-1-- [org.quartz.core.JobRunShell] Job DEFAULT.test_job threw an unhandled Exception:  
   java.lang.IllegalStateException: Shutdown in progress
   	at java.lang.ApplicationShutdownHooks.add(ApplicationShutdownHooks.java:66)
   	at java.lang.Runtime.addShutdownHook(Runtime.java:211)
   	at com.google.common.util.concurrent.MoreExecutors$Application.addShutdownHook(MoreExecutors.java:285)
   	at com.google.common.util.concurrent.MoreExecutors$Application.addDelayedShutdownHook(MoreExecutors.java:262)
   	at com.google.common.util.concurrent.MoreExecutors$Application.getExitingExecutorService(MoreExecutors.java:237)
   	at com.google.common.util.concurrent.MoreExecutors$Application.getExitingExecutorService(MoreExecutors.java:242)
   	at com.google.common.util.concurrent.MoreExecutors.getExitingExecutorService(MoreExecutors.java:126)
   	at org.apache.shardingsphere.elasticjob.infra.concurrent.ElasticJobExecutorService.createExecutorService(ElasticJobExecutorService.java:51)
   	at org.apache.shardingsphere.elasticjob.infra.handler.threadpool.impl.AbstractJobExecutorServiceHandler.createExecutorService(AbstractJobExecutorServiceHandler.java:32)
   	at org.apache.shardingsphere.elasticjob.executor.ElasticJobExecutor.<init>(ElasticJobExecutor.java:75)
   	at org.apache.shardingsphere.elasticjob.executor.ElasticJobExecutor.<init>(ElasticJobExecutor.java:63)
   	at org.apache.shardingsphere.elasticjob.cloud.executor.prod.DaemonTaskScheduler$DaemonJob.createJobExecutor(DaemonTaskScheduler.java:197)
   	at org.apache.shardingsphere.elasticjob.cloud.executor.prod.DaemonTaskScheduler$DaemonJob.getJobExecutor(DaemonTaskScheduler.java:186)
   	at org.apache.shardingsphere.elasticjob.cloud.executor.prod.DaemonTaskScheduler$DaemonJob.execute(DaemonTaskScheduler.java:178)
   	at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
   	at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
   [ERROR] 2020-07-20 19:59:41,636 --test_job@-@0@-@READY@-@fake_slave_id@-@0_Worker-1-- [org.quartz.core.ErrorLogger] Job (DEFAULT.test_job threw an exception. 
   org.quartz.SchedulerException: Job threw an unhandled exception.
   	at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
   	at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
   Caused by: java.lang.IllegalStateException: Shutdown in progress
   	at java.lang.ApplicationShutdownHooks.add(ApplicationShutdownHooks.java:66)
   	at java.lang.Runtime.addShutdownHook(Runtime.java:211)
   	at com.google.common.util.concurrent.MoreExecutors$Application.addShutdownHook(MoreExecutors.java:285)
   	at com.google.common.util.concurrent.MoreExecutors$Application.addDelayedShutdownHook(MoreExecutors.java:262)
   	at com.google.common.util.concurrent.MoreExecutors$Application.getExitingExecutorService(MoreExecutors.java:237)
   	at com.google.common.util.concurrent.MoreExecutors$Application.getExitingExecutorService(MoreExecutors.java:242)
   	at com.google.common.util.concurrent.MoreExecutors.getExitingExecutorService(MoreExecutors.java:126)
   	at org.apache.shardingsphere.elasticjob.infra.concurrent.ElasticJobExecutorService.createExecutorService(ElasticJobExecutorService.java:51)
   	at org.apache.shardingsphere.elasticjob.infra.handler.threadpool.impl.AbstractJobExecutorServiceHandler.createExecutorService(AbstractJobExecutorServiceHandler.java:32)
   	at org.apache.shardingsphere.elasticjob.executor.ElasticJobExecutor.<init>(ElasticJobExecutor.java:75)
   	at org.apache.shardingsphere.elasticjob.executor.ElasticJobExecutor.<init>(ElasticJobExecutor.java:63)
   	at org.apache.shardingsphere.elasticjob.cloud.executor.prod.DaemonTaskScheduler$DaemonJob.createJobExecutor(DaemonTaskScheduler.java:197)
   	at org.apache.shardingsphere.elasticjob.cloud.executor.prod.DaemonTaskScheduler$DaemonJob.getJobExecutor(DaemonTaskScheduler.java:186)
   	at org.apache.shardingsphere.elasticjob.cloud.executor.prod.DaemonTaskScheduler$DaemonJob.execute(DaemonTaskScheduler.java:178)
   	at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
   	... 1 common frames omitted
   ```
   
   Please investigate the reason.


----------------------------------------------------------------
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 #1198: Investigate exception message during run test case TaskExecutorThreadTest

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


   


----------------------------------------------------------------
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] jiang2015 commented on issue #1198: Investigate exception message during run test case TaskExecutorThreadTest

Posted by GitBox <gi...@apache.org>.
jiang2015 commented on issue #1198:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1198#issuecomment-660988034


   please assign to meļ¼Œthanks
   


----------------------------------------------------------------
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