java.util.concurrent.RejectedExecutionException

Got Interrupted while adding to the Queue

Solutions on the web39

  • Got Interrupted while adding to the Queue
  • Got Interrupted while adding to the Queue
  • via Java.net JIRA by guillaume.d, 1 year ago
    The thread pool's task queue is full, limit: 4096
  • Stack trace

    • java.util.concurrent.RejectedExecutionException: Got Interrupted while adding to the Queue at io.druid.concurrent.Execs$1.rejectedExecution(Execs.java:123)[druid-common-0.9.1.jar:0.9.1] at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:823)[?:1.8.0_91] at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1369)[?:1.8.0_91] at com.google.common.util.concurrent.MoreExecutors$ListeningDecorator.execute(MoreExecutors.java:484)[guava-16.0.1.jar:?] at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:112)[?:1.8.0_91] at com.google.common.util.concurrent.AbstractListeningExecutorService.submit(AbstractListeningExecutorService.java:50)[guava-16.0.1.jar:?] at io.druid.segment.realtime.appenderator.AppenderatorImpl.mergeBarrier(AppenderatorImpl.java:652)[druid-server-0.9.1.jar:0.9.1] at io.druid.segment.realtime.appenderator.AppenderatorImpl.abandonSegment(AppenderatorImpl.java:1021)[druid-server-0.9.1.jar:0.9.1] at io.druid.segment.realtime.appenderator.AppenderatorImpl.close(AppenderatorImpl.java:758)[druid-server-0.9.1.jar:0.9.1] at io.druid.indexing.kafka.KafkaIndexTask.run(KafkaIndexTask.java:526)[?:?] at io.druid.indexing.overlord.ThreadPoolTaskRunner$ThreadPoolTaskRunnerCallable.call(ThreadPoolTaskRunner.java:436)[druid-indexing-service-0.9.1.jar:0.9.1] at io.druid.indexing.overlord.ThreadPoolTaskRunner$ThreadPoolTaskRunnerCallable.call(ThreadPoolTaskRunner.java:408)[druid-indexing-service-0.9.1.jar:0.9.1] at java.util.concurrent.FutureTask.run(FutureTask.java:266)[?:1.8.0_91] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[?:1.8.0_91] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[?:1.8.0_91] at java.lang.Thread.run(Thread.java:745)[?:1.8.0_91] Caused by: java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: Java heap space at java.util.concurrent.FutureTask.report(FutureTask.java:122)[?:1.8.0_91] at java.util.concurrent.FutureTask.get(FutureTask.java:192)[?:1.8.0_91] at io.druid.segment.realtime.appenderator.FiniteAppenderatorDriver.persist(FiniteAppenderatorDriver.java:226)[druid-server-0.9.1.jar:0.9.1] ... 7 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago
    Unknown user
    2 times, 2 years ago
    Unknown user
    Once, 6 months ago
    6 times, 10 months ago
    Unknown user
    Once, 10 months ago
    66 more bugmates