eureka-client-1.4.12 TimedSupervisorTask : task supervisor rejected the task

See original GitHub issue

Source TimedSupervisorTask.java line 62 Need to determine whether the executor is shutdown. Specific is when using spring cloud eurekaClient.

exception stack: ` 2017-03-04 11:47:34.485 ERROR 21604 — [ver-bootstrap-0] c.netflix.discovery.TimedSupervisorTask : task supervisor rejected the task

java.util.concurrent.RejectedExecutionException: Task java.util.concurrent.FutureTask@300f48c6 rejected from java.util.concurrent.ThreadPoolExecutor@3ec8a0b7[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0] at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2047) ~[na:1.8.0_92] at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:823) [na:1.8.0_92] at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1369) [na:1.8.0_92] at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:112) ~[na:1.8.0_92] at com.netflix.discovery.TimedSupervisorTask.run(TimedSupervisorTask.java:62) ~[eureka-client-1.4.12.jar:1.4.12] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_92] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_92] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [na:1.8.0_92] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [na:1.8.0_92] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_92] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_92] at java.lang.Thread.run(Thread.java:745) [na:1.8.0_92] `

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:16 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
AmarRockscommented, Jun 3, 2019

@troshko111 pls let us know why this ticket was closed. I still see a similar issue in euraka-client-1.6.2 ERROR - com.netflix.discovery.TimedSupervisorTask- task supervisor rejected the task java.util.concurrent.RejectedExecutionException: Task java.util.concurrent.FutureTask@6ec2a9db rejected from java.util.concurrent.ThreadPoolExecutor@dd4a055[Running, pool size = 2, active threads = 2, queued tasks = 0, completed tasks = 6101

Waiting for response. Thanks!

0reactions
EnnBicommented, Sep 27, 2022

Spring-Boot: 2.6.6 Spring Cloud Version : 2021.0.3

Read more comments on GitHub >

github_iconTop Results From Across the Web

eureka task supervisor rejected the task - client does not ...
I have a Eureka client with these two tasks being rejected. This happens every two minutes. The client does not register with the...
Read more >
eureka-client-1.4.12 TimedSupervisorTask : task supervisor ...
eureka-client-1.4.12 TimedSupervisorTask : task supervisor rejected the task. ... Specific is when using spring cloud eurekaClient.
Read more >
com.netflix.discovery.TimedSupervisorTask.run错误 - 知乎专栏
RejectedExecutionException: Task java.util.concurrent.FutureTask@57cb2ed1 rejected from java.util.concurrent.ThreadPoolExecutor@19b02d…
Read more >
task supervisor timed out异常的问题- liness0713 - 博客园
TimedSupervisorTask - task supervisor timed out java.util.concurrent.TimeoutException: null at java.util.concurrent.
Read more >
Eureka的TimedSupervisorTask类(自动调节间隔的周期性任务)
isShutdown()) { logger.warn("task supervisor shutting down, reject the task", e); } else { logger.error("task supervisor rejected the task", ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found